HTML / XHTML Structural Tags

ALL tags are enclosed in Left< and Right> Brackets with the closing </> tag
HTML Tags are NOT case sensitive now but use lowercase anyway
Saved as a text file with the extension .html

HTML Tags

Descriptions

<!DOCTYPE HTML PUBLIC
<HTML>  </HTML> Indicates the beginning and ending of an HTML document
<Head> </Head> Holds information,Title, Meta Tags, StyleSheet page, not displayed
<Title> </Title> Displays information on the browser's Title Bar
<Body> </Body> Displays text, images, and animation on the page
<!--comment text -->
/* scripting comments */
Information not displayed on the page
Comment for scripting language

Structural XHTML Tags

<H#>  </H#> Headings Displays 6 different sizes bold and centered
<P>  </P> Paragraph -Displays blocks of text; Attributes:Align
<Blockquote> </Blockquote> Blockquote - Displays text indented
<UL>  </UL>
<LI>  </LI>
Unordered List
List Items
<OL>  </OL>
<LI>   </LI>
Ordered List
List Items
<DL> </DL >
<DT>  <DT >
<DD< </DD>
Definition List
Defintion Term
Definition Description
Character FormattingBold, em, b, strong
<Font>   </font>font Attributes - Face, Size and ColorDeprecated for CSS
<a> </a> Anchors Creates a hyperLink - Attributes: href, title, target, name

Single Elements

XHTML requires all single tags to be closed. <hr  /> <br  /> <img  /> <meta  />
<br /> Line Break New blank line - (Enter Key) <br clear="all"> New line at the left margin
<hr /> Horizontal Rule Displays a plain line with Attributes: Align, Width, Size, Noshade
<meta /> Meta Elements Add descriptive information about the web site which is used by search engines. <meta name="author"> Author of the web site.
<img /> Inserts an image in the web document. Attributes: Src, Alt, Width, Height, Align, Name, Vspace, Hspace, Border

Web Design with XHTML Part II
Doris Cuffey, Instructor