HTML Tags Chart
HTML Tags Chart
To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.
Browser
Tag Name Code Example
View
<!--This can be viewed in the HTML Nothing will
<!-- comment
show
part of a document-->
<a href="http://www.domain.com/">
<a - anchor Visit Our Site
Visit Our Site</a>
<b> bold <b>Example</b> Example
<big> big (text) <big>Example</big> Example
body of
HTML <body>The content of your HTML Contents of
<body> documen page</body> your web page
t
<br> line The contents of your page<br>The The contents of
your web page
break contents of your page The contents of
your web page
<center>This will center your This will center
<center> center your contents
contents</center>
<dl>
<dt>Definition Term</dt>
Definition Term
definitio <dd>Definition of the term</dd> Definition
n <dt>Definition Term</dt> of the term
<dd> descript Definition Term
<dd>Definition of the term</dd>
ion Definition
</dl> of the term
value="" size="10"><br>
<center><input
type="submit"></center>
</form>
<h1> heading 1 <h1>Heading 1 Example</h1>
heading 2
<h2> heading 3 <h2>Heading 2 Example</h2>
<h3> heading 4 <h3>Heading 3 Example</h3>
heading 5
<h4> heading 6 <h4>Heading 4 Example</h4>
<h5> <h5>Heading 5 Example</h5>
<h6> <h6>Heading 6 Example</h6>
heading
of
HTML
<head>Contains elements Nothing
<head> documen
t describing the document</head> will show
maxlength="30">
<input type="Submit" value="Submit">
</form>
<input> input Example 2: Example 2:
<form method=post action="/cgi-
bin/example.cgi">
<input type="text" style="color: #ffffff; font-
(Internet
Explorer) field family: Verdana; font-weight: bold; font-size: Submit
<menu> item 1
<li type="disc">List item 1</li>
<li type="circle">List item 2</li> o List
<li type="square">List item 3</li> item 2
</MENU> List
item 3
Example 2:
Example 2:
<ol type="i"> i. List
<li>List item 1</li> item 1
<li>List item 2</li> ii. List
<li>List item 3</li> item 2
<li>List item 4</li> iii. List
</ol> item 3
iv. List
item 4
<marquee bgcolor="#cccccc"
<marqu
scrolli loop="-1" scrollamount="2"
ee>
(Internet ng text width="100%">Example
Explorer)
Marquee</marquee>
<menu> menu <menu> List
<li type="disc">List item 1</li>
item 1
<li type="circle">List item 2</li>
<li type="square">List item 3</li> o List
</menu> item 2
List
item 3
<meta name="Description"
content="Description of your site">
Nothing
<meta> meta <meta name="keywords"
will show
content="keywords describing your
site">
<meta HTTP-EQUIV="Refresh"
Nothing
<meta> meta CONTENT="4;URL=http://www.y
will show
ourdomain.com/">
<meta> meta <meta http-equiv="Pragma" Nothing
content="no-cache"> will show
<meta name="rating" Nothing
<meta> meta
content="General"> will show
<meta name="robots" Nothing
<meta> meta
content="all"> will show
<ol> ordere Numbered
Numbered
d list 1. List item 1
2. List item 2
<ol> 3. List item 3
<li>List item 1</li> 4. List item 4
<li>List item 2</li> Numbered Special Start
<li>List item 3</li>
5. List item 1
<li>List item 4</li> 6. List item 2
</ol> 7. List item 3
8. List item 4
a. List item 1
<ol start="5"> b. List item 2
c. List item 3
<li>List item 1</li>
d. List item 4
<li>List item 2</li>
<li>List item 3</li> Capital Letters
<th>Column 2</th>
<th>Column 3</th>
</tr>
<tr>
<td>Row 2</td>
<td>Row 2</td>
<td>Row 2</td>
</tr>
<tr>
<td>Row 3</td>
<td>Row 3</td>
<td>Row 3</td>
</tr>
<tr>
<td>Row 4</td>
<td>Row 4</td>
<td>Row 4</td>
</tr>
</table>
</div>
</ul>
o List item 4