home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / htmlks10.zip / wilbur.inf (.txt) < prev   
OS/2 Help File  |  1997-01-13  |  133KB  |  3,079 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction to HTML 3.2 ΓòÉΓòÉΓòÉ
  3.  
  4. Until recently, the latest "official" HTML version was HTML 2.0, as specified 
  5. in RFC 1866.  It served its purpose very well, but many HTML authors wanted 
  6. more control over their document and more ways to mark up their text and 
  7. enhance the appearance of their sites. 
  8. HTML 3.0 
  9.  
  10. Netscape, being the leading browser at that time, introduced new tags and 
  11. attributes with every new version. Other browsers tried to duplicate them, but 
  12. as Netscape never fully specified their new tags, this didn't always work as 
  13. expected.  It led to great confusion and problems when authors used these 
  14. elements and then saw they didn't work as expected in another browser. 
  15.  
  16. At about the same time, the IETF's HTML working group lead by Dave Raggett 
  17. introduced the HTML 3.0 draft, which included many new and very useful 
  18. enhancements to HTML.  Most browsers only implemented a small subset of the 
  19. elements from this draft.  The phrase "HTML 3.0 enhanced" quickly became 
  20. popular on the Web, even though it more often than not referred to documents 
  21. containing browser-specific tags, rather than documents adhering to the HTML 
  22. 3.0 draft.  This was one of the reasons why the draft was abandoned. 
  23.  
  24. As more and more browser-specific tags were introduced, it became obvious a new 
  25. standard was needed. For this reason, the W3C drafted the Wilbur standard, 
  26. which later became known as HTML 3.2. As the W3C puts it: 
  27.  
  28.      HTML 3.2 aims to capture recommended practice as of early '96 and as such 
  29.      to be used as a replacement for HTML 2.0 (RFC 1866). Widely deployed 
  30.      rendering attributes are included where they have been shown to be 
  31.      interoperable. SCRIPT and STYLE are included to smooth the introduction of 
  32.      client-side scripts and style sheets. Browsers must avoid showing the 
  33.      contents of these element. Otherwise support for them is not required. 
  34.  
  35.  Most of the extensions to HTML, as introduced by the various browser 
  36.  developers, were not specified as thoroughly as the HTML 2.0 specs do for the 
  37.  standard elements. This meant that the W3C had to "reverse engineer" the 
  38.  correct functionality for the extensions which were chosen for HTML 3.2. Since 
  39.  HTML 3.2 is defined in terms of SGML, some elements had to be defined slightly 
  40.  differently to make them legal. 
  41.  The future of HTML: Cougar 
  42.  
  43.  HTML 3.2 is an attempt to write down what current browsers support or should 
  44.  support. This will hopefully ensure that a document which is written for 
  45.  Wilbur will be rendered in an acceptable way by all current browsers. 
  46.  
  47.  The next version of HTML, which is code-named Cougar, will introduce new 
  48.  functionality, most of which comes from the now-expired HTML 3.0 draft. Some 
  49.  of the elements from Wilbur already hint at what can be expected. For example, 
  50.  the SCRIPT and STYLE elements will be used in the future to allow inclusion of 
  51.  inline scripts and style sheets, although currently a browser does not have to 
  52.  support them. It only has to hide the contents of the tags. 
  53.  
  54.  As it's still very early, not many details about Cougar are available yet. 
  55.  Cougar will introduce full style sheet support.  This will allow authors to 
  56.  assign a style to a document easily, while keeping the HTML for its intended 
  57.  purpose: marking up the content of the document. It will also have better 
  58.  support for international documents. 
  59.  
  60.  
  61.  Note 
  62.  
  63.  One of the reasons that HTML 3.0 didn't make it, was that it was so big. 
  64.  Because of this, future versions of HTML will be introduced in a modular way, 
  65.  so browsers can easily implement them bit by bit. An example of this approach 
  66.  is RFC 1942, which describes a very extensive implementation of HTML TABLEs. 
  67.  
  68.  
  69. ΓòÉΓòÉΓòÉ 1.1. The principles of the language ΓòÉΓòÉΓòÉ
  70.  
  71. An HTML document consists of text, marked up with elements. An element consists 
  72. of a start tag with optionally a closing tag. If there is no closing tag, the 
  73. element is said to be empty. If there is a closing tag, the element is used to 
  74. mark up its contents in a particular way. Note that in some cases, the closing 
  75. tag may be omitted as it can be clear from the context where it ends. 
  76.  
  77. Elements can have certain attributes, which provide extra information about the 
  78. enclosed text. These attributes are used on the opening tags, and may not be 
  79. repeated or added to the closing tag. An attribute consists of a name and (most 
  80. of the times) a value. This value may always be enclosed in quotes ("), but 
  81. must be enclosed in quotes if the value contains more than just letters, 
  82. digits, hyphens and/or periods. 
  83.  
  84. For example, <A HREF="foo/bar.html">foozlebib</A> is the HTML markup to turn 
  85. the text "foozlebib" into a hyperlink to document "foo/bar.html". The element 
  86. used here is A, with the attribute HREF. The value for HREF is quoted, as it 
  87. contains the character "/". 
  88.  
  89. <H1 ALIGN=CENTER>Welcome!</H1> marks up the text "Welcome!" as a level one 
  90. header. The attribute ALIGN here indicates the alignment of this header, in 
  91. this case centered. As the value consists only of letters, the quotes may be 
  92. omitted. 
  93.  
  94. Tags and attribute names are not case sensitive; attribute values are (except 
  95. when they are given in a list of possible values). 
  96.  
  97.  
  98. ΓòÉΓòÉΓòÉ 1.2. The structure of an HTML 3.2 document ΓòÉΓòÉΓòÉ
  99.  
  100. An HTML document that adheres to HTML 3.2 begins with a so-called DOCTYPE 
  101. declaration. This is necessary for HTML validators to check the elements you 
  102. used against the ones in the HTML version you use. The DOCTYPE declaration for 
  103. HTML 3.2 looks like this: 
  104.  
  105. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  106.  
  107. Next comes the HTML opening tag. This top-level element contains the head and 
  108. the body of the document. The head of a document provides information about the 
  109. document, and the body contains the actual marked up text. 
  110.  
  111. Every HTML 3.2 compliant document looks basically as follows: 
  112.  
  113. (Note: the line numbers are only here for the explanation below) 
  114.  
  115.  1.  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  116.  2.  <HTML>
  117.  3.  <HEAD>
  118.  4.  <TITLE>The title of the documents</TITLE>
  119.  5.  <META NAME="description" CONTENT="This is a document">
  120.  6.  <LINK REV="made" HREF="mailto:galactus@htmlhelp.com">
  121.  7.  </HEAD>
  122.  8.  <BODY>
  123.  9.  ... document body
  124. 10.  </BODY>
  125. 11.  </HTML>
  126.  
  127.  1. DOCTYPE 
  128.  
  129. This is a so-called DOCTYPE declaration. It is used by SGML tools to detect 
  130. what kind of document is being processed. If your document adheres to the 
  131. Wilbur standard, the above is what it should look like. 
  132.  
  133. If your document is HTML 2.0 compliant, the DOCTYPE of it is 
  134.  
  135. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  136.  
  137. Some HTML editors like to include an arbitrary DOCTYPE declaration in your 
  138. documents, even when it is not correct. Note that in particular, any doctype 
  139. for HTML 3.0 is not an "official" declaration, since that proposal has been 
  140. expired for a long time now. 
  141.  
  142.  
  143.  2. HTML 
  144.  
  145. This tag goes around the entire document. Basically, it states that the rest is 
  146. all HTML, as opposed to some other language which may use tags within < and > 
  147. brackets. In theory, it can also be used by servers to see that the document 
  148. they want to send is actually HTML and not plain text. However, this is almost 
  149. never done (for performance reasons, usually). 
  150.  
  151.  
  152.  3. HEAD 
  153.  
  154. The head of your document contains information about the document itself. 
  155. Nothing within the HEAD section should be displayed in the document window. The 
  156. head section must include the TITLE of the document.  It can optionally contain 
  157. things like a description, a list of keywords for search engines, and the name 
  158. of the program used to create the HTML document. 
  159.  
  160. The HEAD tag is optional. If you arrange all the information about the document 
  161. at the top of the document, and all body tags below, it is obvious for a parser 
  162. where the header ends and where the body begins. 
  163.  
  164.  
  165.  4. TITLE 
  166.  
  167. The TITLE tag is the only required tag for the head section. It is typically 
  168. displayed in the browser's window title bar, and used in bookmark files and 
  169. search engine result listings. For the last two situations, you should make 
  170. sure the title is descriptive for the document - "Homepage" or "Index" doesn't 
  171. say much in a bookmark file. 
  172.  
  173.  
  174.  5. META 
  175.  
  176. META tags provide "meta information" about the document. For example, it can 
  177. give a description of the document, indicate when the document will have 
  178. expired or what program was used to generate it. There are many possible META 
  179. constructs, so read the section on meta tags for more information. 
  180.  
  181. This particular META tag provides a description of the document, which is used 
  182. by search engines such as Alta Vista and Infoseek in their "search results". 
  183.  
  184.  
  185.  6. LINK 
  186.  
  187. A LINK tag provides information about the document relative to the rest of the 
  188. site. For example, you can have a LINK tag stating where the table of contents 
  189. is, what the next document is or where the style sheet can be found. 
  190.  
  191. This particular LINK tag gives the address of the document's author. Some 
  192. browsers (most notably Lynx) allow you to send a comment to this person with 
  193. one keystroke if this tag is defined. 
  194.  
  195.  
  196.  9. BODY 
  197.  
  198. The BODY of the document contains the actual information. There may be only one 
  199. BODY statement in the document. Some editors incorrectly insert another BODY 
  200. statement for each new attribute you want to add to the body, but this can have 
  201. unexpected side-effects (such as some of the attributes getting ignored 
  202. completely). 
  203.  
  204.  
  205. ΓòÉΓòÉΓòÉ 1.3. Writing structured documents ΓòÉΓòÉΓòÉ
  206.  
  207. Writing a structured document does not mean that you are writing in a 
  208. straitjacket. It only means you have to lay out the document in advance. It 
  209. also means the document becomes easier to read, maintain and extend. While this 
  210. may not seem too important if you just want a homepage, when you have a whole 
  211. site to maintain, well-structured documents make life a lot easier! 
  212.  
  213. It is also important to note that HTML uses the ISO Latin 1 character  set. 
  214. Apart from the entities defined in the Wilbur draft, the characters from this 
  215. list are the only ones you should use. Other characters are not guaranteed to 
  216. show up at all in a browser, let alone show up as the character you're hoping 
  217. for. 
  218.  
  219. Designing a structured contents for your HTML document is an art in itself. I 
  220. won't go into it too deeply here. Initially, use only the six headers to set up 
  221. the structure of the document, adding lists, tables and other block elements 
  222. until the general layout of the document is finished. Then begin filling in the 
  223. blocks, marking up the text with the appropriate text-level elements. Images 
  224. are very important, but as the IMG tag is a text-level tag, it must be 
  225. contained in a block-level tag. 
  226.  
  227. Often a document will be part of a set, so it will use a common style. This 
  228. style should specify a standard structure for documents, including navigation 
  229. aids and standard images. Writing a template is then a very handy thing. The 
  230. WDG's Style guide for online hypertext discusses this in more detail. 
  231.  
  232.  
  233. ΓòÉΓòÉΓòÉ 1.4. The syntax of this reference. ΓòÉΓòÉΓòÉ
  234.  
  235. In this overview of tags, some simple rules are used to explain the syntax of 
  236. these elements and to give a lot of information in as little room as possible. 
  237.  
  238. To illustrate the syntax rules, here's the section on IMG: 
  239.  
  240.  Appearance        <IMG SRC=URL> 
  241.  Attributes.       SRC=URL, ALT=string, ALIGN=left|right|top|middle|bottom, 
  242.                    HEIGHT=n, WIDTH=n, BORDER=n, HSPACE=n, VSPACE=n, USEMAP=URL, 
  243.                    ISMAP 
  244.  Contents          None (Empty). 
  245.  May occur in      DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  246.                    H2, H3, H4, H5, H6, PRE, ADDRESS, TT, I, B, U, STRIKE, EM, 
  247.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  248.                    CAPTION. 
  249.  
  250.  The first section, Appearance, gives a common way to use this tag. As you can 
  251.  see here, the IMG tag does not have an ending tag. If the beginning or ending 
  252.  tag appears inside square brackets, it is optional and may be left off. 
  253.  
  254.  The next section describes the attributes for the IMG tag. If an attribute 
  255.  appears in bold, it is required, otherwise it may be omitted. In the above 
  256.  case, SRC is required, but the other attributes are not. Note that the 
  257.  attributes themselves are listed in all caps, and the possible values (if 
  258.  possible) in lower case. Note that an attribute value must be quoted if it 
  259.  contains more than just letters, digits, hyphens and periods. 
  260.  
  261.  The contents section describes which tags are permitted inside this tag. For 
  262.  IMG, there are none. And last, you can see which tags allow IMG inside them. 
  263.  
  264.  The attributes and their values are noted in a very compact format as well. 
  265.  The "|" character is used to separate mutually exclusive attributes or values. 
  266.  For example, A=foo|bar indicates that attribute "A" may get foo or bar as 
  267.  value, but not both, or anything else. A=string|B=string indicates that you 
  268.  may use either A or B, but not both. 
  269.  
  270.  If an attribute can take more possible values than can be given in a list, the 
  271.  following special symbols are used: 
  272.  
  273.  n. 
  274.       A number. It must be an integer, and not have a "-" or "+" sign 
  275.       prepended. Numbers do not have to be enclosed in quotes. 
  276.  
  277.  p% 
  278.       A percentage. The percentage must also be an integer. Exactly what the 
  279.       percentage applies to depends on the tag. Percentages must be enclosed in 
  280.       quotes. 
  281.  
  282.  URL 
  283.       An URL. This can be an absolute or a relative URL, depending on the 
  284.       situation. In most cases, both are permitted. It is recommended that URLs 
  285.       always be enclosed in quotes. 
  286.  
  287.  string 
  288.       A string of characters. Any character is permitted, including entities. 
  289.       It is recommended that strings are always enclosed in quotes. 
  290.  
  291.  #RRGGBB 
  292.       A color code, in hexadecimal notation. The color is constructed in the 
  293.       red-green-blue format. Each part gets a hexadecimal number between 00 and 
  294.       FF, and it should be given in two digits at all times. Note that a color 
  295.       code must have a # as the first character, and it must be enclosed in 
  296.       quotes. 
  297.  
  298.  
  299. ΓòÉΓòÉΓòÉ 2. Overview of all HTML 3.2 elements ΓòÉΓòÉΓòÉ
  300.  
  301. As explained in the section on structure of Wilbur documents, an HTML document 
  302. consists of two major sections: HEAD and BODY. Each has its own permitted 
  303. elements and requirements. 
  304.  
  305. The elements themselves can also have requirements about where they may occur, 
  306. and which elements may occur inside them. This is only important in the BODY 
  307. section of a document. In here, elements can be grouped in two distinct groups: 
  308. block level and text level elements. The former make up the document's 
  309. structure, and the latter "dress up" the contents of a block. 
  310.  
  311. The HTML comments are a special case. 
  312.  
  313.  
  314. ΓòÉΓòÉΓòÉ 2.1. Basic document elements ΓòÉΓòÉΓòÉ
  315.  
  316. An HTML document that adheres to HTML 3.2 begins with a so-called DOCTYPE 
  317. declaration. This is necessary for <A 
  318. HREF="/links/validators.htm">validators</A> to check the elements you used 
  319. against the ones in the HTML version you use. The DOCTYPE declaration for HTML 
  320. 3.2 looks like this: 
  321.  
  322. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  323.  
  324. Next comes the HTML opening tag. This top-level element contains the head and 
  325. the body of the document. The head of a document provides information about the 
  326. document, and the body contains the actual marked up text. 
  327.  
  328. An outline of an HTML 3.2 document would be as follows: 
  329.  
  330. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  331. <HTML>
  332. <HEAD>
  333. (information about document)
  334. </HEAD>
  335. <BODY>
  336. (document body)
  337. </BODY>
  338. </HTML>
  339.  
  340.  
  341. ΓòÉΓòÉΓòÉ 2.1.1. HTML - HTML Document ΓòÉΓòÉΓòÉ
  342.  
  343.  Appearance:       [<HTML>] [</HTML>] 
  344.  Attributes:       VERSION=string 
  345.  Contents:         HEAD followed by BODY. 
  346.  May occur in:     (Not appliciable). 
  347.  
  348.  The HTML tag is the outermost tag. It is not required and may safely be 
  349.  omitted. It indicates that the text is HTML (the version can be indicated with 
  350.  the optional VERSION attribute), but this information is almost never used by 
  351.  servers or browsers. 
  352.  
  353.  
  354.  Notes 
  355.  
  356.      If used, the HTML tags should go around the entire document, but directly 
  357.       after the DOCTYPE declaration. 
  358.  
  359.  
  360. ΓòÉΓòÉΓòÉ 2.1.2. HEAD - Document head ΓòÉΓòÉΓòÉ
  361.  
  362.  Appearance:       [<HEAD>] [</HEAD>] 
  363.  Attributes:       None. 
  364.  Contents:         TITLE, ISINDEX, BASE, SCRIPT, STYLE, META, LINK. 
  365.  May occur in:     HTML. 
  366.  
  367.  The HEAD part of the document provides information about the document. It 
  368.  should not contain text or normal markup. If a browser encounters such markup, 
  369.  it will assume it has arrived in the BODY section of the document already. 
  370.  
  371.  
  372.  Notes 
  373.  
  374.      You may only omit this tag if you group all the tags which may go in it 
  375.       at the top. 
  376.  
  377.  
  378. ΓòÉΓòÉΓòÉ 2.1.3. BODY - Document body ΓòÉΓòÉΓòÉ
  379.  
  380.  Appearance:       [<BODY>] [</BODY>] 
  381.  Attributes:       BACKGROUND=URL, BGCOLOR=#RRGGBB, TEXT=#RRGGBB, LINK=#RRGGBB, 
  382.                    VLINK=#RRGGBB, ALINK=#RRGGBB 
  383.  Contents:         H1, H2, H3, H4, H5, H6, P, UL, OL, DIR, MENU, PRE, DL, DIV, 
  384.                    CENTER, BLOCKQUOTE, FORM, HR, TABLE, ADDRESS, as well as TT, 
  385.                    I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, 
  386.                    CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, 
  387.                    BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  388.  May occur in:     HTML. 
  389.  
  390.  The BODY tag contains the actual contents of the document. That contents 
  391.  should consist of block elements only. You may put in plain text in the body, 
  392.  this is then assumed to be inside a P container. 
  393.  
  394.  The attributes contain the appearance of the document. The BACKGROUND 
  395.  attribute should point to the location of an image, which is used as the 
  396.  (tiled) background of the document. The other attributes set the colors for 
  397.  the background, text, links, visited links and active (currently being 
  398.  selected) links, using the order above. 
  399.  
  400.  The color is composed by specifying the red, green and blue components of the 
  401.  color in hexadecimal notation, with a # in front. For example, to specify 
  402.  white, the red, green and blue components are 255, 255, 255, so you would use 
  403.  "#FFFFFF". You can also use the following color names, although they are not 
  404.  as widely supported as the codes: 
  405.  
  406.   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
  407.   ΓöéBlack   Γöé#000000  ΓöéGreen   Γöé#008000  ΓöéSilver  Γöé#C0C0C0  ΓöéLime    Γöé#00FF00  Γöé
  408.   Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  409.   ΓöéGray    Γöé#808080  ΓöéOlive   Γöé#808000  ΓöéWhite   Γöé#FFFFFF  ΓöéYellow  Γöé#FFFF00  Γöé
  410.   Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  411.   ΓöéMaroon  Γöé#800000  ΓöéNavy    Γöé#000080  ΓöéRed     Γöé#FF0000  ΓöéBlue    Γöé#0000FF  Γöé
  412.   Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ
  413.   ΓöéPurple  Γöé#800080  ΓöéTeal    Γöé#008080  ΓöéFuchsia Γöé#FF00FF  ΓöéAqua    Γöé#00FFFF  Γöé
  414.   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
  415.  
  416.  The BODY tag is optional; if you put all the HEAD elements first, the browser 
  417.  can immediately see where the actual document body begins. 
  418.  
  419.  
  420.  Notes 
  421.  
  422.      If the background image cannot be displayed, the color specified in 
  423.       BGCOLOR will be used. 
  424.  
  425.      If you set one of the attributes, set them all. Otherwise your specified 
  426.       color may conflict with a user's default. This could result in unreadable 
  427.       text. For example, imagine that you set your TEXT color to light gray, 
  428.       but forget to set the background. Then someone with a light gray 
  429.       background will not see anything at all. 
  430.  
  431.      Do not set unvisited and visited links to the same color, it will confuse 
  432.       your readers. 
  433.  
  434.      The names that you can use instead of the hexadecimal values are not as 
  435.       widely supported as the color codes. 
  436.  
  437.      Netscape 1.1 produced a "fade" effect when more than one BODY tag was 
  438.       used in a document. It would render the BGCOLOR colors in sequence. This 
  439.       bug has been fixed in later versions. Do not expect that using multiple 
  440.       BODY tags will give the intended results. 
  441.  
  442.  
  443. ΓòÉΓòÉΓòÉ 2.1.4. Plain text ΓòÉΓòÉΓòÉ
  444.  
  445. In HTML, plain text is defined as normal text and entities. For the text, you 
  446. can use all characters from the ISO Latin 1 character set. Not all characters 
  447. in this set might be available on your platform, or they could have a special 
  448. meaning in HTML. Also, if you expect that the document will be distributed with 
  449. a method other than HTTP, some characters may get converted or eaten by the 
  450. transport mechanism. For example, using characters above decimal 127 in "ASCII 
  451. mode" FTP is not a good idea. 
  452.  
  453. In such cases, use entities. An entity is constructed as follows: the "&" 
  454. character, followed either by the entity's name or "#nnn", with nnn a decimal 
  455. number indicating the ISO-8859-1 character you want, and finally a ";" 
  456. character. 
  457.  
  458. In most cases, you should use the reserved name if possible. There are also 
  459. some reserved characters which do not exist in the character set used, but 
  460. which are defined for HTML. 
  461.  
  462. The most commonly escaped characters are "&", "<" and ">", since these three 
  463. have a special meaning in HTML. 
  464.  
  465.  
  466. Notes 
  467.  
  468.      You can leave off the semicolon at the end of an entity if it is followed 
  469.       by a space or similar character. In these cases it is clear where the 
  470.       entity ends. But if it is followed by text, always use the semicolon. 
  471.  
  472.      Characters which do not appear in the ISO Latin 1 character set should 
  473.       not be used in an HTML document. The same goes for numeric values which 
  474.       show up blank in this set. They are undefined (apart from character 32, 
  475.       which is the space character, and character 160, which is the 
  476.       non-breaking space). 
  477.  
  478.  
  479. ΓòÉΓòÉΓòÉ 2.1.5. HTML comments ΓòÉΓòÉΓòÉ
  480.  
  481. Since HTML is officially an SGML application, the comment syntax used in HTML 
  482. documents is actually the SGML comment syntax. Unfortunately this syntax is a 
  483. bit unclear at first. 
  484.  
  485. The definition of an SGML comment is basically as follows: 
  486.  
  487.      A comment declaration starts with <!, followed by zero or more comments, 
  488.      followed by >. A comment starts and ends with "--", and does not contain 
  489.      any occurrence of "--". 
  490.  
  491.  This means that the following are all legal SGML comments: 
  492.  
  493.    1. <!-- Hello --> 
  494.  
  495.    2. <!-- Hello -- -- Hello--> 
  496.  
  497.    3. <!----> 
  498.  
  499.    4. <!------ Hello --> 
  500.  
  501.    5. <!> 
  502.  
  503.  Note that an "empty" comment tag, with just "--" characters, should always 
  504.  have a multiple of four "-" characters to be legal. (And yes, <!> is also a 
  505.  legal comment - it's the empty comment). 
  506.  
  507.  Not all HTML parsers get this right.  For example, "<!------> hello-->" is a 
  508.  legal comment, as you can verify with the rule above. It is a comment tag with 
  509.  two comments; the first is empty and the second one contains "> hello". If you 
  510.  try it in a browser, you will find that the text is displayed on screen. 
  511.  
  512.  There are two possible reasons for this: 
  513.  
  514.    1. The browser sees the ">" character and thinks the comment ends there. 
  515.  
  516.    2. The browser sees the "-->" text and thinks the comment ends there. 
  517.  
  518.  There is also the problem with the "--" sequence. Some people have a habit of 
  519.  using things like "<!-------------->" as separators in their source. 
  520.  Unfortunately, in most cases, the number of "-" characters is not a multiple 
  521.  of four. This means that a browser who tries to get it right will actually get 
  522.  it wrong here and actually hide the rest of the document. 
  523.  
  524.  For this reason, use the following simple rule to compose valid and accepted 
  525.  comments: 
  526.  
  527.      An HTML comment begins with "<!--", ends with "-->" and does not contain 
  528.      "--" or ">" anywhere in the comment. 
  529.  
  530.  
  531. ΓòÉΓòÉΓòÉ 2.2. Elements for the HEAD section ΓòÉΓòÉΓòÉ
  532.  
  533. The header section is used to provide information about the document. This can 
  534. be the title of the document, the name of the author, a short description, and 
  535. many other things. 
  536.  
  537. The header is marked up using the HEAD element. It may only contain the 
  538. following elements.  If any other elements, or plain text, occurs inside the 
  539. HEAD section, the browser should assume the HEAD ends here, and start rendering 
  540. the BODY. 
  541.  
  542.      TITLE - Document title 
  543.  
  544.      ISINDEX - Primitive search 
  545.  
  546.      META - Meta-information 
  547.  
  548.      LINK - Site structure 
  549.  
  550.      BASE - Document location 
  551.  
  552.      SCRIPT - Inline script 
  553.  
  554.      STYLE - Style information 
  555.  
  556.  
  557. ΓòÉΓòÉΓòÉ 2.2.1. BASE - Document location ΓòÉΓòÉΓòÉ
  558.  
  559.  Appearance:       <BASE HREF=URL> 
  560.  Attributes:       HREF=URL 
  561.  Contents:         None (Empty). 
  562.  May occur in:     HEAD. 
  563.  
  564.  The BASE tag is used to indicate the correct location of the document. 
  565.  Normally, the browser already knows this location. But in cases such as a 
  566.  mirrored site, the URL used to get the document is not the one that should be 
  567.  used when resolving relative URLs. That's when you use the BASE tag. The 
  568.  required HREF attribute must contain a full URL which lists the real location 
  569.  of the document. 
  570.  
  571.  For example, in a document which contains <BASE 
  572.  HREF="http://www.htmlhelp.com/">, the relative URL in <IMG 
  573.  SRC="icon/wdglogo.gif"> corresponds with the full URL 
  574.  http://www.htmlhelp.com/icon/wdglogo.gif. 
  575.  
  576.  
  577.  Notes 
  578.  
  579.      It is not necessary to include this tag; use it only if relative URLs 
  580.       won't work otherwise. 
  581.  
  582.  
  583. ΓòÉΓòÉΓòÉ 2.2.2. ISINDEX - Primitive search ΓòÉΓòÉΓòÉ
  584.  
  585.  Appearance:       <ISINDEX> 
  586.  Attributes:       PROMPT=string. 
  587.  Contents:         None (Empty). 
  588.  May occur in:     HEAD. 
  589.  
  590.  The ISINDEX tag was used before FORMs became more popular. When inserted in a 
  591.  document, it will allow the user to enter keywords which are then sent to the 
  592.  server. The server then executes a search and returns the results. The PROMPT 
  593.  attribute can be used to override the default text in the dialog box ("Enter 
  594.  search keywords: "). 
  595.  
  596.  
  597.  Notes 
  598.  
  599.      This tag should be inserted by the server if the document can be 
  600.       searched. Merely inserting this tag will not make the document 
  601.       searchable! 
  602.  
  603.      For more flexibility, use a FORM instead. 
  604.  
  605.  
  606. ΓòÉΓòÉΓòÉ 2.2.3. LINK - Site structure ΓòÉΓòÉΓòÉ
  607.  
  608.  Appearance:       <LINK REL=string HREF=URL> 
  609.  Attributes:       REL=string, REV=string, HREF=URL, TITLE=string 
  610.  Contents:         None (Empty). 
  611.  May occur in:     HEAD. 
  612.  
  613.  LINK is used to indicate relationships between documents.  There are two 
  614.  possible relationships:  REL indicates a normal relationship to the document 
  615.  specified in the URL.  REV indicates a reverse relationship.  In other words, 
  616.  the other document has the indicated relationship with this one.  The TITLE 
  617.  attribute can be used to suggest a title for the referenced URL or relation. 
  618.  
  619.  Some possible values for REL and REV: 
  620.  
  621.  REV="made" 
  622.            Indicates the creator of the document. Usually the URL is a mailto: 
  623.            URL with the creator's e-mail address. Advanced browsers will now 
  624.            let the reader comment on the page with just one button or 
  625.            keystroke. 
  626.  
  627.  REL="stylesheet" 
  628.            This indicates the location of the appropriate style sheet for the 
  629.            current document. 
  630.  
  631.  The following LINK tags allow advanced browsers to automatically generate a 
  632.  navigational buttonbar for the site. For each possible value, the URL can be 
  633.  either absolute or relative. 
  634.  
  635.  REL="home" 
  636.            Indicates the location of the homepage, or starting page in this 
  637.            site. 
  638.  
  639.  REL="toc" 
  640.            Indicates the location of the table of contents, or overview of this 
  641.            site. 
  642.  
  643.  REL="index" 
  644.            Indicates the location of the index for this site. This doesn't have 
  645.            to be the same as the table of contents. The index could be 
  646.            alphabetical, for example. 
  647.  
  648.  REL="glossary" 
  649.            Indicates the location of a glossary of terms for this site. 
  650.  
  651.  REL="copyright" 
  652.            Indicates the location of a page with copyright information for 
  653.            information and such on this site. 
  654.  
  655.  REL="up" 
  656.            Indicates the location of the document which is logically directly 
  657.            above the current document. 
  658.  
  659.  REL="next" 
  660.            Indicates the location of the next document in a series, relative to 
  661.            the current document. 
  662.  
  663.  REL="previous" 
  664.            Indicates the location of the previous document in a series, 
  665.            relative to the current document. 
  666.  
  667.  REL="help" 
  668.            Indicates the location of a help file for this site. This can be 
  669.            useful if the site is complex, or if the current document may 
  670.            require eplanations to be used correctly (for example, a large 
  671.            fill-in form). 
  672.  
  673.  
  674.  Notes 
  675.  
  676.      Support for the LINK tag is currently very limited, although it may be 
  677.       useful for site maintenance. 
  678.  
  679.  
  680. ΓòÉΓòÉΓòÉ 2.2.4. META - Meta-information ΓòÉΓòÉΓòÉ
  681.  
  682.  Appearance:       <META NAME=string CONTENT=string> 
  683.  Attributes:       HTTP-EQUIV=string|NAME=string, CONTENT=string 
  684.  Contents:         None (Empty). 
  685.  May occur in:     HEAD. 
  686.  
  687.  The META tag is used to convey meta-information about the document, but can 
  688.  also be used to specify headers for the document. You can use either 
  689.  HTTP-EQUIV or NAME to name the meta-information, but CONTENT must be used in 
  690.  both cases. By using HTTP-EQUIV, a server should use the name indicated as a 
  691.  header, with the specified CONTENT as its value. For example, 
  692.  
  693.   <META HTTP-EQUIV="Expires" CONTENT="Tue, 04 Dec 1993 21:29:02 GMT">
  694.   <META HTTP-EQUIV="Keywords" CONTENT="Nanotechnology, Biochemistry">
  695.   <META HTTP-EQUIV="Reply-to" CONTENT="dsr@w3.org (Dave Raggett)">
  696.  
  697.  The server should include the following response headers when the document is 
  698.  requested: 
  699.  
  700.   Expires: Tue, 04 Dec 1993 21:29:02 GMT
  701.   Keywords: Nanotechnology, Biochemistry
  702.   Reply-to: dsr@w3.org (Dave Raggett)
  703.  
  704.  Popular uses for META include: 
  705.  
  706.  <META NAME="generator" CONTENT="Some program"> 
  707.            This indicates the program used to generate this document. It is 
  708.            often the name of the HTML editor used. 
  709.  
  710.  <META NAME="author" CONTENT="Name"> 
  711.            This indicates the name of the author. 
  712.  
  713.  <META NAME="keywords" CONTENT="keyword keyword keyword"> 
  714.            Provides keywords for search engines such as Infoseek or Alta Vista. 
  715.            These are added to the keywords found in the document itself. If you 
  716.            insert a keyword more than seven times here, the whole tag will be 
  717.            ignored! 
  718.  
  719.  <META NAME="description" CONTENT="This is a site"> 
  720.            Search engines which support the above tag will now display the text 
  721.            you specify here, rather than the first few lines of text from the 
  722.            actual document when the document shows up in a search result. You 
  723.            have about 1,000 characters for your description, but not all these 
  724.            will be used. 
  725.  
  726.  <META HTTP-EQUIV="refresh" CONTENT="n; URL=http://foo.bar/"> 
  727.            This is a so-called "meta refresh", which on certain browsers causes 
  728.            the document mentioned in the URL to be loaded after n. seconds. 
  729.            This can be used for slide shows or for often-changing information, 
  730.            but has some drawbacks. In particular, if you use a value of zero 
  731.            seconds, the user can no longer go "Back" with his back button. He 
  732.            will be transferred to the specified URL, and when he presses "back" 
  733.            there, he will go back to the document with the refresh, which 
  734.            immediately redirects him to the document he tried to get away from. 
  735.  
  736.  <META HTTP-EQUIV="expires" CONTENT="Tue, 20 Aug 1996 14:25:27 GMT"> 
  737.            This indicates that the document containing this META tag will 
  738.            expire at this date. If the document is requested after this date, 
  739.            the browser should load a new copy from the server, instead of using 
  740.            the copy in its cache. 
  741.  
  742.  
  743.  Notes 
  744.  
  745.      Not all servers use the information from META tags to generate headers, 
  746.       although some browsers will treat what they find in here like it was a 
  747.       header. 
  748.  
  749.      The "keywords" and "description" values are currently only used by Alta 
  750.       Vista and Infoseek. 
  751.  
  752.  
  753. ΓòÉΓòÉΓòÉ 2.2.5. SCRIPT - Inline scripts ΓòÉΓòÉΓòÉ
  754.  
  755.  Appearance:       <SCRIPT> </SCRIPT> 
  756.  Attributes:       None. 
  757.  Contents:         Plain text, but should be a valid script. 
  758.  May occur in:     HEAD. 
  759.  
  760.  The SCRIPT tag is included only to ensure upward compatibility. Newer versions 
  761.  of HTML will include support for inline scripts, which should be contained in 
  762.  this tag. The tag should contain a valid script. 
  763.  
  764.  Note that current browsers are only required to hide the contents of the 
  765.  SCRIPT tag, it does not have to use the information contained therein. 
  766.  
  767.  In the meantime, if you need scripts in your documents, put them inside HTML 
  768.  comments. 
  769.  
  770.  
  771.  Notes 
  772.  
  773.      Not all browsers support scripts. 
  774.  
  775.      Since not all browsers will hide the tag's contents, you may want to 
  776.       enclose it in comments. 
  777.  
  778.      Note that if your script uses the ">" or "--" symbols, some browsers may 
  779.       end the comment accidentally. 
  780.  
  781.  
  782. ΓòÉΓòÉΓòÉ 2.2.6. STYLE - Style markup ΓòÉΓòÉΓòÉ
  783.  
  784.  Appearance:       <STYLE> </STYLE> 
  785.  Attributes:       TYPE=string 
  786.  Contents:         Plain text, but should be valid style markup. 
  787.  May occur in:     HEAD. 
  788.  
  789.  The STYLE tag is included only to ensure upward compatibility. Newer versions 
  790.  of HTML will include support for style sheets, and this tag can be used to 
  791.  provide "in-line" style information. The tag should contain only valid style 
  792.  statements, in the language indicated in the TYPE attribute. 
  793.  
  794.  Note that current browsers are only required to hide the contents of the STYLE 
  795.  tag, it does not have to use the information contained therein. 
  796.  
  797.  
  798.  Notes 
  799.  
  800.      Since not all browsers will hide the tag's contents, you may want to 
  801.       enclose them in comments. 
  802.  
  803.  
  804. ΓòÉΓòÉΓòÉ 2.2.7. TITLE - Document title ΓòÉΓòÉΓòÉ
  805.  
  806.  Appearance:       <TITLE> </TITLE> 
  807.  Attributes:       None. 
  808.  Contents:         Plain text. 
  809.  May occur in:     HEAD. 
  810.  
  811.  Each document must have exactly one TITLE element. This element provides the 
  812.  title of the document. It is usually displayed at the top of the browser's 
  813.  window, but also used to label a bookmark entry for the document and as a 
  814.  caption in search engine results. 
  815.  
  816.  It may only contain text and entities, but no markup. 
  817.  
  818.  
  819.  Notes 
  820.  
  821.      Make sure the TITLE tag is also useful out of context. It should still be 
  822.       understandable when it is used as label in a bookmarks file. 
  823.  
  824.      Although it is legal to use entities inside TITLE, not all browsers are 
  825.       able to handle these properly. It is recommended that you restrict 
  826.       yourself to the characters 32-126 decimal from ISO Latin 1. 
  827.  
  828.      Netscape 1.x had a bug with respect to titles. When more than one TITLE 
  829.       tag was used in the HEAD, it would display them in a sequence, causing a 
  830.       "marquee" effect. This bug has been fixed in later versions. 
  831.  
  832.  
  833. ΓòÉΓòÉΓòÉ 2.3. Elements for the BODY section ΓòÉΓòÉΓòÉ
  834.  
  835. The text in the BODY of a document is mainly marked up using block-level 
  836. elements. Text inside a block-level element is marked up using text-level 
  837. elements. Certain block-level elements may also contain other block-level 
  838. elements, or only a restricted set of elements and no text. 
  839.  
  840.  
  841. ΓòÉΓòÉΓòÉ 2.3.1. Block-level elements. ΓòÉΓòÉΓòÉ
  842.  
  843. The BODY of a document consists of multiple block elements. If plain text is 
  844. found inside the body, it is assumed to be inside a paragraph P. Block-level 
  845. elements can be grouped into several distinct categories: 
  846.  
  847.  
  848. Headings 
  849.  
  850.      H1 - Level 1 header 
  851.  
  852.      H2 - Level 2 header 
  853.  
  854.      H3 - Level 3 header 
  855.  
  856.      H4 - Level 4 header 
  857.  
  858.      H5 - Level 5 header 
  859.  
  860.      H6 - Level 6 header 
  861.  
  862.  List elements 
  863.  
  864.      UL - Unordered list 
  865.  
  866.      OL - Ordered list 
  867.  
  868.      DIR - Directory list 
  869.  
  870.      MENU - Menu item list 
  871.  
  872.      LI - List item 
  873.  
  874.      DL - Definition list 
  875.  
  876.         -  DT - Definition term 
  877.  
  878.         -  DD- Definition 
  879.  
  880.  Text containers 
  881.  
  882.      P - Paragraph 
  883.  
  884.      PRE - Preformatted text 
  885.  
  886.      BLOCKQUOTE - Large quotation 
  887.  
  888.      ADDRESS - Address information 
  889.  
  890.  Others 
  891.  
  892.      DIV - Logical division 
  893.  
  894.      CENTER - Centered division 
  895.  
  896.      FORM - Input form 
  897.  
  898.      HR - Horizontal rule 
  899.  
  900.      TABLE - Tables 
  901.  
  902.  
  903. ΓòÉΓòÉΓòÉ 2.3.2. Text-level elements. ΓòÉΓòÉΓòÉ
  904.  
  905. These elements are used to mark up text inside block level elements. Some block 
  906. level elements exclude certain text level elements, and some text level 
  907. elements may only appear inside specific block level elements. This is 
  908. documented in the section on that block level element. 
  909.  
  910. Text-level markup can roughly be divided into three groups: physical markup, 
  911. logical markup and "special" markup. The first group contains elements that 
  912. indicate a specific rendering for the enclosed text, the second indicate the 
  913. logical meaning of the enclosed text, and the third group indicates some 
  914. "action". It is recommended that logical elements are used whenever possible, 
  915. as they adapt better to various viewing environments than physical styles. For 
  916. example, if boldface is not available, a different way to render emphasized 
  917. text can be chosen, but only if it is known that this is emphasized text, and 
  918. not to be rendered bold for some other reason. 
  919.  
  920.  
  921. Logical markup 
  922.  
  923.      EM - Emphasized text 
  924.  
  925.      STRONG - Strongly emphasized 
  926.  
  927.      DFN - Definition of a term 
  928.  
  929.      CODE - Code fragment 
  930.  
  931.      SAMP - Sample text 
  932.  
  933.      KBD - Keyboard input 
  934.  
  935.      VAR - Variable 
  936.  
  937.      CITE - Short citation 
  938.  
  939.  Physical markup 
  940.  
  941.      TT - Teletype 
  942.  
  943.      I - Italics 
  944.  
  945.      B - Bold 
  946.  
  947.      U - Underline 
  948.  
  949.      STRIKE - Strikeout 
  950.  
  951.      BIG - Larger text 
  952.  
  953.      SMALL - Smaller text 
  954.  
  955.      SUB - Subscript 
  956.  
  957.      SUP - Superscript 
  958.  
  959.  Special markup 
  960.  
  961.      A - Anchor 
  962.  
  963.      BASEFONT - Default font size 
  964.  
  965.      IMG - Image 
  966.  
  967.      APPLET - Java applet 
  968.  
  969.         -  PARAM - Parameters for Java applet 
  970.  
  971.      FONT - Font modification 
  972.  
  973.      BR - Line break 
  974.  
  975.      MAP - Client-side imagemap 
  976.  
  977.         -  AREA - Hotzone in imagemap 
  978.  
  979.  Forms 
  980.  
  981.      INPUT - Input field, button, etc. 
  982.  
  983.      SELECT - Selection list 
  984.  
  985.         -  OPTION - Selection list option 
  986.  
  987.      TEXTAREA - Input area 
  988.  
  989.  Tables 
  990.  
  991.      CAPTION - Table caption 
  992.  
  993.      TR - Table row 
  994.  
  995.      TH - Header cell 
  996.  
  997.      TD - Table cell 
  998.  
  999.  
  1000. ΓòÉΓòÉΓòÉ 2.4. Block-level elements ΓòÉΓòÉΓòÉ
  1001.  
  1002. The text in a document is mainly marked up using block-level elements. Text 
  1003. inside a block-level element is marked up using text-level elements. Certain 
  1004. block-level elements may also contain other block-level elements, or only a 
  1005. restricted set of elements and no text. 
  1006.  
  1007.      H1 - Level 1 header 
  1008.  
  1009.      H2 - Level 2 header 
  1010.  
  1011.      H3 - Level 3 header 
  1012.  
  1013.      H4 - Level 4 header 
  1014.  
  1015.      H5 - Level 5 header 
  1016.  
  1017.      H6 - Level 6 header 
  1018.  
  1019.      DIV - Logical division 
  1020.  
  1021.      CENTER - Centered division 
  1022.  
  1023.      FORM - Input form 
  1024.  
  1025.      HR - Horizontal rule 
  1026.  
  1027.      TABLE - Tables 
  1028.  
  1029.      P - Paragraph 
  1030.  
  1031.      PRE - Preformatted text 
  1032.  
  1033.      BLOCKQUOTE - Large quotation 
  1034.  
  1035.      ADDRESS - Address information 
  1036.  
  1037.  
  1038. ΓòÉΓòÉΓòÉ 2.4.1. ADDRESS - Address information ΓòÉΓòÉΓòÉ
  1039.  
  1040.  Appearance:       <ADDRESS> </ADDRESS> 
  1041.  Attributes:       None. 
  1042.  Contents:         P, TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, 
  1043.                    DFN, CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, 
  1044.                    BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1045.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DD, LI. 
  1046.  
  1047.  The ADDRESS tag should be used to enclose contact information, addresses and 
  1048.  the likes. It is often rendered with a slightly indented left margin and 
  1049.  italics. 
  1050.  
  1051.  
  1052.  Notes 
  1053.  
  1054.      If you include an address in here, be sure to use BR for explicit 
  1055.       linebreaks after every line, otherwise the address won't come out right. 
  1056.  
  1057.  
  1058. ΓòÉΓòÉΓòÉ 2.4.2. BLOCKQUOTE - Large quotations ΓòÉΓòÉΓòÉ
  1059.  
  1060.  Appearance:       <BLOCKQUOTE> </BLOCKQUOTE> 
  1061.  Attributes:       None. 
  1062.  Contents:         H1, H2, H3, H4, H5, H6, P, UL, OL, DIR, MENU, PRE, DL, DIV, 
  1063.                    CENTER, BLOCKQUOTE, FORM, HR, TABLE, ADDRESS, as well as TT, 
  1064.                    I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, 
  1065.                    CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, 
  1066.                    BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1067.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DD, LI. 
  1068.  
  1069.  If you are quoting more than a few lines from a document, use a BLOCKQUOTE to 
  1070.  indicate this. Block quotations are often rendered with indented margins, and 
  1071.  possibly in italics, although a rendering with the standard quotation symbol 
  1072.  for E-mail, "> ", is of course also possible. 
  1073.  
  1074.  
  1075.  Notes 
  1076.  
  1077.      If you quote from someone else's work, don't forget to include a credit 
  1078.       and/or copyright notice. 
  1079.  
  1080.      Do not use BLOCKQUOTE simply to create indented text. This is not the 
  1081.       required rendering, so you will not achieve the effect you want on all 
  1082.       browsers. It will also confuse page indexers and summarizers. 
  1083.  
  1084.  
  1085. ΓòÉΓòÉΓòÉ 2.4.3. CENTER - Centered division ΓòÉΓòÉΓòÉ
  1086.  
  1087.  Appearance:       <CENTER> </CENTER> 
  1088.  Attributes:       None. 
  1089.  Contents:         H1, H2, H3, H4, H5, H6, P, UL, OL, DIR, MENU, PRE, DL, DIV, 
  1090.                    CENTER, BLOCKQUOTE, FORM, HR, TABLE, ADDRESS, as well as TT, 
  1091.                    I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, 
  1092.                    CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, 
  1093.                    BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1094.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DD, LI. 
  1095.  
  1096.  The CENTER tag is one of the first Netscape extensions. It is used to indicate 
  1097.  that large blocks of text should appear centered. In the Wilbur standard, it 
  1098.  is defined as an alias for <DIV ALIGN=CENTER>. 
  1099.  
  1100.  The tag is more widely supported than the DIV method, as it was the first 
  1101.  widely implemented Netscape extension to HTML 2. 
  1102.  
  1103.  
  1104.  Notes 
  1105.  
  1106.      The CENTER tag is <STRONG>not</STRONG> text-level markup, so do not use 
  1107.       it to center single lines of text inside a paragraph or other block 
  1108.       element. It will introduce a new paragraph. 
  1109.  
  1110.      Older versions of Netscape treated CENTER as if it were text-level 
  1111.       markup, so it was rendered without a paragraph break there. 
  1112.  
  1113.      For better portability with browsers which do not support this tag, use 
  1114.       ALIGN=CENTER on headers and paragraphs if possible. 
  1115.  
  1116.  
  1117. ΓòÉΓòÉΓòÉ 2.4.4. DIV - Logical division ΓòÉΓòÉΓòÉ
  1118.  
  1119.  Appearance:       <DIV ALIGN=foo> </DIV> 
  1120.  Attributes:       ALIGN=left|right|center 
  1121.  Contents:         H1, H2, H3, H4, H5, H6, P, UL, OL, DIR, MENU, PRE, DL, DIV, 
  1122.                    CENTER, BLOCKQUOTE, FORM, HR, TABLE, ADDRESS, as well as TT, 
  1123.                    I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, 
  1124.                    CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, 
  1125.                    BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1126.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DD, LI. 
  1127.  
  1128.  The DIV tag is used to mark up divisions in a document. It can enclose 
  1129.  paragraphs, headers and other block elements. Currently, you can only use it 
  1130.  to set the default alignment for all enclosed block elements. Future standards 
  1131.  will most likely include more options for DIV. 
  1132.  
  1133.  Just like with other block elements such as P or H1, you can specify left, 
  1134.  right and centered alignment. 
  1135.  
  1136.  
  1137.  Notes 
  1138.  
  1139.      The align attribute on a block element inside DIV overrides the align 
  1140.       value of the DIV element. 
  1141.  
  1142.      Instead of <DIV ALIGN=CENTER>, use CENTER. This element is more widely 
  1143.       supported at the moment, even though HTML 3.2 defines both as identical. 
  1144.  
  1145.  
  1146. ΓòÉΓòÉΓòÉ 2.4.5. FORM - HTML forms ΓòÉΓòÉΓòÉ
  1147.  
  1148.  Appearance:       <FORM ACTION=URL> </FORM> 
  1149.  Attributes:       ACTION=URL, METHOD=get|post, ENCTYPE=string 
  1150.  Contents:         H1, H2, H3, H4, H5, H6, P, UL, OL, DIR, MENU, PRE, DL, DIV, 
  1151.                    CENTER, BLOCKQUOTE, HR, TABLE, ADDRESS, as well as TT, I, B, 
  1152.                    U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, CODE, 
  1153.                    SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, BR, 
  1154.                    MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1155.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  1156.  
  1157.  Forms allow a person to send data to the WWW server. You can use the INPUT, 
  1158.  TEXTAREA and SELECT tags to add individual elements, such as checkboxes, input 
  1159.  fields or "drop down" lists to your form. A form may contain all markup (both 
  1160.  text and body level tags), but it may not have a nested form. 
  1161.  
  1162.  FORM has one required attribute, ACTION, specifying the URL of a CGI script 
  1163.  which processes the form and sends back feedback. There are two methods to 
  1164.  send form data to a server. GET, the default, will send the form input in an 
  1165.  URL, whereas POST sends it in the body of the submission. The latter method 
  1166.  means you can send larger amounts of data, and that the URL of the form 
  1167.  results doesn't show the encoded form. 
  1168.  
  1169.  You can specify an encoding type with ENCTYPE, the default of 
  1170.  "application/x-www-form-urlencoded" is most widely supported. An alternative 
  1171.  is "text/plain", which is typically used in combination when the ACTION 
  1172.  attribute points to a mailto: URL. If a browser supports both, the contents of 
  1173.  the form is sent in plain text to the indicated recipient. 
  1174.  
  1175.  
  1176.  Notes 
  1177.  
  1178.      A form should always have at least one submit button. This can be done 
  1179.       with <INPUT TYPE=submit NAME=submitit> or with an image: <INPUT 
  1180.       TYPE=image NAME=submitit>. 
  1181.  
  1182.      More than one submit button is legal. If each submit button has a unique 
  1183.       NAME attribute, the name of the selected submit button is sent along with 
  1184.       the rest of the form input. This allows the parsing script to determine 
  1185.       which button was pressed. 
  1186.  
  1187.      The URL specified in the ACTION attribute does not have to be a CGI 
  1188.       script, although you can get pretty weird results if you try to feed data 
  1189.       to a document which isn't a CGI script. A popular reason to do this is to 
  1190.       get a "button" which when pressed takes you to a new page. This can be 
  1191.       done with: <PRE> <FORM ACTION="destination_url" METHOD=GET> <INPUT 
  1192.       TYPE=submit NAME=foo VALUE="Go to destination"> </FORM> </PRE> 
  1193.  
  1194.  
  1195. ΓòÉΓòÉΓòÉ 2.4.6. H1 - Level 1 heading ΓòÉΓòÉΓòÉ
  1196.  
  1197.  Appearance:       <H1> </H1> 
  1198.  Attributes:       ALIGN=left|right|center 
  1199.  Contents:         TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, 
  1200.                    CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, 
  1201.                    BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1202.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  1203.  
  1204.  The level 1 heading is the most important header in the document. It should be 
  1205.  rendered more prominently than any other header. It is usually used to 
  1206.  indicate the title of the document. Often it has the same contents as the 
  1207.  TITLE, although this is not required and not always a good idea. The title 
  1208.  should be useful out of context (for example, in a bookmarks file) but the 
  1209.  level 1 heading is only used inside the document. 
  1210.  
  1211.  The optional ALIGN attribute controls the horizontal alignment of the header. 
  1212.  It can be LEFT, CENTER or RIGHT. 
  1213.  
  1214.  
  1215.  Notes 
  1216.  
  1217.      Headers should be used in hierarchical order. 
  1218.  
  1219.      Do not assume that this header means "very large font size and bold." 
  1220.       While this is a popular rendering, it can be anything the browser 
  1221.       chooses. 
  1222.  
  1223.      Search engines may give words appearing in headers more importance in 
  1224.       their index. The headers are also often used to build an "outline" of the 
  1225.       document, which appears in the search results. 
  1226.  
  1227.      Right alignment is not as widely supported as centered. 
  1228.  
  1229.  
  1230. ΓòÉΓòÉΓòÉ 2.4.7. H2 - Level 2 heading ΓòÉΓòÉΓòÉ
  1231.  
  1232.  Appearance:       <H2> </H2> 
  1233.  Attributes:       ALIGN=left|right|center 
  1234.  Contents:         TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, 
  1235.                    CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, 
  1236.                    BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1237.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  1238.  
  1239.  The level 2 heading is the second most important header in the document. It 
  1240.  should be rendered more prominently than a H3, but less prominently than a H1. 
  1241.  It is often used to mark up chapters in a document. 
  1242.  
  1243.  The optional ALIGN attribute controls the horizontal alignment of the header. 
  1244.  It can be LEFT, CENTER or RIGHT. 
  1245.  
  1246.  
  1247.  Notes 
  1248.  
  1249.      Headers should be used in hierarchical order. 
  1250.  
  1251.      Do not assume that this header means "very large font size and bold." 
  1252.       While this is a popular rendering, it can be anything the browser 
  1253.       chooses. 
  1254.  
  1255.      Search engines may give words appearing in headers more importance in 
  1256.       their index. The headers are also often used to build an "outline" of the 
  1257.       document, which appears in the search results. 
  1258.  
  1259.      Right alignment is not as widely supported as centered. 
  1260.  
  1261.  
  1262. ΓòÉΓòÉΓòÉ 2.4.8. H3 - Level 3 heading ΓòÉΓòÉΓòÉ
  1263.  
  1264.  Appearance:       <H3> </H3> 
  1265.  Attributes:       ALIGN=left|right|center 
  1266.  Contents:         TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, 
  1267.                    CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, 
  1268.                    BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1269.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  1270.  
  1271.  The level 3 heading is the third most important header in the document. It 
  1272.  should be rendered more prominently than a H4, but less prominently than a H2. 
  1273.  It is often used to mark up sections inside a chapter in a document. 
  1274.  
  1275.  The optional ALIGN attribute controls the horizontal alignment of the header. 
  1276.  It can be LEFT, CENTER or RIGHT. 
  1277.  
  1278.  
  1279.  Notes 
  1280.  
  1281.      Headers should be used in hierarchical order. 
  1282.  
  1283.      Do not assume that this header means "very large font size and bold." 
  1284.       While this is a popular rendering, it can be anything the browser 
  1285.       chooses. 
  1286.  
  1287.      Search engines may give words appearing in headers more importance in 
  1288.       their index. The headers are also often used to build an "outline" of the 
  1289.       document, which appears in the search results. 
  1290.  
  1291.      Right alignment is not as widely supported as centered. 
  1292.  
  1293.  
  1294. ΓòÉΓòÉΓòÉ 2.4.9. H4 - Level 4 heading ΓòÉΓòÉΓòÉ
  1295.  
  1296.  Appearance:       <H4> </H4> 
  1297.  Attributes:       ALIGN=left|right|center 
  1298.  Contents:         TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, 
  1299.                    CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, 
  1300.                    BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1301.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  1302.  
  1303.  The level 4 heading should be rendered more prominently than a H5, but less 
  1304.  prominently than a H3. It is often used to mark up subsections in a document. 
  1305.  
  1306.  The optional ALIGN attribute controls the horizontal alignment of the header. 
  1307.  It can be LEFT, CENTER or RIGHT. 
  1308.  
  1309.  
  1310.  Notes 
  1311.  
  1312.      Headers should be used in hierarchical order. 
  1313.  
  1314.      Do not assume that this header means "large font size and bold." While 
  1315.       this is a popular rendering, it can be anything the browser chooses. 
  1316.  
  1317.      Search engines may give words appearing in headers more importance in 
  1318.       their index. The headers are also often used to build an "outline" of the 
  1319.       document, which appears in the search results. 
  1320.  
  1321.      Right alignment is not as widely supported as centered. 
  1322.  
  1323.  
  1324. ΓòÉΓòÉΓòÉ 2.4.10. H5 - Level 5 heading ΓòÉΓòÉΓòÉ
  1325.  
  1326.  Appearance:       <H5> </H5> 
  1327.  Attributes:       ALIGN=left|right|center 
  1328.  Contents:         TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, 
  1329.                    CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, 
  1330.                    BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1331.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  1332.  
  1333.  The level 5 heading is the second least important header in the document. It 
  1334.  should be rendered more prominently than a H6, but less prominently than a H4. 
  1335.  Because it is often rendered in a small font, it is not used very often. It 
  1336.  should be used to divide sections inside a H4. 
  1337.  
  1338.  The optional ALIGN attribute controls the horizontal alignment of the header. 
  1339.  It can be LEFT, CENTER or RIGHT. 
  1340.  
  1341.  
  1342.  Notes 
  1343.  
  1344.      Headers should be used in hierarchical order. 
  1345.  
  1346.      Do not assume that this header means "small font size and bold." While 
  1347.       this is a popular rendering, it can be anything the browser chooses. 
  1348.  
  1349.      Search engines may give words appearing in headers more importance in 
  1350.       their index. The headers are also often used to build an "outline" of the 
  1351.       document, which appears in the search results. 
  1352.  
  1353.      Right alignment is not as widely supported as centered. 
  1354.  
  1355.  
  1356. ΓòÉΓòÉΓòÉ 2.4.11. H6 - Level 6 heading ΓòÉΓòÉΓòÉ
  1357.  
  1358.  Appearance:       <H6> </H6> 
  1359.  Attributes:       ALIGN=left|right|center 
  1360.  Contents:         TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, 
  1361.                    CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, 
  1362.                    BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1363.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  1364.  
  1365.  The level 6 heading is the least important header in the document. It should 
  1366.  be rendered less prominently than a H5, but more prominently than normal text. 
  1367.  Because it is often rendered in a small font, it is not used very often. It 
  1368.  should be used to divide sections inside a H5. 
  1369.  
  1370.  The optional ALIGN attribute controls the horizontal alignment of the header. 
  1371.  It can be LEFT, CENTER or RIGHT. 
  1372.  
  1373.  
  1374.  Notes 
  1375.  
  1376.      Headers should be used in hierarchical order. 
  1377.  
  1378.      Do not assume that this header means "very small font size and bold." 
  1379.       While this is a popular rendering, it can be anything the browser 
  1380.       chooses. 
  1381.  
  1382.      Search engines may give words appearing in headers more importance in 
  1383.       their index. The headers are also often used to build an "outline" of the 
  1384.       document, which appears in the search results. 
  1385.  
  1386.      Right alignment is not as widely supported as centered. 
  1387.  
  1388.  
  1389. ΓòÉΓòÉΓòÉ 2.4.12. HR - Horizontal rule ΓòÉΓòÉΓòÉ
  1390.  
  1391.  Appearance:       <HR> 
  1392.  Attributes:       ALIGN=left|right|center, NOSHADE, SIZE=n., WIDTH=n.|p% 
  1393.  Contents:         None (Empty). 
  1394.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  1395.  
  1396.  HR is used to draw horizontal rules across the browser window. If the margins 
  1397.  are currently smaller, for example because of images (IMG) which are placed 
  1398.  against the margins, the rule will extend to these margins instead of the 
  1399.  whole window. A horizontal rule is typically used to separate sections within 
  1400.  a document. 
  1401.  
  1402.  In HTML 3.2, the appearance can be controlled more than in HTML 2. You can 
  1403.  specify the thickness of the rule with the SIZE attribute, which takes an 
  1404.  integer number of pixels. The width of the rule can be specified in number of 
  1405.  pixels or as a percentage of the currently available window width, using the 
  1406.  WIDTH attribute. Don't forget that percentage values must be quoted! The 
  1407.  NOSHADE attribute is used to indicate that the rule should not get its usual 
  1408.  shaded appearance, but instead should be drawn as a thick line. 
  1409.  
  1410.  
  1411.  Notes 
  1412.  
  1413.      None of the attributes for HR existed in HTML 2, so they may not be 
  1414.       supported by all browsers. This can produce bizarre effects if you are 
  1415.       using multiple HRs in a row to produce growing or shrinking "stripes". 
  1416.  
  1417.      If you use too many rules on a document, the end result can be that the 
  1418.       document looks like a "sandwich" because there is little text between 
  1419.       each rule. 
  1420.  
  1421.      Setting an absolute width is not recommended, since you have no way to 
  1422.       know how wide the currently available window is. Use a percentage if you 
  1423.       have to change the width. 
  1424.  
  1425.  
  1426. ΓòÉΓòÉΓòÉ 2.4.13. P - Paragraph ΓòÉΓòÉΓòÉ
  1427.  
  1428.  Appearance:       <P> [</P>] 
  1429.  Attributes:       ALIGN=left|center|right 
  1430.  Contents:         TT, I, B, U, STRIKE, BIG, SMALL, SUB, SUP, EM, STRONG, DFN, 
  1431.                    CODE, SAMP, KBD, VAR, CITE, A, APPLET, IMG, FONT, BASEFONT, 
  1432.                    BR, MAP, INPUT, SELECT, TEXTAREA and plain text. 
  1433.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI, ADDRESS. 
  1434.  
  1435.  The P tag is used to indicate paragraphs. The optional attribute ALIGN 
  1436.  indicates the preferred alignment for the contents of this paragraph. Support 
  1437.  for ALIGN=RIGHT is not as large as support for the other two. Note that 
  1438.  ALIGN=LEFT is the default. 
  1439.  
  1440.  
  1441.  Notes 
  1442.  
  1443.      Some browsers render extra whitespace when multiple empty paragraphs are 
  1444.       used in sequence. This is not required by the specs, so do not count on 
  1445.       this to get vertical whitespace in your document. 
  1446.  
  1447.      When a paragraph has the ALIGN=CENTER or ALIGN=RIGHT attribute, some 
  1448.       browsers do not use the default alignment for the next paragraph unless 
  1449.       this paragraph is explicitly closed. 
  1450.  
  1451.      In the very first version of HTML, the P tag was an empty tag like BR. 
  1452.       Some references and books still claim that this is the case. However, 
  1453.       HTML 2.0 defines the P tag as a container, and there is no difference 
  1454.       between a paragraph with and one without explicit alignment. 
  1455.  
  1456.  
  1457. ΓòÉΓòÉΓòÉ 2.4.14. PRE - Preformatted text ΓòÉΓòÉΓòÉ
  1458.  
  1459.  Appearance:       <PRE> </PRE> 
  1460.  Attributes:       WIDTH=n. 
  1461.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1462.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1463.                    and plain text. 
  1464.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  1465.  
  1466.  PRE is used to include sections of text in which formatting is critical. 
  1467.  Unlike in the other HTML containers, text in a PRE pair will only be wrapped 
  1468.  at the linebreaks in the source, and spaces will not be collapsed. You can 
  1469.  even use tabs, although it is better to use multiple spaces since those will 
  1470.  always be the right number. 
  1471.  
  1472.  Text inside this tag will be displayed in a monospaced font to retain the 
  1473.  formatting. This is the reason you cannot include font-changing tags inside 
  1474.  PRE text. Images are excluded because they can introduce problems with 
  1475.  alignment. An image can't be translated to a certain number of characters. 
  1476.  
  1477.  The optional WIDTH attribute can be used to indicate how wide the text is (for 
  1478.  example, WIDTH=80 for a typical text file). This would allow the browser to 
  1479.  pick a font which fits the entire text in the current window. Unfortunately 
  1480.  this isn't very widely supported. 
  1481.  
  1482.  
  1483.  Notes 
  1484.  
  1485.      Although text-level markup is allowed inside PRE, not all tags are 
  1486.       supported. 
  1487.  
  1488.      A P tag is strictly not permitted inside PRE, but if a browser encounters 
  1489.       one, it should treat it as two newlines. 
  1490.  
  1491.      Since HTML tags are permitted inside PRE, you cannot just "insert" a text 
  1492.       file into an HTML document by slapping <PRE> and </PRE> around them. You 
  1493.       have to convert the &, < and > characters into entities first. 
  1494.  
  1495.  
  1496. ΓòÉΓòÉΓòÉ 2.5. Logical text-level markup ΓòÉΓòÉΓòÉ
  1497.  
  1498. Text-level markup can roughly be divided into three groups: physical markup, 
  1499. logical markup and "special" markup. The first group contains elements that 
  1500. indicate a specific rendering for the enclosed text, the second indicate the 
  1501. logical meaning of the enclosed text, and the third group indicates some 
  1502. "action". It is recommended that logical elements are used whenever possible, 
  1503. as they adapt better to various viewing environments than physical styles. For 
  1504. example, if boldface is not available, a different way to render emphasized 
  1505. text can be chosen, but only if it is known that this is emphasized text, and 
  1506. not to be rendered bold for some other reason. 
  1507.  
  1508.  
  1509. ΓòÉΓòÉΓòÉ 2.5.1. CITE - Short citations ΓòÉΓòÉΓòÉ
  1510.  
  1511.  Appearance:       <CITE> </CITE> 
  1512.  Attributes:       None. 
  1513.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1514.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1515.                    and plain text. 
  1516.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1517.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1518.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1519.                    CAPTION. 
  1520.  
  1521.  The CITE element marks up the title of a cited work. For example, a text 
  1522.  discussing HTML could say <CITE>RFC 1866</CITE> says .... 
  1523.  
  1524.  Text in CITE is typically rendered in italics. 
  1525.  
  1526.  
  1527.  Notes 
  1528.  
  1529.      Do not use CITE for anything but titles of cited works. It will confuse 
  1530.       indexers and automatic programs to extract information from your 
  1531.       documents. Use EM for emphasis or I for text which must appear in 
  1532.       italics. 
  1533.  
  1534.      There is no element in HTML 3.2 to mark up short cited phrases. For 
  1535.       longer texts, you can use BLOCKQUOTE. 
  1536.  
  1537.  
  1538. ΓòÉΓòÉΓòÉ 2.5.2. CODE - Code fragments ΓòÉΓòÉΓòÉ
  1539.  
  1540.  Appearance:       <CODE> </CODE> 
  1541.  Attributes:       None. 
  1542.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1543.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1544.                    and plain text. 
  1545.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1546.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1547.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1548.                    CAPTION. 
  1549.  
  1550.  CODE is used for snippets of code which appear inside a paragraph of text. It 
  1551.  is usually rendered in a monospaced font. You can use this tag to mark up 
  1552.  things like <CODE>for ( ; ; ) ;</CODE> is a nice way to make an endless loop 
  1553.  in C. 
  1554.  
  1555.  For larger blocks of code, use PRE instead.  If what you are marking up is 
  1556.  what a user should type in, use KBD. 
  1557.  
  1558.  
  1559.  Notes 
  1560.  
  1561.      CODE will usually be rendered in a monospaced font, but multiple spaces 
  1562.       are collapsed, unlike in PRE. This can screw up the spacing in your code 
  1563.       if you want to provide more than one line. 
  1564.  
  1565.  
  1566. ΓòÉΓòÉΓòÉ 2.5.3. DFN - Definition of a term ΓòÉΓòÉΓòÉ
  1567.  
  1568.  Appearance:       <DFN> </DFN> 
  1569.  Attributes:       None. 
  1570.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1571.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1572.                    and plain text. 
  1573.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1574.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1575.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1576.                    CAPTION. 
  1577.  
  1578.  DFN is used to mark up terms which are used for the first time. These are 
  1579.  often rendered in italics so the user can see this is where the term is used 
  1580.  for the first time. 
  1581.  
  1582.  
  1583.  Notes 
  1584.  
  1585.      Not all browsers render this tag in an appropriate way. 
  1586.  
  1587.  
  1588. ΓòÉΓòÉΓòÉ 2.5.4. EM - Emphasized text ΓòÉΓòÉΓòÉ
  1589.  
  1590.  Appearance:       <EM> </EM> 
  1591.  Attributes:       None. 
  1592.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1593.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1594.                    and plain text. 
  1595.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1596.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1597.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1598.                    CAPTION. 
  1599.  
  1600.  EM is used to indicate emphasized text. While it is often rendered identical 
  1601.  to I, italics, using EM rather than I is preferred. It allows the browser to 
  1602.  distinguish between emphasized text and other text which can be drawn in 
  1603.  italics (for example citations, CITE). 
  1604.  
  1605.  EM text should be rendered distinct from STRONG text. 
  1606.  
  1607.  
  1608.  Notes 
  1609.  
  1610.      Use EM only for emphasized text. If you want to use an italic font for 
  1611.       some other reason, use a more appropriate element like CITE, DFN or I. 
  1612.  
  1613.  
  1614. ΓòÉΓòÉΓòÉ 2.5.5. KBD - Keyboard input ΓòÉΓòÉΓòÉ
  1615.  
  1616.  Appearance:       <KBD> </KBD> 
  1617.  Attributes:       None. 
  1618.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1619.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1620.                    and plain text. 
  1621.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1622.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1623.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1624.                    CAPTION. 
  1625.  
  1626.  KBD is used to indicate text which should be entered by the user. It is often 
  1627.  drawn in a monospaced font, although this is not required. It differs from 
  1628.  CODE in that CODE indicates code fragments and KBD indicates input. 
  1629.  
  1630.  
  1631.  Notes 
  1632.  
  1633.      Do not use KBD if your text requires a monospaced font; use TT instead. 
  1634.  
  1635.  
  1636. ΓòÉΓòÉΓòÉ 2.5.6. SAMP - Sample text ΓòÉΓòÉΓòÉ
  1637.  
  1638.  Appearance:       <SAMP> </SAMP> 
  1639.  Attributes:       None. 
  1640.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1641.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1642.                    and plain text. 
  1643.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1644.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1645.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1646.                    CAPTION. 
  1647.  
  1648.  SAMP is used to indicate a sample of text which should be used literally.  For 
  1649.  example, "The text <SAMP>General Protection Fault</SAMP> is well known to 
  1650.  Windows users." 
  1651.  
  1652.  It differs from KBD text in that KBD text indicates text the user must enter, 
  1653.  whereas SAMP text can also be output. 
  1654.  
  1655.  
  1656.  Notes 
  1657.  
  1658.      Do not use SAMP if your text requires a monospaced font; use TT instead. 
  1659.  
  1660.  
  1661. ΓòÉΓòÉΓòÉ 2.5.7. STRONG - Strongly emphasized text ΓòÉΓòÉΓòÉ
  1662.  
  1663.  Appearance:       <STRONG> </STRONG> 
  1664.  Attributes:       None. 
  1665.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1666.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1667.                    and plain text. 
  1668.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1669.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1670.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1671.                    CAPTION. 
  1672.  
  1673.  STRONG is used to indicate strongly emphasized text. While it is often 
  1674.  rendered identical to B, boldface, using STRONG rather than B is preferred. It 
  1675.  allows the browser to distinguish between strongly emphasized text and other 
  1676.  text which must be drawn in boldface in the case where boldface is not 
  1677.  available. 
  1678.  
  1679.  STRONG text should be rendered distinct from EM text. 
  1680.  
  1681.  
  1682.  Notes 
  1683.  
  1684.      Do not use STRONG if your text requires boldface; use B instead. 
  1685.  
  1686.  
  1687. ΓòÉΓòÉΓòÉ 2.5.8. VAR - Variable ΓòÉΓòÉΓòÉ
  1688.  
  1689.  Appearance:       <VAR> </VAR> 
  1690.  Attributes:       None. 
  1691.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1692.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1693.                    and plain text. 
  1694.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1695.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1696.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1697.                    CAPTION. 
  1698.  
  1699.  VAR is used to mark up variables, for example in discussions of computer 
  1700.  programs. Using this tag allows programs to automatically generate lists of 
  1701.  the used variables. Example: "The variable <VAR>c</VAR> is used as a counter 
  1702.  in this program." 
  1703.  
  1704.  
  1705.  Notes 
  1706.  
  1707.      VAR will usually be rendered in a monospaced font, but multiple spaces 
  1708.       are collapsed, unlike in PRE. This can screw up the spacing in your VAR 
  1709.       if you want to provide more than one line. 
  1710.  
  1711.  
  1712. ΓòÉΓòÉΓòÉ 2.6. Physical text-level markup ΓòÉΓòÉΓòÉ
  1713.  
  1714. Text-level markup can roughly be divided into three groups: physical markup, 
  1715. logical markup and "special" markup. The first group contains elements that 
  1716. indicate a specific rendering for the enclosed text, the second indicate the 
  1717. logical meaning of the enclosed text, and the third group indicates some 
  1718. "action". It is recommended that logical elements are used whenever possible, 
  1719. as they adapt better to various viewing environments than physical styles. For 
  1720. example, if boldface is not available, a different way to render emphasized 
  1721. text can be chosen, but only if it is known that this is emphasized text, and 
  1722. not to be rendered bold for some other reason. 
  1723.  
  1724.  
  1725. ΓòÉΓòÉΓòÉ 2.6.1. B - Bold ΓòÉΓòÉΓòÉ
  1726.  
  1727.  Appearance:       <B> </B> 
  1728.  Attributes:       None. 
  1729.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1730.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1731.                    and plain text. 
  1732.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1733.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1734.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1735.                    CAPTION. 
  1736.  
  1737.  B is used to indicate that the enclosed text must be rendered in a bold 
  1738.  typeface. It must be rendered distinct from I-italics text. 
  1739.  
  1740.  If you want to indicate strong emphasis, use the STRONG element instead. B 
  1741.  should only be used when you want bold typeface for some other reason than to 
  1742.  denote strong emphasis. While the two tags usually produce the same output, 
  1743.  the B tag does not provide any reasons why the enclosed text is in boldface. 
  1744.  This means an indexer or text-only browser cannot pick a good alternative. 
  1745.  With STRONG this is possible. 
  1746.  
  1747.  
  1748.  Notes 
  1749.  
  1750.      Putting large blocks of text in boldface makes the text hard to read. 
  1751.  
  1752.  
  1753. ΓòÉΓòÉΓòÉ 2.6.2. BIG - Larger text ΓòÉΓòÉΓòÉ
  1754.  
  1755.  Appearance:       <BIG> </BIG> 
  1756.  Attributes:       None. 
  1757.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1758.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1759.                    and plain text. 
  1760.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1761.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1762.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1763.                    CAPTION. 
  1764.  
  1765.  The BIG tag (as well as SMALL) is new. A browser should draw the enclosed text 
  1766.  in a larger font if available, and ignore the tag otherwise. Since this tag is 
  1767.  new, support for it is not universal. The FONT tag can do the same, with 
  1768.  SIZE="+1". 
  1769.  
  1770.  
  1771.  Notes 
  1772.  
  1773.      Nesting BIG tags may produce text in a larger font than with just one BIG 
  1774.       tag, but this is not required by the specs (although it is recommended). 
  1775.  
  1776.      It is legal to nest BIG and SMALL, although the results are undefined. 
  1777.  
  1778.      BIG is not supported by all browsers, so you might want to use <FONT 
  1779.       SIZE="+1"> instead. 
  1780.  
  1781.  
  1782. ΓòÉΓòÉΓòÉ 2.6.3. I - Italics ΓòÉΓòÉΓòÉ
  1783.  
  1784.  Appearance:       <I> </I> 
  1785.  Attributes:       None. 
  1786.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1787.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1788.                    and plain text. 
  1789.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1790.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1791.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1792.                    CAPTION. 
  1793.  
  1794.  I is used to indicate that the enclosed text must be rendered in a italic 
  1795.  (slanted) typeface. It must be rendered distinct from B-bold text. 
  1796.  
  1797.  You should use EM or CITE instead of I if you can. While they usually produce 
  1798.  the same output, the I tag does not provide any reasons why the enclosed text 
  1799.  is in italics. This means an indexer or text-only browser cannot pick a good 
  1800.  alternative. With EM and CITE this is possible. The browser can now 
  1801.  distinguish between emphasized text and citations and choose different methods 
  1802.  to display them. 
  1803.  
  1804.  
  1805.  Notes 
  1806.  
  1807.      The I tag should only be used if text is in italics by convention. 
  1808.  
  1809.  
  1810. ΓòÉΓòÉΓòÉ 2.6.4. SMALL - Smaller text ΓòÉΓòÉΓòÉ
  1811.  
  1812.  Appearance:       <SMALL> </SMALL> 
  1813.  Attributes:       None. 
  1814.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1815.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1816.                    and plain text. 
  1817.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1818.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1819.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1820.                    CAPTION. 
  1821.  
  1822.  The SMALL tag (as well as BIG) is new. A browser should draw the enclosed text 
  1823.  in a smaller font if available, and ignore the tag otherwise. Since this tag 
  1824.  is new, support for it is not universal. The FONT tag can do the same, with 
  1825.  SIZE="-1". 
  1826.  
  1827.  
  1828.  Notes 
  1829.  
  1830.      Nesting SMALL tags may produce text in a smaller font than with just one 
  1831.       SMALL tag, but this is not required by the specs (although it is 
  1832.       recommended). 
  1833.  
  1834.      It is legal to nest BIG and SMALL, although the results are undefined. 
  1835.  
  1836.      SMALL is not supported by all browsers, so you might want to use <FONT 
  1837.       SIZE="-1"> instead. 
  1838.  
  1839.  
  1840. ΓòÉΓòÉΓòÉ 2.6.5. STRIKE - Strike-through text ΓòÉΓòÉΓòÉ
  1841.  
  1842.  Appearance:       <STRIKE> </STRIKE> 
  1843.  Attributes:       None. 
  1844.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1845.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1846.                    and plain text. 
  1847.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1848.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1849.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1850.                    CAPTION. 
  1851.  
  1852.  The STRIKE tag specifies that the enclosed text should be rendered in a 
  1853.  strike-through appearance. Usually this is done with a line through the middle 
  1854.  of the text. 
  1855.  
  1856.  
  1857.  Notes 
  1858.  
  1859.      Since this tag is new, support for it is not universal. If you absolutely 
  1860.       require strikethrough text, you will have to use an image. 
  1861.  
  1862.  
  1863. ΓòÉΓòÉΓòÉ 2.6.6. SUB - Subscript ΓòÉΓòÉΓòÉ
  1864.  
  1865.  Appearance:       <SUB> </SUB> 
  1866.  Attributes:       None. 
  1867.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1868.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1869.                    and plain text. 
  1870.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1871.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1872.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1873.                    CAPTION. 
  1874.  
  1875.  SUB specifies that the enclosed text should be rendered in subscript, with the 
  1876.  enclosed text slightly lower than the surrounding text. This can be useful for 
  1877.  mathematical formulas. 
  1878.  
  1879.  
  1880.  Notes 
  1881.  
  1882.      Since this tag is new, support for it is not universal. Make sure that 
  1883.       the text would still look readable if the SUB tag weren't used. 
  1884.  
  1885.  
  1886. ΓòÉΓòÉΓòÉ 2.6.7. SUP - Superscript ΓòÉΓòÉΓòÉ
  1887.  
  1888.  Appearance:       <SUP> </SUP> 
  1889.  Attributes:       None. 
  1890.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1891.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1892.                    and plain text. 
  1893.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1894.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1895.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1896.                    CAPTION. 
  1897.  
  1898.  SUP specifies that the enclosed text should be rendered in superscript, with 
  1899.  the enclosed text slightly higher than the surrounding text. This can be 
  1900.  useful for mathematical formulas. 
  1901.  
  1902.  
  1903.  Notes 
  1904.  
  1905.      Since this tag is new, support for it is not universal. Make sure that 
  1906.       the text would still look readable if the SUP tag weren't used. 
  1907.  
  1908.  
  1909. ΓòÉΓòÉΓòÉ 2.6.8. TT - Teletype font ΓòÉΓòÉΓòÉ
  1910.  
  1911.  Appearance:       <TT> </TT> 
  1912.  Attributes:       None. 
  1913.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1914.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1915.                    and plain text. 
  1916.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1917.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1918.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1919.                    CAPTION. 
  1920.  
  1921.  The TT tag specifies that the enclosed text should be rendered in a teletype 
  1922.  (monospaced) font. This can be used to simulate typewriter output. If 
  1923.  possible, use CODE, SAMP or KBD instead. These tags allow the browser to pick 
  1924.  a suitable rendering for each specific case, instead of the generic rendering 
  1925.  you get with TT. It also makes the job easier for convertors and search 
  1926.  robots. 
  1927.  
  1928.  
  1929.  Notes 
  1930.  
  1931.      Text inside TT is not preformatted text like PRE; spaces are collapsed 
  1932.       and newlines ignored. 
  1933.  
  1934.  
  1935. ΓòÉΓòÉΓòÉ 2.6.9. U - Underline ΓòÉΓòÉΓòÉ
  1936.  
  1937.  Appearance:       <U> </U> 
  1938.  Attributes:       None. 
  1939.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1940.                    CITE, A, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA 
  1941.                    and plain text. 
  1942.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1943.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1944.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, A, APPLET, 
  1945.                    CAPTION. 
  1946.  
  1947.  U is used to indicate the enclosed text should be underlined. As most browsers 
  1948.  use underlining to indicate hyperlinks, try to avoid this tag. It can confuse 
  1949.  your users if they see "hyperlinks" that do not work. 
  1950.  
  1951.  Underlining is an alternative rendering for italic text (for example, on 
  1952.  typewriters). Since HTML has an I tag for italics, use that if this is what 
  1953.  you are using U for. 
  1954.  
  1955.  
  1956.  Notes 
  1957.  
  1958.      Most graphical browsers do not support underlined text, since it makes it 
  1959.       harder to distinguish text from hyperlinks. 
  1960.  
  1961.  
  1962. ΓòÉΓòÉΓòÉ 2.7. Special text-level markup ΓòÉΓòÉΓòÉ
  1963.  
  1964. Text-level markup can roughly be divided into three groups: physical markup, 
  1965. logical markup and "special" markup. The first group contains elements that 
  1966. indicate a specific rendering for the enclosed text, the second indicate the 
  1967. logical meaning of the enclosed text, and the third group indicates some 
  1968. "action". It is recommended that logical elements are used whenever possible, 
  1969. as they adapt better to various viewing environments than physical styles. For 
  1970. example, if boldface is not available, a different way to render emphasized 
  1971. text can be chosen, but only if it is known that this is emphasized text, and 
  1972. not to be rendered bold for some other reason. 
  1973.  
  1974.  
  1975. ΓòÉΓòÉΓòÉ 2.7.1. A - Hyperlinks ΓòÉΓòÉΓòÉ
  1976.  
  1977.  Appearance:       <A HREF=URL> </A> 
  1978.  Attributes:       HREF=URL, NAME=string, REL=string, REV=string, TITLE=string 
  1979.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  1980.                    CITE, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and 
  1981.                    plain text. 
  1982.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  1983.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  1984.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  1985.                    CAPTION. 
  1986.  
  1987.  The anchor tag is the "glue" for hypertext documents. The enclosed text and/or 
  1988.  image(s) will be selectable by the user, and doing so will take the user to 
  1989.  the location specified in the HREF attribute. The TITLE attribute can be used 
  1990.  to provide a description of that location, which is displayed by some browsers 
  1991.  when the mouse moves over the URL. 
  1992.  
  1993.  The NAME attribute is used to set up "named anchors." The enclosed text will 
  1994.  be marked as a "target" to which a browser can jump directly. For example, if 
  1995.  you have <A NAME="toc">Table of Contents</A> somewhere in the document, and 
  1996.  the user selects the URL "#toc" he will be taken to that line. 
  1997.  
  1998.  REL and REV are not widely used, although these attributes were already 
  1999.  present in the HTML 2.0 specs. They are used to mark up relationships between 
  2000.  the current document and the resource in the link. REL="foo" in document A, in 
  2001.  a link pointing to B, indicates that document A has a relationship of "foo" 
  2002.  with document B. REV="foo" indicates B has that relationship with A. Since 
  2003.  these attributes are not widely used, there is no standard list of values for 
  2004.  REL and REV. 
  2005.  
  2006.  
  2007.  Notes 
  2008.  
  2009.      Be sure to close the quotes around the value in HREF. Older browsers were 
  2010.       often quite forgiving about them, but as this caused other problems, it 
  2011.       was fixed in newer releases. This means that a hyperlink with an unclosed 
  2012.       quote may not work correctly. 
  2013.  
  2014.      You may not nest anchors, not even if one uses the HREF and the other 
  2015.       uses the NAME attribute. 
  2016.  
  2017.      The A element used with the NAME attribute requires a closing tag and 
  2018.       non-empty content. 
  2019.  
  2020.      TITLE is most often used for mailto URLs, where it is used to set the 
  2021.       subject of the message. Some browsers also use it if you bookmark the 
  2022.       link. 
  2023.  
  2024.      Since you cannot nest anchors, you can't hyperlink a named anchor. You 
  2025.       can however combine the NAME and HREF anchors into one anchor; <A 
  2026.       NAME="foo" HREF="bar">text</A> works just fine. 
  2027.  
  2028.  
  2029. ΓòÉΓòÉΓòÉ 2.7.2. APPLET - Java applet ΓòÉΓòÉΓòÉ
  2030.  
  2031.  Appearance:       <APPLET CODE=string HEIGHT=n. WIDTH=n.> </APPLET> 
  2032.  Attributes:       CODEBASE=URL, CODE=string, NAME=string, ALT=string, 
  2033.                    ALIGN=left|right|top|middle|bottom, HEIGHT=n., WIDTH=n., 
  2034.                    HSPACE=n., VSPACE=n. 
  2035.  Contents:         PARAM and TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, 
  2036.                    KBD, VAR, CITE, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, 
  2037.                    TEXTAREA and plain text. 
  2038.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  2039.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  2040.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  2041.                    CAPTION. 
  2042.  
  2043.  The APPLET tag is used to include Java applets. The CODE attribute indicates 
  2044.  the location of the class of the applet itself. CODEBASE can be used to 
  2045.  specify an absolute URL for the applet, similar to the BASE element for HTML 
  2046.  documents. Other classes for this applet will be searched at the location 
  2047.  indicated in CODEBASE. If this is not specified, the current URL will be used 
  2048.  for the location. The NAME attribute gives the name of the applet. 
  2049.  
  2050.  Just like with IMG, WIDTH and HEIGHT are used to specify the width and height 
  2051.  of the applet's window, and HSPACE and VSPACE control horizontal and vertical 
  2052.  spacing around the applet. ALIGN sets the horizontal or vertical alignment for 
  2053.  the applet. 
  2054.  
  2055.  Arguments to the applet can be specified with the PARAM tag, which goes inside 
  2056.  the APPLET tag. 
  2057.  
  2058.  The ALT text may contain text which should be displayed if the applet cannot 
  2059.  be run, but you should use the contents of APPLET instead. In here you may use 
  2060.  markup, so you can provide a better alternative than with the ALT text. 
  2061.  
  2062.  
  2063.  Notes 
  2064.  
  2065.      Not all browsers support Java applets, and those that do often allow the 
  2066.       user to disable it. 
  2067.  
  2068.      Always provide alternative text, so your visitors get something when they 
  2069.       can't see the applet. 
  2070.  
  2071.  
  2072. ΓòÉΓòÉΓòÉ 2.7.3. AREA - Client-side imagemap hotspot ΓòÉΓòÉΓòÉ
  2073.  
  2074.  Appearance:       <AREA SHAPE=x HREF=URL COORDS=string ALT=string> 
  2075.  Attributes:       SHAPE=rect|circle|poly|default, COORDS=string, 
  2076.                    NOHREF|HREF=URL, ALT=string 
  2077.  Contents:         None (Empty). 
  2078.  May occur in:     MAP. 
  2079.  
  2080.  Inside the MAP tag, each "hotzone" in the client-side imagemap is defined with 
  2081.  an AREA tag. The HREF attribute specifies the URL for the destination that 
  2082.  should be chosen if this area was selected. If you specify NOHREF instead, 
  2083.  this area won't do anything. 
  2084.  
  2085.  SHAPE and COORDS define the actual region. SHAPE can be a rectangle, circle, 
  2086.  or polygon, and COORDS should contain a set of coordinates describing that 
  2087.  shape. This is done with a comma separated list of numbers, enclosed in 
  2088.  quotes. If SHAPE is set to DEFAULT, no coordinates need to be specified. The 
  2089.  default area is what will be chosen if no others match. The syntax for COORDS 
  2090.  depends on what shape you choose. 
  2091.  
  2092.  rect - rectangle 
  2093.            A rectangle has four coordinates. The first specifies the top left 
  2094.            corner, and the second the bottom right corner of the rectangle. For 
  2095.            example, <AREA SHAPE=rect COORDS="0,0,9,9"> would specify a 
  2096.            rectangle of 10x10 pixels, starting in the top left corner of the 
  2097.            image. 
  2098.  
  2099.  circle - circle 
  2100.            A circle is defined by its center and radius. The COORDS attribute 
  2101.            first specifies the coordinates of the center, and then the radius 
  2102.            of the circle, in pixels. For example, <AREA SHAPE=circle 
  2103.            COORDS="10,10,5"> would specify a circle with radius 5 at location 
  2104.            (10,10) in the image. 
  2105.  
  2106.  poly - polygon 
  2107.            A polygon is built up by a list of coordinates. They are all 
  2108.            connected in the order you present, and the last coordinate pair is 
  2109.            connected to the first. This way you can build arbitrary figures. 
  2110.            For example, <AREA SHAPE=poly COORDS="10,50,15,20,20,50"> would 
  2111.            specify a triangle, with edge locations (10,50), (15,20) and 
  2112.            (20,50). 
  2113.  
  2114.  default - default 
  2115.            The default location doesn't have any coordinates, and it should be 
  2116.            used only once in the map. It is used to indicate what should happen 
  2117.            if the user selects one of the coordinates which are not defined in 
  2118.            any of the other elements. 
  2119.  
  2120.  The ALT text is used by text browsers to present the URLs in the imagemap in a 
  2121.  more readable fashion. If you leave those off, the browser can only display 
  2122.  the "bare" URLs. The ALT text is required if you want your document to be 
  2123.  valid. 
  2124.  
  2125.  
  2126.  Notes 
  2127.  
  2128.      Coordinates are specified in X,Y order: COORDS="1,0,10,19" means from 
  2129.       X=1, Y=0 to X=10, Y=19. The top left corner is (0,0). 
  2130.  
  2131.      If you have an area which should not do anything, not even go to the URL 
  2132.       specified in the default area, use NOHREF. 
  2133.  
  2134.      Just like with IMG, there can be no markup inside the ALT attribute. 
  2135.  
  2136.  
  2137. ΓòÉΓòÉΓòÉ 2.7.4. BASEFONT - Default font size ΓòÉΓòÉΓòÉ
  2138.  
  2139.  Appearance:       <BASEFONT SIZE=n.> 
  2140.  Attributes:       SIZE=n. 
  2141.  Contents:         None (Empty). 
  2142.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  2143.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  2144.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  2145.                    CAPTION. 
  2146.  
  2147.  The BASEFONT tag is used to suggest a default font size. FONT tags using a 
  2148.  relative font size will use the value set here. The SIZE attribute is an 
  2149.  integer value ranging from 1 to 7. The base font size applies to the normal 
  2150.  and preformatted text but not to headings, except where these are modified 
  2151.  using the FONT element with a relative font size. 
  2152.  
  2153.  
  2154.  Notes 
  2155.  
  2156.      Do not use FONT or BASEFONT to manipulate the font appearance, use BIG 
  2157.       and SMALL for local changes, and style sheets as a more general solution. 
  2158.  
  2159.  
  2160. ΓòÉΓòÉΓòÉ 2.7.5. BR - Forced line break ΓòÉΓòÉΓòÉ
  2161.  
  2162.  Appearance:       <BR> 
  2163.  Attributes:       CLEAR=left|all|right|none 
  2164.  Contents:         None (Empty). 
  2165.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  2166.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  2167.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  2168.                    CAPTION. 
  2169.  
  2170.  The BR tag is used to force line breaks within text. Normally, linebreaks are 
  2171.  treated as a space by browsers (except inside the PRE tag). The optional CLEAR 
  2172.  attribute is used when you have an IMG image in your text. If that image uses 
  2173.  ALIGN=LEFT or ALIGN=RIGHT, the text will flow around it. If you have text you 
  2174.  want below the image, you can do this with <BR CLEAR=LEFT> or CLEAR=RIGHT to 
  2175.  force scrolling down to a clear left or right margin, respectively. Using 
  2176.  CLEAR=ALL will scroll down until both marings are clear. CLEAR=NONE is the 
  2177.  default, and does nothing. 
  2178.  
  2179.  
  2180.  Notes 
  2181.  
  2182.      Some people use multiple BR tags to force whitespace. This is not 
  2183.       required by the specs, so it may not work in all browsers. 
  2184.  
  2185.  
  2186. ΓòÉΓòÉΓòÉ 2.7.6. FONT - Font appearance ΓòÉΓòÉΓòÉ
  2187.  
  2188.  Appearance:       <FONT> </FONT> 
  2189.  Attributes:       SIZE=string, COLOR=#RRGGBB 
  2190.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  2191.                    CITE, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and 
  2192.                    plain text. 
  2193.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  2194.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  2195.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  2196.                    CAPTION. 
  2197.  
  2198.  The FONT tag can be used to change the appearance of the current block, in 
  2199.  terms of size and color. The SIZE attribute can either take an absolute value, 
  2200.  ranging from 1 (smallest) to 7 (largest), or a relative value. Using the 
  2201.  latter will change the font relative to the current font size. For example, 
  2202.  <FONT SIZE="+1"> will make the font size one step bigger. 
  2203.  
  2204.  The COLOR attribute takes a hex value, which is the RGB-notation of the 
  2205.  desired color. You can also use a color name, although the names are less 
  2206.  widely supported than the codes. See the section on BODY for a more detailed 
  2207.  explanation on how to specify colors. 
  2208.  
  2209.  
  2210.  Notes 
  2211.  
  2212.      Avoid making extreme font changes if possible. They can make a document 
  2213.       hard to read. If possible, use BIG instead of <FONT SIZE="+1"> and SMALL 
  2214.       instead of <FONT SIZE="-1">. 
  2215.  
  2216.      The color attribute is not very widely supported, so do not rely on it. 
  2217.  
  2218.      None of the browsers which support FONT allow their users to disable it. 
  2219.       It is possible to disable body colors, so if you use FONT COLOR to change 
  2220.       font colors and the visitor has overriden your body colors, the text may 
  2221.       wind up invisible. 
  2222.  
  2223.      Do not use the FONT tag to emulate headers. Indexers rely on the six 
  2224.       header elements to generate an overview of a document, and they will not 
  2225.       be able to index your document if you use FONT instead. FONT should be 
  2226.       used only as an enhancement of the presentation. 
  2227.  
  2228.  
  2229. ΓòÉΓòÉΓòÉ 2.7.7. IMG - Inline images ΓòÉΓòÉΓòÉ
  2230.  
  2231.  Appearance:       <IMG SRC=URL> 
  2232.  Attributes:       SRC=URL, ALT=string, ALIGN=left|right|top|middle|bottom, 
  2233.                    HEIGHT=n., WIDTH=n., BORDER=n., HSPACE=n., VSPACE=n., 
  2234.                    USEMAP=URL, ISMAP 
  2235.  Contents:         None (Empty). 
  2236.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  2237.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  2238.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  2239.                    CAPTION. 
  2240.  
  2241.  The IMG tag is used to insert images within text. These are often called 
  2242.  "inline" images. Note that the IMG tag is not a block tag by itself, so it 
  2243.  must be used only within a block element. The location of the image file 
  2244.  should be specified in the SRC attribute. It can be a relative or an absolute 
  2245.  URL. When the image cannot be displayed for whatever reason, the browser 
  2246.  should display the ALT text instead. The WIDTH and HEIGHT attributes should 
  2247.  contain the image's dimensions. This allows a browser to lay out the page in 
  2248.  advance, as it now knows where the text below the image should be drawn. 
  2249.  
  2250.  ALIGN controls the alignment of the image with respect to the text. Using a 
  2251.  value of LEFT or RIGHT will make the image line up against the left or right 
  2252.  margin, and text will flow around it.  To force text below such an aligned 
  2253.  image, use BR with the CLEAR attribute.  The values TOP, MIDDLE and BOTTOM 
  2254.  specify where any text following the image should be put. If more than one 
  2255.  line follows after the image, it will be put below the image. 
  2256.  
  2257.  VSPACE and HSPACE get a numeric value, indicating the number of pixels that 
  2258.  should be left free around the image. VSPACE covers vertical spacing and 
  2259.  HSPACE the horizontal spacing. 
  2260.  
  2261.  The BORDER attribute is used when the image is a link. It indicates that the 
  2262.  browser should draw a border of the indicated size around the image to show 
  2263.  that it is a link. It's most often used as BORDER=0 to turn it off. This has 
  2264.  the disadvantage that the image must make it very clear that it's a hyperlink. 
  2265.  
  2266.  ISMAP and USEMAP are used for imagemaps. The ISMAP attribute specifies that 
  2267.  the link that this image is in goes to an imagemap program on the server, so 
  2268.  the browser can send the coordinates of the selected location to the server. 
  2269.  USEMAP is used for a so-called client-side imagemap. It specifies the URL of 
  2270.  the imagemap information. Support for this is limited, especially if the URL 
  2271.  points to a different document rather than an inline anchor. See the section 
  2272.  on the MAP tag for more information about client-side imagemaps. 
  2273.  
  2274.  
  2275.  Notes 
  2276.  
  2277.      Most browsers only support GIF and JPEG file types for inline images. 
  2278.  
  2279.      The ALT text may not contain markup, other than entities. Not all 
  2280.       browsers support entities in ALT text, so be careful. 
  2281.  
  2282.      Although the ALT attribute is not required, it is good practice to add 
  2283.       it. It should replace the image's meaning, and not just provide a 
  2284.       description of the image! If the image is purely decorational, use ALT="" 
  2285.       or a decorative ALT text like "* " if possible. 
  2286.  
  2287.      Using WIDTH and HEIGHT with incorrect values, or with percentage values 
  2288.       is not valid. Some browsers (most notably Netscape) resize the image to 
  2289.       the indicated size, but this often gives very poor results. Other 
  2290.       browsers simply ignore the WIDTH and HEIGHT attributes in such a case. 
  2291.  
  2292.      Browsers which do not draw boxes around hyperlinked images will not honor 
  2293.       the BORDER attribute. 
  2294.  
  2295.  
  2296. ΓòÉΓòÉΓòÉ 2.7.8. MAP - Client-side imagemap ΓòÉΓòÉΓòÉ
  2297.  
  2298.  Appearance:       <MAP NAME=string> </MAP> 
  2299.  Attributes:       NAME=string 
  2300.  Contents:         AREA. 
  2301.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  2302.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  2303.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  2304.                    CAPTION. 
  2305.  
  2306.  When you use a client-side imagemap, the information on the "hot spots" 
  2307.  (clickable areas) in the image is defined here. Every selectable area should 
  2308.  be mentioned in an AREA tag inside the MAP tag. The NAME attribute on the MAP 
  2309.  tag assigns a name to the imagemap. The URL for the client-side imagemap 
  2310.  should point to this. 
  2311.  
  2312.  For example, if you have a map named "foo", you could reference to it with 
  2313.  <IMG SRC="map.gif" USEMAP="#foo"> if the image was on the same page. 
  2314.  
  2315.  
  2316.  Notes 
  2317.  
  2318.      Client-side imagemaps are not widely supported yet, so try to offer a 
  2319.       textual alternative or also use a server-side imagemap. This can be done 
  2320.       by putting the IMG tag with the USEMAP attribute inside an A and by 
  2321.       adding the ISMAP attribute. 
  2322.  
  2323.      Having the imagemap data in a separate file is not as widely supported as 
  2324.       inlined data. 
  2325.  
  2326.  
  2327. ΓòÉΓòÉΓòÉ 2.7.9. PARAM - Parameters for Java applet ΓòÉΓòÉΓòÉ
  2328.  
  2329.  Appearance:       <PARAM NAME=x VALUE=y> 
  2330.  Attributes:       NAME=string VALUE=string 
  2331.  Contents:         None (Empty). 
  2332.  May occur in:     APPLET. 
  2333.  
  2334.  The PARAM element is used to provide "command-line" arguments to a Java 
  2335.  applet, which is embedded in a document with the APPLET element. It has two 
  2336.  attributes: NAME specifies the name of the argument, and VALUE specifies the 
  2337.  value for this argument. 
  2338.  
  2339.  
  2340.  Notes 
  2341.  
  2342.      In a Java applet, the names of arguments are treated in a case-sensitive 
  2343.       manner, so make sure you get the case right in the PARAM tag. 
  2344.  
  2345.      Anyone can take the source of your Java page and change the values you 
  2346.       supply for your parameters. Make sure the applet can handle this. 
  2347.  
  2348.  
  2349. ΓòÉΓòÉΓòÉ 2.7.10. STRIKE - Strike-through text ΓòÉΓòÉΓòÉ
  2350.  
  2351.  Appearance:       <STRIKE> </STRIKE> 
  2352.  Attributes:       None. 
  2353.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  2354.                    CITE, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and 
  2355.                    plain text. 
  2356.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  2357.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  2358.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  2359.                    CAPTION. 
  2360.  
  2361.  The STRIKE tag specifies that the enclosed text should be rendered in a 
  2362.  strike-through appearance. Usually this is done with a line through the middle 
  2363.  of the text. 
  2364.  
  2365.  
  2366.  Notes 
  2367.  
  2368.      Since this tag is new, support for it is not universal. If you absolutely 
  2369.       require strikethrough text, you will have to use an image. 
  2370.  
  2371.  
  2372. ΓòÉΓòÉΓòÉ 2.8. Form elements ΓòÉΓòÉΓòÉ
  2373.  
  2374. With forms, the user can enter data and send it to a program on the server. 
  2375. This program can then process the data and send a certain request back. The 
  2376. program to process the form, as well as the method to send the data to it, are 
  2377. specified using the FORM element. The ACTION attribute indicates the processing 
  2378. script, and the METHOD attribute indicates the method: GET or POST. Forms may 
  2379. not be nested, but you can have multiple forms on a document. 
  2380.  
  2381.      INPUT - Input field, button, etc. 
  2382.  
  2383.      SELECT - Selection list 
  2384.  
  2385.         -  OPTION - Selection list option 
  2386.  
  2387.      TEXTAREA - Input area 
  2388.  
  2389.  
  2390. ΓòÉΓòÉΓòÉ 2.8.1. INPUT - Input field ΓòÉΓòÉΓòÉ
  2391.  
  2392.  Appearance:       <INPUT TYPE=x NAME=y> 
  2393.  Attributes: 
  2394.                    TYPE=text|password|checkbox|radio|submit|reset|file|hidden|image, 
  2395.                    NAME=string, VALUE=string, CHECKED, SIZE=n., MAXLENGTH=n., 
  2396.                    SRC=URL, ALIGN=top|middle|bottom|left|right 
  2397.  Contents:         None (Empty). 
  2398.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  2399.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  2400.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  2401.                    CAPTION, but must be inside a FORM. 
  2402.  
  2403.  The INPUT tag is probably the most useful tag inside forms. It can generate 
  2404.  buttons, input fields and checkboxes. In all cases, the NAME attribute must be 
  2405.  set. 
  2406.  
  2407.  TYPE=text 
  2408.                      This generates a input field, where the user can enter up 
  2409.                      to MAXLENGTH characters. The SIZE attribute lists the 
  2410.                      length of the input field (if the user enters more 
  2411.                      characters, the text will scroll). The VALUE attribute 
  2412.                      specifies the initial value for the input field. 
  2413.  
  2414.  TYPE=password 
  2415.                      Same as TYPE=text, but the text will be hidden by "*" or 
  2416.                      similar characters. It is still sent in the clear to the 
  2417.                      server, though. 
  2418.  
  2419.  TYPE=checkbox 
  2420.                      Produces a checkbox. It has two states, on and off. When 
  2421.                      it is on when the form is submitted, it will be sent as 
  2422.                      "name=on", otherwise it is ignored altogether. If you use 
  2423.                      CHECKED, it will come up checked (selected) initially. 
  2424.  
  2425.  TYPE=radio 
  2426.                      Produces a radio button. A radio button always exists in a 
  2427.                      group. All members of this group should have the same NAME 
  2428.                      attribute, and different VALUEs. The VALUE of the selected 
  2429.                      radio button will be sent to the server. You must specify 
  2430.                      CHECKED on exactly one radio button, which then will come 
  2431.                      up selected initially. 
  2432.  
  2433.  TYPE=submit 
  2434.                      Produces a button, which when pressed sends the contents 
  2435.                      of the form to the server. You can have more than one 
  2436.                      submit button in the form. Each should have a different 
  2437.                      NAME. The name and value of the pressed button will be 
  2438.                      sent to the server as well. The value of the VALUE 
  2439.                      attribute is typically used as text on the submit button. 
  2440.  
  2441.  TYPE=reset 
  2442.                      Also produces a button, which will restore the form to its 
  2443.                      original state if pressed. The value of the VALUE 
  2444.                      attribute is typically used as text on the reset button. 
  2445.  
  2446.  TYPE=file 
  2447.                      Allows the user to upload a file. It is still very new, so 
  2448.                      it is not very widely supported. It is typically presented 
  2449.                      as an input box with a button to start browsing the local 
  2450.                      hard disk. This way, a user can specify one or more 
  2451.                      filename(s) to upload. 
  2452.  
  2453.  TYPE=hidden 
  2454.                      Allows you to embed information in the form which you do 
  2455.                      not want changed. This can be useful if the document is 
  2456.                      generated by a script and you need to store state 
  2457.                      information. NAME and VALUE of this input field will be 
  2458.                      sent to the server without modifications. 
  2459.  
  2460.  TYPE=image 
  2461.                      Functions similar to a submit button, but uses an image 
  2462.                      instead. The ALIGN attribute controls the alignment of the 
  2463.                      image. The coordinates of the selected region will also be 
  2464.                      sent to the server, in the form of "NAME.x=n.&NAME.y=n.". 
  2465.                      A text browser will treat it as identical to a normal 
  2466.                      submit button. 
  2467.  
  2468.  
  2469.  Notes 
  2470.  
  2471.      Do not expect that if you set MAXLENGTH, you will get no more than so 
  2472.       many characters. Anyone can modify his local copy of your form to enter 
  2473.       as many characters as he wants. 
  2474.  
  2475.  
  2476. ΓòÉΓòÉΓòÉ 2.8.2. OPTION - Selection list option ΓòÉΓòÉΓòÉ
  2477.  
  2478.  Appearance:       <OPTION> [</OPTION>] 
  2479.  Attributes:       VALUE=string, SELECTED 
  2480.  Contents:         Plain text. 
  2481.  May occur in:     SELECT. 
  2482.  
  2483.  The OPTION tag is used inside a SELECT selection list to indicate an option. 
  2484.  You may not use markup in an option. All options listed will be displayed in a 
  2485.  list or drop-down box, and the user can select one or more from the list. The 
  2486.  VALUE of each option should be unique. 
  2487.  
  2488.  If you specify the SELECTED attribute, this option will appear selected when 
  2489.  the form comes up initially. 
  2490.  
  2491.  
  2492.  Notes 
  2493.  
  2494.      Pre-selecting more than one item should only be done if the SELECT tag 
  2495.       has the MULTIPLE attribute defined. 
  2496.  
  2497.  
  2498. ΓòÉΓòÉΓòÉ 2.8.3. SELECT - Selection list ΓòÉΓòÉΓòÉ
  2499.  
  2500.  Appearance:       <SELECT NAME=string> </SELECT> 
  2501.  Attributes:       NAME=string, SIZE=n., MULTIPLE 
  2502.  Contents:         OPTION. 
  2503.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  2504.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  2505.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  2506.                    CAPTION, but must be inside a FORM. 
  2507.  
  2508.  The SELECT tag is used inside forms to generate a list of items from which the 
  2509.  user can select one or more. Each item is listed in an OPTION tag. The value 
  2510.  of the selected OPTION tag is assigned to the NAME of the SELECT tag, and both 
  2511.  are sent to the server when the form is submitted. 
  2512.  
  2513.  The SIZE attribute indicates how many items are visible at once. If set to 
  2514.  one, you will get a drop-down list. If it's more than one, you will get a 
  2515.  scrollable list. If the MULTIPLE attribute is selected, the user can select 
  2516.  more than one item from the list. 
  2517.  
  2518.  
  2519.  Notes 
  2520.  
  2521.      Exactly how a user can select more than one item at once is dependant on 
  2522.       his platform, so do not include "instructions" on how to do this. They 
  2523.       may be wrong and can cause a lot of confusion. 
  2524.  
  2525.      If you use MULTIPLE, set the SIZE to more than one. This makes it easier 
  2526.       to select more than one item. 
  2527.  
  2528.  
  2529. ΓòÉΓòÉΓòÉ 2.8.4. TEXTAREA - Input area ΓòÉΓòÉΓòÉ
  2530.  
  2531.  Appearance:       <TEXTAREA NAME=string, ROWS=n., COLS=n.> </TEXTAREA> 
  2532.  Attributes:       NAME=string, ROWS=n., COLS=n. 
  2533.  Contents:         Plain text. 
  2534.  May occur in:     DIV, CENTER, BLOCKQUOTE, FORM, TH, TD, DT, DD, LI, P, H1, 
  2535.                    H2, H3, H4, H5, H6, ADDRESS, TT, I, B, U, STRIKE, EM, 
  2536.                    STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, FONT, APPLET, 
  2537.                    CAPTION, but must be inside a FORM. 
  2538.  
  2539.  The TEXTAREA tag, used inside FORMs, sets up an area in which the user can 
  2540.  type text. This text will be sent to the server when the form is submitted. 
  2541.  The user can enter more than one line (as opposed to <INPUT TYPE=text> which 
  2542.  only permits one line), although he will have to break lines himself. 
  2543.  
  2544.  The NAME attribute assigns the text area a name, used by the script which 
  2545.  processes the form. ROWS and COLS are used to specify the height and width of 
  2546.  the text area, in number of characters. 
  2547.  
  2548.  To supply default text for the text area, put it inside the TEXTAREA tag. You 
  2549.  may not use markup for this default value. 
  2550.  
  2551.  
  2552.  Notes 
  2553.  
  2554.      Not all browsers send the linebreaks that users type (if they do so at 
  2555.       all), so your script may have to rewrap the text itself. 
  2556.  
  2557.  
  2558. ΓòÉΓòÉΓòÉ 2.9. List elements ΓòÉΓòÉΓòÉ
  2559.  
  2560. HTML knows three major types of lists: ordered, unordered and "definition" 
  2561. lists. The former two differ only in the labeling of each list item; ordered 
  2562. lists are numbered and unordered lists are bulleted. 
  2563.  
  2564. A definition list is similar to an unordered list, except in that it uses two 
  2565. elements per item: DT marks up the term to be defined, and DD provides its 
  2566. definition. These are the only two elements that may appear inside DL. A 
  2567. definition list typically appears without bullets. 
  2568.  
  2569.      UL - Unordered list 
  2570.  
  2571.      OL - Ordered list 
  2572.  
  2573.      DIR - Directory list 
  2574.  
  2575.      MENU - Menu item list 
  2576.  
  2577.      LI - List item 
  2578.  
  2579.      DL - Definition list 
  2580.  
  2581.         -  DT - Definition term 
  2582.  
  2583.         -  DD- Definition 
  2584.  
  2585.  
  2586. ΓòÉΓòÉΓòÉ 2.9.1. DD - Definition ΓòÉΓòÉΓòÉ
  2587.  
  2588.  Appearance:       <DD> [</DD>] 
  2589.  Attributes:       None. 
  2590.  Contents:         P, UL, OL, DIR, MENU, PRE, DL, DIV, CENTER, BLOCKQUOTE, HR, 
  2591.                    TABLE, ADDRESS and TT, I, B, U, STRIKE, EM, STRONG, DFN, 
  2592.                    CODE, SAMP, KBD, VAR, CITE, APPLET, BASEFONT, BR, MAP, 
  2593.                    INPUT, SELECT, TEXTAREA and plain text. 
  2594.  May occur in:     DL. 
  2595.  
  2596.  The DD tag is used inside a DL definition list to provide the definition of 
  2597.  the text in the DT tag. It may contain block elements but also plain text and 
  2598.  markup. The end tag is optional, as it's always clear from the context where 
  2599.  the tag's contents ends. 
  2600.  
  2601.  A typical rendering is indented, one line below the DT, but this is not 
  2602.  guaranteed. 
  2603.  
  2604.  
  2605.  Notes 
  2606.  
  2607.      Some people use this tag out of its proper context (DL only) to achieve 
  2608.       an "indent" in text. Don't do this, it is not valid and not guaranteed to 
  2609.       work. 
  2610.  
  2611.  
  2612. ΓòÉΓòÉΓòÉ 2.9.2. DIR - Directory list ΓòÉΓòÉΓòÉ
  2613.  
  2614.  Appearance:       <DIR> </DIR> 
  2615.  Attributes:       COMPACT 
  2616.  Contents:         LI. 
  2617.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  2618.  
  2619.  The DIR element is similar to the UL element. It represents a list of short 
  2620.  items, typically up to 20 characters each. Items in a directory list may be 
  2621.  arranged in columns, typically 24 characters wide. 
  2622.  
  2623.  
  2624.  Notes 
  2625.  
  2626.      It is not permitted to use a block elements, list elements or TABLE in a 
  2627.       LI inside a MENU or DIR. 
  2628.  
  2629.  
  2630. ΓòÉΓòÉΓòÉ 2.9.3. DL - Definition list ΓòÉΓòÉΓòÉ
  2631.  
  2632.  Appearance:       <DL> </DL> 
  2633.  Attributes:       COMPACT 
  2634.  Contents:         DT, DD. 
  2635.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  2636.  
  2637.  DL is used to provide a list of items with associated definitions. Every item 
  2638.  should be put in a DT, and its definition goes in the DD directly following 
  2639.  it. This list is typically rendered without bullets of any kind. 
  2640.  
  2641.  While it is legal to have a DL with only DD or DT tags, it doesn't make much 
  2642.  sense (what good is a definition without a term?) and you shouldn't expect it 
  2643.  to get rendered as a normal list. 
  2644.  
  2645.  
  2646.  Notes 
  2647.  
  2648.      DL may not contain plain text or any tag other than DT or DD. 
  2649.  
  2650.      Do not use DL to create an indented section of text. This is not 
  2651.       guaranteed to work and it is syntactically invalid HTML. 
  2652.  
  2653.  
  2654. ΓòÉΓòÉΓòÉ 2.9.4. DT - Definition term ΓòÉΓòÉΓòÉ
  2655.  
  2656.  Appearance:       <DT> [</DT>] 
  2657.  Attributes:       None. 
  2658.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  2659.                    CITE, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and 
  2660.                    plain text. 
  2661.  May occur in:     DL. 
  2662.  
  2663.  The DT tag is used inside DL. It marks up a term whose definition is provide 
  2664.  by the next DD. The DT tag may only contain text-level markup. 
  2665.  
  2666.  
  2667.  Notes 
  2668.  
  2669.      Although it is legal, using a DT without a corresponding DD tag is quite 
  2670.       pointless. 
  2671.  
  2672.  
  2673. ΓòÉΓòÉΓòÉ 2.9.5. LI - List item ΓòÉΓòÉΓòÉ
  2674.  
  2675.  Appearance:       <LI> [</LI>] 
  2676.  Attributes:       TYPE=disc|square|circle when in UL, TYPE=1|a|A|i|I when in 
  2677.                    OL, VALUE=n. 
  2678.  Contents:         P, UL, OL, DIR, MENU, PRE, DL, DIV, CENTER, BLOCKQUOTE, HR, 
  2679.                    TABLE, ADDRESS and TT, I, B, U, STRIKE, EM, STRONG, DFN, 
  2680.                    CODE, SAMP, KBD, VAR, CITE, APPLET, BASEFONT, BR, MAP, 
  2681.                    INPUT, SELECT, TEXTAREA and plain text. 
  2682.  May occur in:     UL, OL, DIR, MENU. 
  2683.  
  2684.  The LI element is used to mark list items within a list. When the list used is 
  2685.  OL, ordered list, the LI element will be rendered with a number. The 
  2686.  appearance of that number can be controlled with the TYPE attribute. 
  2687.  Similarly, inside an unordered list UL the type of bullet that is displayed 
  2688.  can be controlled with TYPE. DIR and MENU can't be controlled this way, as 
  2689.  they are not required to be bulleted or numbered. For ordered lists, you can 
  2690.  also reset the sequence with the VALUE attribute. 
  2691.  
  2692.  The TYPEs for ordered lists should give the following appearance: 
  2693.  
  2694.      1 - Arabic numbers (default) (1, 2, 3, 4, ...) 
  2695.  
  2696.      a - Alphanumeric, lowercase (a, b, c, d, ...) 
  2697.  
  2698.      A - Alphanumeric, uppercase (A, B, C, D, ...) 
  2699.  
  2700.      i - Roman numbers, lowercase (i, ii, iii, iv, ...) 
  2701.  
  2702.      I - Roman numbers, uppercase (I, II, III, IV, ...) 
  2703.  
  2704.  
  2705.  Notes 
  2706.  
  2707.      The attributes on LI are new with HTML 3.2, and so not supported by all 
  2708.       browsers yet. 
  2709.  
  2710.      Using LI outside its proper context to get a bullet in the text is not 
  2711.       guaranteed to work.  A browser is free to ignore such an out-of-context 
  2712.       item. 
  2713.  
  2714.      When the LI element is used inside MENU or DIR, it is not permitted to 
  2715.       include block elements, list elements or TABLEs in the LI's contents. 
  2716.  
  2717.  
  2718. ΓòÉΓòÉΓòÉ 2.9.6. MENU - Menu item list ΓòÉΓòÉΓòÉ
  2719.  
  2720.  Appearance:       <MENU> </MENU> 
  2721.  Attributes:       COMPACT 
  2722.  Contents:         LI. 
  2723.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  2724.  
  2725.  The MENU item produces a list like UL, but it should be rendered more compact. 
  2726.  Not all browsers make this distinction, and some render it without a bullet at 
  2727.  all. 
  2728.  
  2729.  
  2730.  Notes 
  2731.  
  2732.      It is not permitted to use a block elements, list elements or TABLE in a 
  2733.       LI inside a MENU or DIR. 
  2734.  
  2735.  
  2736. ΓòÉΓòÉΓòÉ 2.9.7. OL - Ordered list ΓòÉΓòÉΓòÉ
  2737.  
  2738.  Appearance:       <OL> </OL> 
  2739.  Attributes:       TYPE=1|a|A|i|I, START=n., COMPACT 
  2740.  Contents:         LI 
  2741.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  2742.  
  2743.  The OL tag marks up an ordered list of items. Each item should be marked up 
  2744.  with a LI, and it will be displayed with a number in front of it. The 
  2745.  appearance of the number can be controlled with the TYPE attribute: 
  2746.  
  2747.      1 - Arabic numbers (default) (1, 2, 3, 4, ...) 
  2748.  
  2749.      a - Alphanumeric, lowercase (a, b, c, d, ...) 
  2750.  
  2751.      A - Alphanumeric, uppercase (A, B, C, D, ...) 
  2752.  
  2753.      i - Roman numbers, lowercase (i, ii, iii, iv, ...) 
  2754.  
  2755.      I - Roman numbers, uppercase (I, II, III, IV, ...) 
  2756.  
  2757.  The START attribute indicates where the list should start. The COMPACT 
  2758.  attribute indicates that the list contains only short list items, so it may be 
  2759.  rendered in a more compact way. This is currently not widely supported. 
  2760.  
  2761.  
  2762.  Notes 
  2763.  
  2764.      If you want a list with bullets rather than numbers, use UL. 
  2765.  
  2766.      Not all browsers support TYPE and START, so do not assume that they will 
  2767.       work for your visitor. 
  2768.  
  2769.  
  2770. ΓòÉΓòÉΓòÉ 2.9.8. UL - Unordered list ΓòÉΓòÉΓòÉ
  2771.  
  2772.  Appearance:       <UL> </UL> 
  2773.  Attributes:       TYPE=disc|square|circle, COMPACT 
  2774.  Contents:         LI. 
  2775.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  2776.  
  2777.  The UL element indicates an unordered list. Every item in a list is marked 
  2778.  with LI, and usually appears with a bullet of some sort in front of it. If you 
  2779.  need numbering, use OL for an ordered list. 
  2780.  
  2781.  The type of bullet can be suggested with the TYPE attribute. You have three 
  2782.  possible styles: "disc" for a closed bullet, "square" for an open square and 
  2783.  "circle" for an open bullet. The COMPACT attribute is used to indicate that 
  2784.  the list items are short, so the browser can render the list more compact. For 
  2785.  example, it could put more than one item on a line. 
  2786.  
  2787.  
  2788.  Notes 
  2789.  
  2790.      Do not put anything but LI list items inside an UL. 
  2791.  
  2792.      The COMPACT attribute is not widely implemented. 
  2793.  
  2794.      Not all browsers support the TYPE attribute, so if you use it, make sure 
  2795.       the list still "works" without it. 
  2796.  
  2797.  
  2798. ΓòÉΓòÉΓòÉ 2.10. Table elements. ΓòÉΓòÉΓòÉ
  2799.  
  2800. Tables are used to present tabular information.  In HTML, tables are 
  2801. constructed as a series of rows. Before the first row, the CAPTION element 
  2802. provides a caption for the table. 
  2803.  
  2804.      CAPTION - Table caption 
  2805.  
  2806.      TR - Table row 
  2807.  
  2808.      TH - Header cell 
  2809.  
  2810.      TD - Table cell 
  2811.  
  2812.  
  2813. ΓòÉΓòÉΓòÉ 2.10.1. CAPTION - Table caption ΓòÉΓòÉΓòÉ
  2814.  
  2815.  Appearance:       <CAPTION> </CAPTION> 
  2816.  Attributes:       ALIGN=top|bottom 
  2817.  Contents:         TT, I, B, U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, 
  2818.                    CITE, APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and 
  2819.                    plain text. 
  2820.  May occur in:     TABLE. 
  2821.  
  2822.  The CAPTION tag is used to provide a caption for a TABLE. This caption can 
  2823.  either appear above or below the table. This can be indicated with the ALIGN 
  2824.  attribute. It is usually centered with respect to the table itself, and 
  2825.  usually appears in bold or is emphasized in some other way. 
  2826.  
  2827.  The tag should appear directly below the TABLE tag, before the first TR. 
  2828.  
  2829.  
  2830.  Notes 
  2831.  
  2832.      Although you can use all text-level markup inside a CAPTION, it should be 
  2833.       brief, so don't include images or large amounts of text in it. 
  2834.  
  2835.  
  2836. ΓòÉΓòÉΓòÉ 2.10.2. TABLE - HTML Tables ΓòÉΓòÉΓòÉ
  2837.  
  2838.  Appearance:       <TABLE> </TABLE> 
  2839.  Attributes:       ALIGN=left|center|right, WIDTH=n.|p%, BORDER[=n.], 
  2840.                    CELLSPACING=n., CELLPADDING=n. 
  2841.  Contents:         One CAPTION, TR. 
  2842.  May occur in:     BODY, DIV, CENTER, BLOCKQUOTE, TH, TD, DD, LI. 
  2843.  
  2844.  An HTML table starts with an optional caption followed by one or more rows. 
  2845.  Each row consists of one or more cells, which can be either header or data 
  2846.  cells. Cells can overlap across rows and columns. 
  2847.  
  2848.  The ALIGN attribute controls the alignment of the table itself, but not of the 
  2849.  individual cells. This can be set either in the TR element for an entire row, 
  2850.  or in the TD and TH elements for individual cells. The WIDTH attribute can be 
  2851.  a pixel width or a percentage. It indicates the suggested width of the table, 
  2852.  although the browser can ignore this if it is not possible. A "100%" value 
  2853.  means the table will span across the entire browser window. 
  2854.  
  2855.  You can get a border around the table with the BORDER attribute. If you use 
  2856.  BORDER without a value, it defaults to a width of one. Otherwise the border is 
  2857.  drawn as wide as you specify. You cannot widen or shrink the lines between 
  2858.  table cells or rows. 
  2859.  
  2860.  However, you can increase the whitespace inside a table. The CELLPADDING 
  2861.  attribute indicates how many pixels there should be between a cell's contents 
  2862.  and the border. CELLSPACING indicates how much whitespace (in pixels) there 
  2863.  should be between individual cells. 
  2864.  
  2865.  As an example, here is a table from the HTML 3.0 draft: 
  2866.  
  2867.   <TABLE BORDER>
  2868.    <CAPTION>A test table with merged cells</CAPTION>
  2869.    <TR><TH ROWSPAN=2><TH COLSPAN=2>Average
  2870.    <TH ROWSPAN=2>other<BR>category<TH>Misc
  2871.    <TR><TH>height<TH>weight
  2872.    <TR><TH ALIGN=LEFT>males<TD>1.9<TD>0.003
  2873.    <TR><TH ALIGN=LEFT ROWSPAN=2>females<TD>1.7<TD>0.002
  2874.   </TABLE>
  2875.  
  2876.  This could appear as follows, in a text browser: 
  2877.  
  2878.        A test table with merged cells
  2879.   /--------------------------------------------------\
  2880.   |      |    Average    |  other  |  Misc  |
  2881.   |      |-------------------| category |--------|
  2882.   |      |  height |  weight |      |     |
  2883.   |-----------------------------------------|--------|
  2884.   | males   |  1.9  |  0.003  |      |     |
  2885.   |-----------------------------------------|--------|
  2886.   | females  |  1.7  |  0.002  |      |     |
  2887.   \--------------------------------------------------/
  2888.  
  2889.  
  2890.  Notes 
  2891.  
  2892.      Some browsers (in particular, all versions of Netscape) do not honor the 
  2893.       ALIGN attribute on a table. For these browsers, enclose the entire table 
  2894.       in a CENTER or <DIV ALIGN=CENTER> tag. 
  2895.  
  2896.      Avoid using pixel widths for a table. They force that the browser window 
  2897.       is sized to a particular width to see the entire table, which is not 
  2898.       always desirable, let alone possible. 
  2899.  
  2900.      Tables are often used for page layout purposes. This is not recommended, 
  2901.       since it totally screws up the display for browsers which do not support 
  2902.       tables, and it also often gives awkward results on small screens. 
  2903.  
  2904.      The HTML 3 draft did not include the values for the BORDER attribute, so 
  2905.       browsers which use this table model might draw a border around your table 
  2906.       when you use BORDER=0. 
  2907.  
  2908.      An empty table cell is typically drawn differently than a non-empty cell. 
  2909.       If you need a table cell with non content, but with the same appareance 
  2910.       as a non-empty cell, put " " in the cell. 
  2911.  
  2912.  
  2913. ΓòÉΓòÉΓòÉ 2.10.3. TD - Table cell ΓòÉΓòÉΓòÉ
  2914.  
  2915.  Appearance:       <TD> [</TD>] 
  2916.  Attributes:       ROWSPAN=n., COLSPAN=n., NOWRAP, ALIGN=left|right|center, 
  2917.                    VALIGN=top|middle|bottom|baseline, WIDTH=n., HEIGHT=n. 
  2918.  Contents:         H1, H2, H3, H4, H5, H6, P, UL, OL, DIR, MENU, PRE, DL, DIV, 
  2919.                    CENTER, BLOCKQUOTE, HR, TABLE, ADDRESS, as well as TT, I, B, 
  2920.                    U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, 
  2921.                    APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and plain 
  2922.                    text. 
  2923.  May occur in:     TR. 
  2924.  
  2925.  The TD tag is used to mark up individual cells inside a table row. It may 
  2926.  contain almost all tags, including nested tables. If the cell is a label of 
  2927.  some sort, use TH instead of TD. 
  2928.  
  2929.  The NOWRAP attribute indicates the contents of the current cell should not be 
  2930.  wrapped. You must use BR in the cell to force line breaks to prevent the 
  2931.  entire cell from showing up as just one line. 
  2932.  
  2933.  The ROWSPAN and COLSPAN attributes indicate how many rows or columns this cell 
  2934.  overlaps. If you use these attributes, make sure you count correctly or you 
  2935.  can get some very weird results. 
  2936.  
  2937.  The ALIGN and VALIGN attributes control the horizontal and vertical alignment 
  2938.  of the current cell. ALIGN can be set for left, right or centered cells. 
  2939.  VALIGN indicates that the table cell's contents should appear at the top, the 
  2940.  middle or the bottom of the row. The BASELINE value indicates that all cells 
  2941.  in this row should share the same baseline for the first line of text. Note 
  2942.  that align and valign attributes for a cell override the values set for the 
  2943.  row. 
  2944.  
  2945.  The WIDTH and HEIGHT attributes can be used to suggest a width and height for 
  2946.  this cell. This should be a value in pixels. Setting different widths for 
  2947.  multiple cells in the same column, or different heights for multiple cells in 
  2948.  one row can cause unexpected effects. 
  2949.  
  2950.  For an example on how to construct tables, please see the section on the TABLE 
  2951.  tag. 
  2952.  
  2953.  
  2954.  Notes 
  2955.  
  2956.      While it's not strictly required, it is good practice to close each table 
  2957.       cell explicitly. It makes your table easier to read. 
  2958.  
  2959.      If you include a table inside a table cell, be sure to close all cells 
  2960.       and rows. It is not required, but some browsers get the nested tables 
  2961.       wrong and render them incorrectly. 
  2962.  
  2963.      An empty cell is usually rendered differently than a cell with just 
  2964.       whitespace inside it. This especially shows if you have a border defined 
  2965.       for your table. 
  2966.  
  2967.      If you use images in a table cell, be sure to specify the WIDTH and 
  2968.       HEIGHT attributes in the IMG tag. This allows the browser to determine 
  2969.       the size of the cell in advance, so it can draw the table before the 
  2970.       image is loaded. Otherwise, the table will not appear until the image has 
  2971.       been loaded. This can mean a considerable delay before your page 
  2972.       displays. 
  2973.  
  2974.  
  2975. ΓòÉΓòÉΓòÉ 2.10.4. TH - Header cell ΓòÉΓòÉΓòÉ
  2976.  
  2977.  Appearance:       <TH> [</TH>] 
  2978.  Attributes:       ROWSPAN=n., COLSPAN=n., NOWRAP, ALIGN=left|right|center, 
  2979.                    VALIGN=top|middle|bottom|baseline, WIDTH=n., HEIGHT=n. 
  2980.  Contents:         H1, H2, H3, H4, H5, H6, P, UL, OL, DIR, MENU, PRE, DL, DIV, 
  2981.                    CENTER, BLOCKQUOTE, HR, TABLE, ADDRESS, as well as TT, I, B, 
  2982.                    U, STRIKE, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, 
  2983.                    APPLET, BASEFONT, BR, MAP, INPUT, SELECT, TEXTAREA and plain 
  2984.                    text. 
  2985.  May occur in:     TR. 
  2986.  
  2987.  Like the TD tag, a TH is used for a table cell. However, TH should be used 
  2988.  when the cell's contents is a heading of some sort, for example, when the text 
  2989.  is a label for a row of column. 
  2990.  
  2991.  See the section on TD for an explanation of the various attributes. 
  2992.  
  2993.  For an example on how to construct tables, please see the section on the TABLE 
  2994.  tag. 
  2995.  
  2996.  
  2997.  Notes 
  2998.  
  2999.      While it's not strictly required, it is good practice to close each table 
  3000.       cell explicitly. It makes your table easier to read. 
  3001.  
  3002.      If you include a table inside a table cell, be sure to close all cells 
  3003.       and rows. It is not required, but some browsers get the nested tables 
  3004.       wrong and render them incorrectly. 
  3005.  
  3006.      An empty cell is usually rendered differently than a cell with just 
  3007.       whitespace inside it. This especially shows if you have a border defined 
  3008.       for your table. 
  3009.  
  3010.      If you use images in a table cell, be sure to specify the WIDTH and 
  3011.       HEIGHT attributes in the IMG tag. This allows the browser to determine 
  3012.       the size of the cell in advance, so it can draw the table before the 
  3013.       image is loaded. Otherwise, the table will not appear until the image has 
  3014.       been loaded. This can mean a considerable delay before your page 
  3015.       displays. 
  3016.  
  3017.  
  3018. ΓòÉΓòÉΓòÉ 2.10.5. TR - Table row ΓòÉΓòÉΓòÉ
  3019.  
  3020.  Appearance:       <TR> [</TR>] 
  3021.  Attributes:       ALIGN=left|right|center, VALIGN=top|middle|bottom|baseline 
  3022.  Contents:         TH, TD. 
  3023.  May occur in:     TABLE. 
  3024.  
  3025.  HTML tables are constructed as a sequence of rows. Each row of table cells 
  3026.  should be enclosed in a TR tag. The end tag is optional, since it is usually 
  3027.  obvious to see where a row ends - where the new row begins, or where the 
  3028.  entire table ends. 
  3029.  
  3030.  The ALIGN and VALIGN attributes control the horizontal and vertical alignment 
  3031.  of the entire row. ALIGN can be set for left, right or centered cells. VALIGN 
  3032.  indicates that the table cell's contents should appear at the top, the middle 
  3033.  or the bottom of the row. The BASELINE value indicates that all cells in this 
  3034.  row should share the same baseline for the first line of text. 
  3035.  
  3036.  For an example on how to construct tables, see the section on the TABLE tag. 
  3037.  
  3038.  
  3039.  Notes 
  3040.  
  3041.      While it's not strictly required, it is good practice to close each table 
  3042.       row explicitly. It makes your table easier to read. 
  3043.  
  3044.      If you include a table inside a table cell, be sure to close all cells 
  3045.       and rows. If you don't, some browsers may get the nested tables wrong and 
  3046.       render it incorrectly. 
  3047.  
  3048.  
  3049. ΓòÉΓòÉΓòÉ 3. About the WDG and copyright information ΓòÉΓòÉΓòÉ
  3050.  
  3051. The Web Design Group was founded in 1996 to promote the creation of Websites 
  3052. that are accessible by all users, regardless of platform, browser or other 
  3053. requirements. One of the earliest efforts was the publishing of the Wilbur 
  3054. Reference, a complete overview of all HTML 3.2 elements. This reference has now 
  3055. been published in several books, and is used in at least five HTML editors. 
  3056.  
  3057. To make things easier for HTML authors, there is also an 'offline' version of 
  3058. the reference available. Currently, there are Windows help files, OS/2 INF 
  3059. files and an archive with HTML sources available for downloading. 
  3060.  
  3061. This reference is free for personal use. It may be redistributed in unaltered 
  3062. form, provided there is no money charged for the reference and it is made clear 
  3063. that the reference is available on the World Wide Web, on the URL 
  3064. http://www.htmlhelp.com/reference/wilbur/ 
  3065.  
  3066. Distribution of the reference in any form (including, but not limited to, the 
  3067. Windows help file, the OS/2 INF or HLP version) in a commercial product of any 
  3068. kind requires prior permission from its copyright holder. The WDG requests that 
  3069. companies or individuals who want to bundle the reference with their product 
  3070. send a free, fully licensed and registered (if appliciable) version of the 
  3071. product to each WDG member. The same applies to books. 
  3072.  
  3073. OS/2 developers might find it interesting to know that there is also a "help" 
  3074. version of this reference available, which can be used for context-sensitive 
  3075. help in all OS/2 PM programs. This version is available upon request. 
  3076.  
  3077. For any questions, requests, suggestions and bug reports, please contact the 
  3078. author and copyright holder of this reference at galactus@htmlhelp.com (Arnoud 
  3079. "Galactus" Engelfriet).