Appendix B. HTML 4.01 Quick Reference

This appendix provides a quick reference to the elements and attributes of the HTML 4.01 language, as specified by the World Wide Web Consortium. It's based on the information provided in the HTML 4.01 Specification, W3C Recommendation 24 December 1999 (most current version at press time). The latest version of this document can be found at

To make the information readily accessible, this appendix organizes HTML elements by their function in the following order:

  • Common Attributes and Events

    id, class, style, title, lang, dir, onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeyup, onkeydown

  • Structure

    bdo, body, Comments, div, !DOCTYPE, H1...h6, head, HR, html, meta, span, title

  • Text Phrases and Paragraphs

    acronym, address, blockquote, br, cite, code, del, dfn, em, ins, kbd, p, pre, q, samp, strong, sub, sup, var

  • Text Formatting Elements

    b, basefont, big, font, i, s, small, strike, tt, u

  • Lists

    dd, dir, dl, dt, li, menu, ol, ul

  • Links

    a, base, link

  • Tables

    caption, col, colgroup, table, tbody, td, tfoot, th, thead, tr

  • Frames

    frame, frameset, iframe, noframes

  • Embedded Content

    applet, area, img, map, object, param

  • Style


  • Forms

    button, fieldset, form, input, isindex, label, legend, option, select, textarea

  • Scripts

    script, noscript


Table B.1, located at the end of the appendix, contains a list of character entities.

Within each section, the elements are listed alphabetically and the following information is presented where applicable:

  • Usage A general description of the element.

  • Start/End Tag Indicates whether these tags are required, optional, or illegal. Differences between HTML and XHTML are noted.

  • Attributes Lists the attributes of the element with a short description of its effect.

  • Deprecated Lists deprecated attributes; that is, attributes that are still supported in HTML 4.01 and in most browsers, but that are in the process of being phased out in favor of newer techniques, such as style sheets.

  • Empty Indicates whether the element can be empty.

  • Notes Relates any special considerations when using the element and indicates whether the element is new, deprecated, or obsolete.

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day
Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day (5th Edition)
ISBN: 0672328860
EAN: 2147483647
Year: 2007
Pages: 305

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: