HTML Practical Tag List
HTML Practical Tag List
Name Opening tag Closing tag Some Attributes Associated with tag
Outline of document
HTML Document <HTML> </HTML>
Head <HEAD> </HEAD>
Title <TITLE> </TITLE>
Body <BODY> </BODY> BGCOLOR, TEXT
Document Structure
Heading <H1> </H1>
Paragraph <P> </P>
Break <BR /> Self Closing
Horizontal Rule <HR /> Self Closing
Text Formatting and Font Attributes
Comments <!-- -->
Bold <B> </B>
Italics <I> </I>
Font <FONT > </FONT> COLOR
Link
Link <A> </A> HREF
Image
Image <IMG /> Self Closing SRC, ALIGN, HEIGHT, WIDTH, ALT,
BORDER
Lists
Ordered List <OL> </OL> TYPE
Unordered List <UL> </UL>
List Item <LI> <LI>
Tables
Table <TABLE> </TABLE> BORDER, WIDTH, BGCOLOR
Table Row <TR> </TR> HEIGHT
Table Data/Cell <TD> </TD> BORDER, WIDTH, ALIGN, VALIGN,
COLSPAN, ROWSPAN
Table Heading <TH> </TH> BORDER, WIDTH, ALIGN, VALIGN,
COLSPAN, ROWSPAN
Table Caption <CAPTION> </CAPTION> AIGN
Centre <CENTER> </CENTER>