HTML Tags Chart For Coding
HTML Tags Chart For Coding
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.
Tag
Name
Code Example
Browser View
<!--
comment
<A -
anchor
<B>
bold
<B>Example</B>
Example
<BIG>
big (text)
<BIG>Example</BIG>
Example (Tip)
<BODY>
body of
HTML
document
<BR>
line break
<CENTER>
center
<DD>
<DL>
<DT>Definition Term
definition <DD>Definition of the term
description <DT>Definition Term
<DD>Definition of the term
</DL>
definition
list
<DL>
<DT>Definition Term
<DD>Definition of the term
<DT>Definition Term
<DD>Definition of the term
</DL>
Definition Term
Definition of the term
Definition Term
Definition of the term
<DT>
definition
term
<DL>
<DT>Definition Term
<DD>Definition of the term
<DT>Definition Term
<DD>Definition of the term
</DL>
Definition Term
Definition of the term
Definition Term
Definition of the term
<EM>
emphasis
<EMBED>
embed
object
(Tip)
embed
object
<DL>
<EMBED>
font
Example (Tip)
<FONT>
font
Example (Tip)
<FONT>
font
Example (Tip)
form
<FORM action="mailto:[email protected]">
Name: <INPUT name="Name" value=""
size="10"><BR>
Email: <INPUT name="Email" value=""
size="10"><BR>
<CENTER><INPUT type="submit"></CENTER>
</FORM>
<FORM>
<H1>
heading 1
<H1>Heading 1 Example</H1>
<H2>
heading 2
<H2>Heading 2 Example</H2>
<H3>
heading 3
<H3>Heading 3 Example</H3>
<H4>
heading 4
<H4>Heading 4 Example</H4>
<H5>
heading 5
<H5>Heading 5 Example</H5>
<H6>
heading 6
<H6>Heading 6 Example</H6>
<HEAD>
heading of
<HEAD>Contains elements describing the
HTML
document</HEAD>
document
<HR>
horizontal
rule
<HR>
Name:
(Tip)
Email:
Submit Query
Heading 1
Example
Heading 2 Example
Heading 3 Example
Heading 4 Example
Heading 5 Example
Heading 6 Example
horizontal
rule
horizontal
rule
<HR>
(Internet
Explorer)
horizontal
rule
<HR>
(Internet
Explorer)
horizontal
rule
<HTML>
hypertext
markup
language
<HTML><HEAD><META><TITLE>Title of your
web page</TITLE></HEAD><BODY>HTML web
page contents</BODY></HTML>
<I>
italic
<I>Example</I>
Example
<IMG>
image
<HR>
<HR>
(Tip)
Example 1:
<INPUT>
input field
Example 1: (Tip)
Submit
Example 2:
<INPUT>
(Internet
Explorer)
input field
<INPUT>
input field
<INPUT>
input field
Example 3: (Tip)
<FORM METHOD=post ACTION="/cgibin/example.cgi">
<TABLE BORDER="0" CELLSPACING="0"
CELLPADDING="2"><TR><TD
BGCOLOR="#8463FF"><INPUT type="text"
size="10" MAXLENGTH="30"></TD><TD
BGCOLOR="#8463FF" VALIGN="Middle"> <INPUT
type="image" name="submit"
src="yourimage.gif"></TD></TR> </TABLE>
</FORM>
Example 4:
Example 4: (Tip)
Submit
Clear
Example 5:
<INPUT>
input field
Example 5: (Tip)
Select an option:
Submit
Example 6:
<INPUT>
<LI>
input field
list item
Example 6: (Tip)
Select an option:
Option 1
Option 2
Option 3
Select an option:
Selection 1
Selection 2
Selection 3
Submit
Example 1: (Tip)
List item 1
o
List item 2
List item 3
Example 2:
<OL type="i">
<LI>List item 1
<LI>List item 2
<LI>List item 3
<LI>List item 4
</OL>
<LINK>
link
<MARQUEE>
scrolling
(Internet
text
Explorer)
Example 2:
i.
ii.
iii.
List item 1
List item 2
List item 3
iv.
List item 4
(Tip)
<MENU>
menu
<MENU>
<LI type="disc">List item 1
<LI type="circle">List item 2
<LI type="square">List item 3
</MENU>
List item 1
List item 2
List item 3
<META>
meta
<META>
meta
<META HTTP-EQUIV="Refresh"
Nothing will show (Tip)
CONTENT="4;URL=http://www.yourdomain.com/">
<META>
meta
<META>
meta
<META>
meta
<META>
meta
<META NAME="ROBOTS"
content="NOINDEX,FOLLOW">
<OL>
Numbered
1. List item 1
2. List item 2
3. List item 3
4. List item 4
Numbered Special Start
5.
6.
7.
8.
List item 1
List item 2
List item 3
List item 4
<LI>List item 3
<LI>List item 4
</OL>
Lowercase Letters
a.
b.
c.
d.
Lowercase Letters
<OL type="a">
<LI>List item 1
<LI>List item 2
<LI>List item 3
<LI>List item 4
</OL>
Capital Letters
A.
B.
C.
D.
Capital Letters
<OL type="A">
<LI>List item 1
<LI>List item 2
<LI>List item 3
<LI>List item 4
</OL>
List item 1
List item 2
List item 3
List item 4
List item 1
List item 2
List item 3
List item 4
List item 1
List item 2
List item 3
List item 4
i.
ii.
iii.
iv.
List item 1
List item 2
List item 3
List item 4
List item 1
List item 2
List item 3
List item 4
List item 1
List item 2
List item 3
X.
List item 4
<LI>List item 3
<LI>List item 4
</OL>
<OPTION>
listbox
option
<P>
Example 1:<BR>
<BR>
<P align="left">
This is an example<BR>
displaying the use<BR>
of the paragraph tag.<BR>
<BR>
paragraph
Example 2:<BR>
<BR>
<P align="right">
This is an example<BR>
displaying the use<BR>
of the paragraph tag.<BR>
<BR>
Example 3:<BR>
<BR>
<P align="center">
This is an example<BR>
displaying the use<BR>
of the paragraph tag.
<SMALL>
Example
<STRONG>
strong
emphasis
<STRONG>Example</STRONG>
Example
Example 1:
Example 1: (Tip)
<TABLE>
table
(Tip)
Column 1
Column 2
<TD>Column 1</TD>
<TD>Column 2</TD>
</TR>
</TABLE>
Example 2: (Internet Explorer)
<TABLE BORDER="2"
BORDERCOLOR="#336699" CELLPADDING="2"
CELLSPACING="2" WIDTH="100%">
<TR>
<TD>Column 1</TD>
<TD>Column 2</TD>
</TR>
</TABLE>
<TD>
table data
<TH>
table
header
Example 2: (Tip)
Column 1
Column 2
Example 3:
Example 3: (Tip)
Column 1
Row 2
Column 2
Row 2
Column 1
Column 2
Column
1
Row 2
Row 3
Row 4
Column
2
Row 2
Row 3
Row 4
Column
3
Row 2
Row 3
Row 4
<TD>Row 4</TD>
<TD>Row 4</TD>
</TR>
</TABLE>
</DIV>
document
title
<TR>
table row
Column 1
<TT>
teletype
<TT>Example</TT>
Example
<U>
underline
<U>Example</U>
Example
<UL>
Example 1:<BR>
<BR>
<UL>
<LI>List item 1
<LI>List item 2
</UL>
<BR>
unordered Example 2:<BR>
list
<UL type="disc">
<LI>List item 1
<LI>List item 2
<UL type="circle">
<LI>List item 3
<LI>List item 4
</UL>
</UL>
<TITLE>
Column 2
Example 1:
List item 1
List item 2
Example 2:
List item 1
List item 2
o List item 3
o
List item 4