home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / the_web / documents / spec / html_spec / head-elts_sg < prev    next >
Encoding:
Text File  |  1995-08-04  |  4.8 KB  |  137 lines

  1. <h3>Title: TITLE
  2.  
  3. <p>Every HTML document must contain a <tag/TITLE/ element.
  4.  
  5. <p> The title should identify the contents of the document in a global
  6. context.  A short title, such as "Introduction" may be meaningless out
  7. of context. A title such as "Introduction to HTML Elements" is more
  8. appropriate.
  9. <NOTE>The length of a title is not limited; however, long titles may
  10. be truncated in some applications. To minimize this possibility,
  11. titles should be fewer than 64 characters.</note>
  12.  
  13. <p> A user agent may display the title of a document in a history list
  14. or as a label for the window displaying the document. This differs
  15. from headings (<hdref refid=headings>), which are typically displayed
  16. within the body text flow.
  17.  
  18. <h3 id=base>Base Address: BASE
  19.  
  20. <p>The optional <tag/BASE/ element allows the address a document to be
  21. recorded in situations in which the document may be read out of
  22. context. The required <attr/HREF/ attribute specifies specifies the
  23. base URI (see <hdref refid=hyperlink>) for navigating the document,
  24. overriding any context otherwise known to the user agent. The value of
  25. the <attr/HREF/ attribute must be an absolute URI.
  26.  
  27. <h3>Keyword Index: ISINDEX
  28.  
  29. <p>The <tag/ISINDEX/ element indicates that the user agent should
  30. allow the user to search an index by giving keywords. See <hdref
  31. refid=query> for details.
  32.  
  33. <h3>Link: LINK
  34.  
  35. <p>The <tag/LINK/ element represents a hyperlink (see <hdref
  36. refid=hyperlink>). It has the same attributes as the <tag/A/ element
  37. (see <hdref refid=a>).
  38.  
  39. <p>The <tag/LINK/ element is typically used to indicate authorship,
  40. related indexes and glossaries, older or more recent versions,
  41. style sheets, document hierarchy etc.
  42.  
  43. <h3>Associated Meta-information: META
  44.  
  45. <p> The <tag/META/ element is an extensible container for use in
  46. identifying specialized document meta-information. Meta-information
  47. has two main functions:
  48.  
  49. <ul>
  50. <li>to provide a means to discover that the data set exists and
  51. how it might be obtained or accessed; and 
  52.  
  53. <li>to document the content, quality, and features of a data set,
  54. indicating its fitness for use. 
  55. </ul>
  56.  
  57. <p> Each <tag/META/ element specifies a name/value pair.  If multiple
  58. META elements are provided with the same name, their combined
  59. contents—concatenated as a comma-separated list—is the value
  60. associated with that name.
  61. <note>The <tag/META/ element should not be used where a specific
  62. element, such as <tag/TITLE/, would be more appropriate.
  63. </note>
  64.  
  65. <p>HTTP servers may read the content of the document <tag/HEAD/ to
  66. generate header fields corresponding to any elements defining a value
  67. for the attribute <attr/HTTP-EQUIV/.
  68. <note>The method by which the server extracts document meta-information is
  69. unspecified and not mandatory. The <tag/META/ element
  70. only provides an extensible mechanism for identifying and embedding
  71. document meta-information — how it may be used is up to the individual
  72. server implementation and the HTML user agent.
  73. </note>
  74.  
  75. <p>Attributes of the META element:
  76.  
  77. <tl>
  78. <tli>HTTP-EQUIV: binds the element to an HTTP header
  79. field. An HTTP server may use this information to process the
  80. document. In particular, it may include a header field in the
  81. responses to requests for this document: the header name is
  82. taken from the <attr/HTTP-EQUIV/ attribute value, and the header value
  83. is taken from the value of the <attr/CONTENT/ attribute. HTTP header
  84. names are not case sensitive.
  85.  
  86. <tli>NAME: specifies the name of the name/value pair. If not present,
  87. <attr/HTTP-EQUIV/ gives the name.
  88.  
  89. <tli>CONTENT: specifies the value of the name/value pair.
  90.  
  91. </tl>
  92.  
  93. <p>Examples
  94.  
  95. <p>If the document contains:
  96.  
  97. <listing><![CDATA[
  98. <META HTTP-EQUIV="Expires"
  99.       CONTENT="Tue, 04 Dec 1993 21:29:02 GMT">
  100. <meta http-equiv="Keywords" CONTENT="Fred">
  101. <META HTTP-EQUIV="Reply-to"
  102.       content="fielding@ics.uci.edu (Roy Fielding)">
  103. <Meta Http-equiv="Keywords" CONTENT="Barney">
  104. ]]></listing>
  105.  
  106. <p>then the server may include the following header fields:
  107.  
  108. <listing><![CDATA[
  109. Expires: Tue, 04 Dec 1993 21:29:02 GMT
  110. Keywords: Fred, Barney
  111. Reply-to: fielding@ics.uci.edu (Roy Fielding)
  112. ]]></listing>
  113.  
  114. <p>as part of the HTTP response to a <code/GET/ or <code/HEAD/ request
  115. for that document.
  116.  
  117. <p>An HTTP server must not use the <tag/META/ element to form an HTTP
  118. response header unless the <attr/HTTP-EQUIV/ attribute is present.
  119.  
  120. <p>An HTTP server may disregard any <tag/META/ elements that specify
  121. information controlled by the HTTP server, for example <code/Server/,
  122. <code/Date/, and <code/Last-modified/.
  123.  
  124. <h3>Next Id: NEXTID
  125.  
  126. <p> The <tag/NEXTID/ element is included for historical reasons only.
  127. HTML document should not contain <tag/NEXTID/ elements.
  128.  
  129. <p> The <tag/NEXTID/ element gives a hint for the name to use for a
  130. new <tag/A/ element when editing an HTML document. It should be
  131. distinct from all <attr/NAME/ attribute values on <tag/A/
  132. elements. For example:
  133.  
  134. <listing><![CDATA[
  135. <NEXTID N=Z27>
  136. ]]></listing>
  137.