Structure of HTML documents 

Contents

  1. Global structure
    1. HTML version information
    2. The HTML element
    3. The HEAD element
      1. Titles: the TITLE element and the title attribute
      2. Meta information
    4. The BODY element
      1. Element identifiers: the id and class attributes
      2. Grouping elements: the DIV and SPAN elements
      3. Headings: The H1, H2, H3, H4, H5, H6 elements
      4. The ADDRESS element
  2. Language information and text direction
    1. Specifying the language of content: the lang attribute
      1. Inheritance of language codes
      2. Interpretation of language codes
    2. Specifying the direction of text: the dir attribute
      1. Introduction to the bidirectional algorithm
      2. Inheritance of text direction information
      3. Setting the direction of embedded text
      4. Overriding the bidrectional algorithm: the BDO element
      5. Support for character directionality and joining
      6. The effect of style sheets on bidirectionality
      7. Undisplayable characters
  3. Text
    1. White space
    2. Structured text
      1. Phrasal elements: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, and ACRONYM
      2. Quotations: The BLOCKQUOTE and Q elements
      3. Subscripts and superscripts: the SUB and SUP elements
    3. Lines and Paragraphs
      1. Paragraphs: the P element
      2. Visual rendering of paragraphs
      3. Controlling line breaks
      4. Hyphenation
      5. Preformatted text: The PRE element
    4. Marking document changes: The INS and DEL elements
      1. Date and time format
  4. Lists
    1. Unordered (UL) and ordered (OL) lists
      1. Lists formatted by visual user agents
    2. Definition lists: the DL, DT, and DD elements
    3. The DIR and MENU elements
  5. Tables
    1. Table structure
      1. The TABLE element
      2. Table Captions: The CAPTION element
      3. Groups of rows: the THEAD, TFOOT, and TBODY elements
      4. Groups of columns: the COLGROUP and COL elements
      5. Table rows: The TR element
      6. Table cells: The TH and TD elements
    2. Table formatting by visual user agents
      1. Horizontal and vertical alignment
      2. Borders and rules
      3. Cell margins
    3. Some sample tables
      1. Sample 1
      2. Sample 2
  6. Links
    1. Path information: the BASE element
    2. Links and anchors
      1. Definitions of links and anchors
      2. The A element
      3. Anchors with the id attribute
      4. The LINK element
      5. Link types
      6. Links and external style sheets
      7. Links and search engines
  7. Inclusions
    1. Including an object: the OBJECT element
      1. Object initialization: the PARAM element
      2. Object declarations and instantiations
      3. Object alignment
    2. Including an image: the IMG element
      1. Image alignment
    3. Including an applet: the APPLET element
    4. Including HTML in another HTML document
    5. Including an image map in an HTML document
      1. Client-side image maps
      2. Client-side image maps with MAP and AREA
      3. Server-side image maps
    6. Visual presentation of images, objects, and applets
    7. How to specify alternate text