HTML 4 Tag Explanation-{List of cheat sheets}

HTML 4  Tag Explanation: HTML code is used in the HTML document that represents different types of images, text, formation, base, and so on. Below you can see those document outline tags, tags for formation, tags for tables, images. Let’s see more in detail about the Tags of HTML.


HTML 4 Tag Explanation  for Document outline

CODE Description
<!DOCTYPE> It is a version of (x) HTML
<html> This tag can be seen at the beginning and the end of the HTML document
<head> This tag is for the title of the document
<body> Images and texts should be inside this tag in the HTML document
<!– comment text–> This tag is for comments

HTML4  tags explanation for Pages

Tags Description
<base> This tag is for base URL
<meta> It is for metadata
<title> This tag is for the title
<link> Relevant source goes inside this tag
<style> This tag is for a Certain style resource
<script> This tag is for script resource

HTML tag for explanation Document structure

Tags Description
<h1> to <h6> Tag represents Headings
<div> This tag indicates the page section
<span> This tag is for inline section
<p> Tag indicates paragraph
<br> Tag represents line break
<hr> This code is for horizontal rule

HTML 4 Tags for Links

Codes Description
<a href=””> This tag in HTML document is for page link
<a href=”mailto:”> Tag  is for email link
<a name=”name”> This one is for anchor
<a href=”#name”> This tag is for link to anchor

HTML4 Tags for texts

Tags Description
<strong> This tag is for a strong emphasis
<em> This is for an emphasis
<blockquote> Tag  for a long quotation
<q> This one is for short quotation
<abbr> Tag is for abbreviation
<acronym> This tag is for acronym
<address> This one is for address
<pre> For a pre-formatted text
<dfn> This one is for Definition
<code> This tag is for code in HTML
<cite> Tag for citation
<del> For a deleted text
<ins> For an inserted text
<sub> This tag represents subscript
<sup> Represents superscript
<bdo> This tag represents Text direction

HTML4 Tags for forms

Codes Description
<for> The tag represents a form
<fieldset> This tag represents the collection of fields
<legend> Tag to form legend
<label> This tag is for input label
<input> Also, this tag is for form input
<select> This one is for the Dropdown box
<optgroup> Tag is for a group of options
<option> This tag represents drop down options
<textarea> For a large text input
<button> To represent a Button

HTML 4 Tags for Table formation

Tags Description
<table> This tag represents the table
<caption> To represent a caption
<head> This tag represents the table header
<body> For table body
<tfoot> This tag is for the table footer
<colgroup> To represent column group
<col> code for column
<tr> This code is for Table row
<th> This tag Represents Header cell
<td> Tag  is for table cell

Tags for Images

codes Description
<imp> Tag represents Image
<map> This tag is for image map
<area> This tag represents area of image map

Tags for Objects

Codes Description
<object> For Object
<param> This one represents parameter

Tags for Core attributes

Core attributes do not practice in the base, head, HTML, meta, param, script, style, or title elements.

Codes Description
class This one represents the style
id Hither core attributes represent the title

Tags for language attributes

Codes Description
dir lang

Language attributes cannot be used in Base, br, frame, frameset, hr, iframe, param, or script elements.

Leave a Comment