home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / the_web / documents / spec / html_spec / elements_sgm < prev    next >
Encoding:
Text File  |  1995-06-15  |  1.0 KB  |  56 lines

  1. <h1>Document Structure
  2.  
  3. An HTML document is a tree of elements, including a head and body,
  4. headings, paragraphs, lists, etc. Form elements are discussed in
  5. <hdref refid=forms>.
  6.  
  7. <h2>Document Element: HTML
  8.  
  9. The HTML document element consists of a head and a body, much
  10. like a memo or a mail message. The head contains the
  11. title and optional elements. The body is a text flow
  12. consisting of paragraphs, lists, and other elements.
  13.  
  14. <h2>Head: HEAD
  15.  
  16. <p>The head of an HTML document is an unordered collection of
  17. information about the document. For example:
  18.  
  19. <listing><![CDATA[
  20. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  21. <HEAD>
  22. <TITLE>Introduction to HTML</TITLE>
  23. </HEAD>
  24. ...
  25. ]]></listing>
  26.  
  27. &head-elts;
  28.  
  29. <h2>Body: BODY
  30.  
  31. <p>The <tag/BODY/ element contains the text flow of the document,
  32. including headings, paragraphs, lists, etc.
  33.  
  34. For example:
  35.  
  36. <listing><![CDATA[
  37. <BODY>
  38. <h1>Important Stuff</h1>
  39. <p>Explanation about important stuff...
  40. </BODY>
  41. ]]></listing>
  42.  
  43. &headings;
  44.  
  45. &blocks;
  46.  
  47. &lists;
  48.  
  49. &phrase;
  50.  
  51. &doc-charset;
  52.  
  53. &hyperlink;
  54.  
  55. &forms;
  56.