|
|
|
|
HTML Pocket Reference, 2nd EditionBy Jennifer NiederstSecond Edition January 2002 ISBN 0-596-00296-3 104 pages |
Excerpt
Structural TagsTag Groups
The following lists group HTML tags by similar function. See the "Alphabetical Tag List" section for complete descriptions of each tag.
Structural Tags
The following tags are used primarily to give the document structure.
<!DOCTYPE><base><body><head><html><link><meta><title>Text Tags: Block-Level Elements
Block-level elements are always formatted with a line-break before and after, with most adding some amount of additional space above and below as well.
<address><blockquote><dd><div><dl><dt><h1>through<h6><li><ol><p><ul>Text Tags: Inline Styles
The following tags affect the appearance of text. "Inline" means they can be applied to a string of characters within a block element without introducing line breaks.
<b><big><cite><code><em><font>(deprecated)<i><kbd><pre><s>(deprecated)<samp><small><span><strike>(deprecated)<strong><sub><sup><tt><u>(deprecated)<var>Text Tags: Logical Styles
Logical or content-based styles describe the enclosed text's meaning, context, or usage and leave rendering of the tag to the browser.
<abbr><acronym><cite><code><del><div><em><ins><kbd><q><samp><span><strong><var>Text Tags: Physical Styles
Physical styles provide specific display instructions.
<b><big><blink>(Navigator only)<font>(deprecated)<i><s>(deprecated)<small><strike>(deprecated)<sub><sup><tt><u>(deprecated)List Tags
<dir>(deprecated)<dl><dd><dt><li><menu>(deprecated)<ol><ul>Spacing and Positioning Tags
The following tags give authors control over the line breaks, alignment, and spacing within an HTML document.
<br><center>(deprecated)<nobr>(nonstandard)<pre><spacer><table> (<th>, <tr>, <td>)<wbr>(nonstandard)Linking Tags
The following tags are used to create links from one document to another.
<a><link>(most commonly used for style sheets)<map>(used in client-side imagemaps)<area>(used in client-side imagemaps)Table Tags
The following tags are used in the creation and formatting of tables.
<caption><table><tr><td><th>The following table structure tags are supported by HTML 4.01, Internet Explorer 4.0+, and Netscape 6.
<col><colgroup><tbody><thead><tfoot>Frame Tags
Frames are created using the following tags.
<frame><frameset><noframes>Form Tags
The following tags are used to define forms and their elements.
<button><form><input>
(type=button|checkbox|file|hidden|image|
password|radio|reset|submit|text)
<option><select><textarea>The following form tags are supported by HTML 4.01, Internet Explorer 4.0+, and Netscape 6.
<fieldset><label><legend>Multimedia Tags
The following tags are used to add multimedia elements to web pages.
<applet>(deprecated)<bgsound>(Internet Explorer only)<embed>(dropped from HTML 4)<object><param>Script Tags
The following tags are used to add scripts to HTML documents.
<script><noscript>Deprecated Tags
The following tags have been deprecated in the HTML 4.01 specification, usually in favor of style sheet controls.
<applet><basefont><center><dir><font><isindex><menu><s><strike><u>Navigator-only Tags
The following tags are supported only by Navigator.
<blink><ilayer><keygen><layer><multicol><server><spacer>Internet Explorer-only Tags
The following tags are supported only by Internet Explorer.
<bgsound><comment><marquee><ruby><rt>
Back to: HTML Pocket Reference, 2nd Edition
© 2001, O'Reilly & Associates, Inc.
webmaster@oreilly.de