home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / rfc / rfc1866 < prev    next >
Text File  |  1995-11-03  |  147KB  |  4,316 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                    T. Berners-Lee
  8. Request for Comments: 1866                                      MIT/W3C
  9. Category: Standards Track                                   D. Connolly
  10.                                                           November 1995
  11.  
  12.  
  13.                     Hypertext Markup Language - 2.0
  14.  
  15. Status of this Memo
  16.  
  17.    This document specifies an Internet standards track protocol for the
  18.    Internet community, and requests discussion and suggestions for
  19.    improvements.  Please refer to the current edition of the "Internet
  20.    Official Protocol Standards" (STD 1) for the standardization state
  21.    and status of this protocol.  Distribution of this memo is unlimited.
  22.  
  23. Abstract
  24.  
  25.    The Hypertext Markup Language (HTML) is a simple markup language used
  26.    to create hypertext documents that are platform independent. HTML
  27.    documents are SGML documents with generic semantics that are
  28.    appropriate for representing information from a wide range of
  29.    domains. HTML markup can represent hypertext news, mail,
  30.    documentation, and hypermedia; menus of options; database query
  31.    results; simple structured documents with in-lined graphics; and
  32.    hypertext views of existing bodies of information.
  33.  
  34.    HTML has been in use by the World Wide Web (WWW) global information
  35.    initiative since 1990. This specification roughly corresponds to the
  36.    capabilities of HTML in common use prior to June 1994. HTML is an
  37.    application of ISO Standard 8879:1986 Information Processing Text and
  38.    Office Systems; Standard Generalized Markup Language (SGML).
  39.  
  40.    The "text/html" Internet Media Type (RFC 1590) and MIME Content Type
  41.    (RFC 1521) is defined by this specification.
  42.  
  43. Table of Contents
  44.  
  45.     1.     Introduction ........................................... 2
  46.     1.1    Scope .................................................. 3
  47.     1.2    Conformance ............................................ 3
  48.     2.     Terms .................................................. 6
  49.     3.     HTML as an Application of SGML .........................10
  50.     3.1    SGML Documents .........................................10
  51.     3.2    HTML Lexical Syntax ................................... 12
  52.     3.3    HTML Public Text Identifiers .......................... 17
  53.     3.4    Example HTML Document ................................. 17
  54.     4.     HTML as an Internet Media Type ........................ 18
  55.  
  56.  
  57.  
  58. Berners-Lee & Connolly      Standards Track                     [Page 1]
  59.  
  60. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  61.  
  62.  
  63.     4.1    text/html media type .................................. 18
  64.     4.2    HTML Document Representation .......................... 19
  65.     5.     Document Structure .................................... 20
  66.     5.1    Document Element: HTML ................................ 21
  67.     5.2    Head: HEAD ............................................ 21
  68.     5.3    Body: BODY ............................................ 24
  69.     5.4    Headings: H1 ... H6 ................................... 24
  70.     5.5    Block Structuring Elements ............................ 25
  71.     5.6    List Elements ......................................... 28
  72.     5.7    Phrase Markup ......................................... 30
  73.     5.8    Line Break: BR ........................................ 34
  74.     5.9    Horizontal Rule: HR ................................... 34
  75.     5.10   Image: IMG ............................................ 34
  76.     6.     Characters, Words, and Paragraphs ..................... 35
  77.     6.1    The HTML Document Character Set ....................... 36
  78.     7.     Hyperlinks ............................................ 36
  79.     7.1    Accessing Resources ................................... 37
  80.     7.2    Activation of Hyperlinks .............................. 38
  81.     7.3    Simultaneous Presentation of Image Resources .......... 38
  82.     7.4    Fragment Identifiers .................................. 38
  83.     7.5    Queries and Indexes ................................... 39
  84.     7.6    Image Maps ............................................ 39
  85.     8.     Forms ................................................. 40
  86.     8.1    Form Elements ......................................... 40
  87.     8.2    Form Submission ....................................... 45
  88.     9.     HTML Public Text ...................................... 49
  89.     9.1    HTML DTD .............................................. 49
  90.     9.2    Strict HTML DTD ....................................... 61
  91.     9.3    Level 1 HTML DTD ...................................... 62
  92.     9.4    Strict Level 1 HTML DTD ............................... 63
  93.     9.5    SGML Declaration for HTML ............................. 64
  94.     9.6    Sample SGML Open Entity Catalog for HTML .............. 65
  95.     9.7    Character Entity Sets ................................. 66
  96.     10.    Security Considerations ............................... 69
  97.     11.    References ............................................ 69
  98.     12.    Acknowledgments ....................................... 71
  99.     12.1   Authors' Addresses .................................... 71
  100.     13.    The HTML Coded Character Set .......................... 72
  101.     14.    Proposed Entities ..................................... 75
  102.  
  103. 1. Introduction
  104.  
  105.    The HyperText Markup Language (HTML) is a simple data format used to
  106.    create hypertext documents that are portable from one platform to
  107.    another. HTML documents are SGML documents with generic semantics
  108.    that are appropriate for representing information from a wide range
  109.    of domains.
  110.  
  111.  
  112.  
  113.  
  114. Berners-Lee & Connolly      Standards Track                     [Page 2]
  115.  
  116. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  117.  
  118.  
  119.    As HTML is an application of SGML, this specification assumes a
  120.    working knowledge of [SGML].
  121.  
  122. 1.1. Scope
  123.  
  124.    HTML has been in use by the World-Wide Web (WWW) global information
  125.    initiative since 1990. Previously, informal documentation on HTML has
  126.    been available from a number of sources on the Internet. This
  127.    specification brings together, clarifies, and formalizes a set of
  128.    features that roughly corresponds to the capabilities of HTML in
  129.    common use prior to June 1994. A number of new features to HTML are
  130.    being proposed and experimented in the Internet community.
  131.  
  132.    This document thus defines a HTML 2.0 (to distinguish it from the
  133.    previous informal specifications). Future (generally upwardly
  134.    compatible) versions of HTML with new features will be released with
  135.    higher version numbers.
  136.  
  137.    HTML is an application of ISO Standard 8879:1986, "Information
  138.    Processing Text and Office Systems; Standard Generalized Markup
  139.    Language" (SGML). The HTML Document Type Definition (DTD) is a formal
  140.    definition of the HTML syntax in terms of SGML.
  141.  
  142.    This specification also defines HTML as an Internet Media
  143.    Type[IMEDIA] and MIME Content Type[MIME] called `text/html'. As such,
  144.    it defines the semantics of the HTML syntax and how that syntax
  145.    should be interpreted by user agents.
  146.  
  147. 1.2. Conformance
  148.  
  149.    This specification governs the syntax of HTML documents and aspects
  150.    of the behavior of HTML user agents.
  151.  
  152. 1.2.1. Documents
  153.  
  154.    A document is a conforming HTML document if:
  155.  
  156.         * It is a conforming SGML document, and it conforms to the
  157.         HTML DTD (see 9.1, "HTML DTD").
  158.  
  159.             NOTE - There are a number of syntactic idioms that
  160.             are not supported or are supported inconsistently in
  161.             some historical user agent implementations. These
  162.             idioms are identified in notes like this throughout
  163.             this specification.
  164.  
  165.         * It conforms to the application conventions in this
  166.         specification. For example, the value of the HREF attribute
  167.  
  168.  
  169.  
  170. Berners-Lee & Connolly      Standards Track                     [Page 3]
  171.  
  172. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  173.  
  174.  
  175.         of the <A> element must conform to the URI syntax.
  176.  
  177.         * Its document character set includes [ISO-8859-1] and
  178.         agrees with [ISO-10646]; that is, each code position listed
  179.         in 13, "The HTML Coded Character Set" is included, and each
  180.         code position in the document character set is mapped to the
  181.         same character as [ISO-10646] designates for that code
  182.         position.
  183.  
  184.             NOTE - The document character set is somewhat
  185.             independent of the character encoding scheme used to
  186.             represent a document. For example, the `ISO-2022-JP'
  187.             character encoding scheme can be used for HTML
  188.             documents, since its repertoire is a subset of the
  189.             [ISO-10646] repertoire. The critical distinction is
  190.             that numeric character references agree with
  191.             [ISO-10646] regardless of how the document is
  192.             encoded.
  193.  
  194. 1.2.2. Feature Test Entities
  195.  
  196.    The HTML DTD defines a standard HTML document type and several
  197.    variations, by way of feature test entities. Feature test entities
  198.    are declarations in the HTML DTD that control the inclusion or
  199.    exclusion of portions of the DTD.
  200.  
  201.     HTML.Recommended
  202.             Certain features of the language are necessary for
  203.             compatibility with widespread usage, but they may
  204.             compromise the structural integrity of a document. This
  205.             feature test entity selects a more prescriptive document
  206.             type definition that eliminates those features. It is
  207.             set to `IGNORE' by default.
  208.  
  209.             For example, in order to preserve the structure of a
  210.             document, an editing user agent may translate HTML
  211.             documents to the recommended subset, or it may require
  212.             that the documents be in the recommended subset for
  213.             import.
  214.  
  215.     HTML.Deprecated
  216.             Certain features of the language are necessary for
  217.             compatibility with earlier versions of the
  218.             specification, but they tend to be used and implemented
  219.             inconsistently, and their use is deprecated. This
  220.             feature test entity enables a document type definition
  221.             that allows these features. It is set to `INCLUDE' by
  222.             default.
  223.  
  224.  
  225.  
  226. Berners-Lee & Connolly      Standards Track                     [Page 4]
  227.  
  228. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  229.  
  230.  
  231.             Documents generated by translation software or editing
  232.             software should not contain deprecated idioms.
  233.  
  234. 1.2.3. User Agents
  235.  
  236.    An HTML user agent conforms to this specification if:
  237.  
  238.         * It parses the characters of an HTML document into data
  239.         characters and markup according to [SGML].
  240.  
  241.             NOTE - In the interest of robustness and
  242.             extensibility, there are a number of widely deployed
  243.             conventions for handling non-conforming documents.
  244.             See 4.2.1, "Undeclared Markup Error Handling" for
  245.             details.
  246.  
  247.         * It supports the `ISO-8859-1' character encoding scheme and
  248.         processes each character in the ISO Latin Alphabet No. 1 as
  249.         specified in 6.1, "The HTML Document Character Set".
  250.  
  251.             NOTE - To support non-western writing systems, HTML
  252.             user agents are encouraged to support
  253.             `ISO-10646-UCS-2' or similar character encoding
  254.             schemes and as much of the character repertoire of
  255.             [ISO-10646] as is practical.
  256.  
  257.         * It behaves identically for documents whose parsed token
  258.         sequences are identical.
  259.  
  260.         For example, comments and the whitespace in tags disappear
  261.         during tokenization, and hence they do not influence the
  262.         behavior of conforming user agents.
  263.  
  264.         * It allows the user to traverse (or at least attempt to
  265.         traverse, resources permitting) all hyperlinks from <A>
  266.         elements in an HTML document.
  267.  
  268.    An HTML user agent is a level 2 user agent if, additionally:
  269.  
  270.         * It allows the user to express all form field values
  271.         specified in an HTML document and to (attempt to) submit the
  272.         values as requests to information services.
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282. Berners-Lee & Connolly      Standards Track                     [Page 5]
  283.  
  284. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  285.  
  286.  
  287. 2. Terms
  288.  
  289.     absolute URI
  290.             a URI in absolute form; for example, as per [URL]
  291.  
  292.     anchor
  293.             one of two ends of a hyperlink; typically, a phrase
  294.             marked as an <A> element.
  295.  
  296.     base URI
  297.             an absolute URI used in combination with a relative URI
  298.             to determine another absolute URI.
  299.  
  300.     character
  301.             An atom of information, for example a letter or a digit.
  302.             Graphic characters have associated glyphs, whereas
  303.             control characters have associated processing semantics.
  304.  
  305.     character encoding
  306.     scheme
  307.             A function whose domain is the set of sequences of
  308.             octets, and whose range is the set of sequences of
  309.             characters from a character repertoire; that is, a
  310.             sequence of octets and a character encoding scheme
  311.             determines a sequence of characters.
  312.  
  313.     character repertoire
  314.             A finite set of characters; e.g. the range of a coded
  315.             character set.
  316.  
  317.     code position
  318.             An integer. A coded character set and a code position
  319.             from its domain determine a character.
  320.  
  321.     coded character set
  322.             A function whose domain is a subset of the integers and
  323.             whose range is a character repertoire. That is, for some
  324.             set of integers (usually of the form {0, 1, 2, ..., N}
  325.             ), a coded character set and an integer in that set
  326.             determine a character. Conversely, a character and a
  327.             coded character set determine the character's code
  328.             position (or, in rare cases, a few code positions).
  329.  
  330.     conforming HTML user
  331.     agent
  332.             A user agent that conforms to this specification in its
  333.             processing of the Internet Media Type `text/html'.
  334.  
  335.  
  336.  
  337.  
  338. Berners-Lee & Connolly      Standards Track                     [Page 6]
  339.  
  340. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  341.  
  342.  
  343.     data character
  344.             Characters other than markup, which make up the content
  345.             of elements.
  346.  
  347.     document character set
  348.             a coded character set whose range includes all
  349.             characters used in a document. Every SGML document has
  350.             exactly one document character set. Numeric character
  351.             references are resolved via the document character set.
  352.  
  353.     DTD
  354.             document type definition. Rules that apply SGML to the
  355.             markup of documents of a particular type, including a
  356.             set of element and entity declarations. [SGML]
  357.  
  358.     element
  359.             A component of the hierarchical structure defined by a
  360.             document type definition; it is identified in a document
  361.             instance by descriptive markup, usually a start-tag and
  362.             end-tag. [SGML]
  363.  
  364.     end-tag
  365.             Descriptive markup that identifies the end of an
  366.             element. [SGML]
  367.  
  368.     entity
  369.             data with an associated notation or interpretation; for
  370.             example, a sequence of octets associated with an
  371.             Internet Media Type. [SGML]
  372.  
  373.     fragment identifier
  374.             the portion of an HREF attribute value following the `#'
  375.             character which modifies the presentation of the
  376.             destination of a hyperlink.
  377.  
  378.     form data set
  379.             a sequence of name/value pairs; the names are given by
  380.             an HTML document and the values are given by a user.
  381.  
  382.     HTML document
  383.             An SGML document conforming to this document type
  384.             definition.
  385.  
  386.     hyperlink
  387.             a relationship between two anchors, called the head and
  388.             the tail. The link goes from the tail to the head. The
  389.             head and tail are also known as destination and source,
  390.             respectively.
  391.  
  392.  
  393.  
  394. Berners-Lee & Connolly      Standards Track                     [Page 7]
  395.  
  396. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  397.  
  398.  
  399.     markup
  400.             Syntactically delimited characters added to the data of
  401.             a document to represent its structure. There are four
  402.             different kinds of markup: descriptive markup (tags),
  403.             references, markup declarations, and processing
  404.             instructions. [SGML]
  405.  
  406.     may
  407.             A document or user interface is conforming whether this
  408.             statement applies or not.
  409.  
  410.     media type
  411.             an Internet Media Type, as per [IMEDIA].
  412.  
  413.     message entity
  414.             a head and body. The head is a collection of name/value
  415.             fields, and the body is a sequence of octets. The head
  416.             defines the content type and content transfer encoding
  417.             of the body. [MIME]
  418.  
  419.     minimally conforming
  420.     HTML user agent
  421.             A user agent that conforms to this specification except
  422.             for form processing. It may only process level 1 HTML
  423.             documents.
  424.  
  425.     must
  426.             Documents or user agents in conflict with this statement
  427.             are not conforming.
  428.  
  429.     numeric character
  430.     reference
  431.             markup that refers to a character by its code position
  432.             in the document character set.
  433.  
  434.     SGML document
  435.             A sequence of characters organized physically as a set
  436.             of entities and logically into a hierarchy of elements.
  437.             An SGML document consists of data characters and markup;
  438.             the markup describes the structure of the information
  439.             and an instance of that structure. [SGML]
  440.  
  441.     shall
  442.             If a document or user agent conflicts with this
  443.             statement, it does not conform to this specification.
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450. Berners-Lee & Connolly      Standards Track                     [Page 8]
  451.  
  452. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  453.  
  454.  
  455.     should
  456.             If a document or user agent conflicts with this
  457.             statement, undesirable results may occur in practice
  458.             even though it conforms to this specification.
  459.  
  460.     start-tag
  461.             Descriptive markup that identifies the start of an
  462.             element and specifies its generic identifier and
  463.             attributes. [SGML]
  464.  
  465.     syntax-reference
  466.     character set
  467.             A coded character set whose range includes all
  468.             characters used for markup; e.g. name characters and
  469.             delimiter characters.
  470.  
  471.     tag
  472.             Markup that delimits an element. A tag includes a name
  473.             which refers to an element declaration in the DTD, and
  474.             may include attributes. [SGML]
  475.  
  476.     text entity
  477.             A finite sequence of characters. A text entity typically
  478.             takes the form of a sequence of octets with some
  479.             associated character encoding scheme, transmitted over
  480.             the network or stored in a file. [SGML]
  481.  
  482.     typical
  483.             Typical processing is described for many elements. This
  484.             is not a mandatory part of the specification but is
  485.             given as guidance for designers and to help explain the
  486.             uses for which the elements were intended.
  487.  
  488.     URI
  489.             A Uniform Resource Identifier is a formatted string that
  490.             serves as an identifier for a resource, typically on the
  491.             Internet. URIs are used in HTML to identify the anchors
  492.             of hyperlinks. URIs in common practice include Uniform
  493.             Resource Locators (URLs)[URL] and Relative URLs
  494.             [RELURL].
  495.  
  496.     user agent
  497.             A component of a distributed system that presents an
  498.             interface and processes requests on behalf of a user;
  499.             for example, a www browser or a mail user agent.
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506. Berners-Lee & Connolly      Standards Track                     [Page 9]
  507.  
  508. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  509.  
  510.  
  511.     WWW
  512.             The World-Wide Web is a hypertext-based, distributed
  513.             information system created by researchers at CERN in
  514.             Switzerland. <URL:http://www.w3.org/>
  515.  
  516. 3. HTML as an Application of SGML
  517.  
  518.    HTML is an application of ISO 8879:1986 -- Standard Generalized
  519.    Markup Language (SGML). SGML is a system for defining structured
  520.    document types and markup languages to represent instances of those
  521.    document types[SGML]. The public text -- DTD and SGML declaration --
  522.    of the HTML document type definition are provided in 9, "HTML Public
  523.    Text".
  524.  
  525.    The term "HTML" refers to both the document type defined here and the
  526.    markup language for representing instances of this document type.
  527.  
  528. 3.1. SGML Documents
  529.  
  530.    An HTML document is an SGML document; that is, a sequence of
  531.    characters organized physically into a set of entities, and logically
  532.    as a hierarchy of elements.
  533.  
  534.    In the SGML specification, the first production of the SGML syntax
  535.    grammar separates an SGML document into three parts: an SGML
  536.    declaration, a prologue, and an instance. For the purposes of this
  537.    specification, the prologue is a DTD. This DTD describes another
  538.    grammar: the start symbol is given in the doctype declaration, the
  539.    terminals are data characters and tags, and the productions are
  540.    determined by the element declarations. The instance must conform to
  541.    the DTD, that is, it must be in the language defined by this grammar.
  542.  
  543.    The SGML declaration determines the lexicon of the grammar. It
  544.    specifies the document character set, which determines a character
  545.    repertoire that contains all characters that occur in all text
  546.    entities in the document, and the code positions associated with
  547.    those characters.
  548.  
  549.    The SGML declaration also specifies the syntax-reference character
  550.    set of the document, and a few other parameters that bind the
  551.    abstract syntax of SGML to a concrete syntax. This concrete syntax
  552.    determines how the sequence of characters of the document is mapped
  553.    to a sequence of terminals in the grammar of the prologue.
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562. Berners-Lee & Connolly      Standards Track                    [Page 10]
  563.  
  564. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  565.  
  566.  
  567.    For example, consider the following document:
  568.  
  569.     <!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
  570.     <title>Parsing Example</title>
  571.     <p>Some text. <em>*wow*</em></p>
  572.  
  573.    An HTML user agent should use the SGML declaration that is given in
  574.    9.5, "SGML Declaration for HTML". According to its document character
  575.    set, `*' refers to an asterisk character, `*'.
  576.  
  577.    The instance above is regarded as the following sequence of
  578.    terminals:
  579.  
  580.         1. start-tag: TITLE
  581.  
  582.         2. data characters: "Parsing Example"
  583.  
  584.         3. end-tag: TITLE
  585.  
  586.         4. start-tag: P
  587.  
  588.         5. data characters "Some text."
  589.  
  590.         6. start-tag: EM
  591.  
  592.         7. data characters: "*wow*"
  593.  
  594.         8. end-tag: EM
  595.  
  596.         9. end-tag: P
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618. Berners-Lee & Connolly      Standards Track                    [Page 11]
  619.  
  620. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  621.  
  622.  
  623.    The start symbol of the DTD grammar is HTML, and the productions are
  624.    given in the public text identified by `-//IETF//DTD HTML 2.0//EN'
  625.    (9.1, "HTML DTD"). The terminals above parse as:
  626.  
  627.        HTML
  628.         |
  629.         \-HEAD
  630.         |  |
  631.         |  \-TITLE
  632.         |      |
  633.         |      \-<TITLE>
  634.         |      |
  635.         |      \-"Parsing Example"
  636.         |      |
  637.         |      \-</TITLE>
  638.         |
  639.         \-BODY
  640.           |
  641.           \-P
  642.             |
  643.             \-<P>
  644.             |
  645.             \-"Some text. "
  646.             |
  647.             \-EM
  648.             |  |
  649.             |  \-<EM>
  650.             |  |
  651.             |  \-"*wow*"
  652.             |  |
  653.             |  \-</EM>
  654.             |
  655.             \-</P>
  656.  
  657.    Some of the elements are delimited explicitly by tags, while the
  658.    boundaries of others are inferred. The <HTML> element contains a
  659.    <HEAD> element and a <BODY> element. The <HEAD> contains <TITLE>,
  660.    which is explicitly delimited by start- and end-tags.
  661.  
  662. 3.2. HTML Lexical Syntax
  663.  
  664.    SGML specifies an abstract syntax and a reference concrete syntax.
  665.    Aside from certain quantities and capacities (e.g. the limit on the
  666.    length of a name), all HTML documents use the reference concrete
  667.    syntax. In particular, all markup characters are in the repertoire of
  668.    [ISO-646]. Data characters are drawn from the document character set
  669.    (see 6, "Characters, Words, and Paragraphs").
  670.  
  671.  
  672.  
  673.  
  674. Berners-Lee & Connolly      Standards Track                    [Page 12]
  675.  
  676. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  677.  
  678.  
  679.    A complete discussion of SGML parsing, e.g. the mapping of a sequence
  680.    of characters to a sequence of tags and data, is left to the SGML
  681.    standard[SGML]. This section is only a summary.
  682.  
  683. 3.2.1. Data Characters
  684.  
  685.    Any sequence of characters that do not constitute markup (see 9.6
  686.    "Delimiter Recognition" of [SGML]) are mapped directly to strings of
  687.    data characters. Some markup also maps to data character strings.
  688.    Numeric character references map to single-character strings, via the
  689.    document character set. Each reference to one of the general entities
  690.    defined in the HTML DTD maps to a single-character string.
  691.  
  692.    For example,
  693.  
  694.     abc<def    => "abc","<","def"
  695.     abc<def   => "abc","<","def"
  696.  
  697.    The terminating semicolon on entity or numeric character references
  698.    is only necessary when the character following the reference would
  699.    otherwise be recognized as part of the name (see 9.4.5 "Reference
  700.    End" in [SGML]).
  701.  
  702.     abc < def     => "abc ","<"," def"
  703.     abc < def    => "abc ","<"," def"
  704.  
  705.    An ampersand is only recognized as markup when it is followed by a
  706.    letter or a `#' and a digit:
  707.  
  708.     abc & lt def    => "abc & lt def"
  709.     abc &# 60 def    => "abc &# 60 def"
  710.  
  711.    A useful technique for translating plain text to HTML is to replace
  712.    each '<', '&', and '>' by an entity reference or numeric character
  713.    reference as follows:
  714.  
  715.                      ENTITY      NUMERIC
  716.            CHARACTER REFERENCE   CHAR REF     CHARACTER DESCRIPTION
  717.            --------- ----------  -----------  ---------------------
  718.              &       &       &        Ampersand
  719.              <       <        <        Less than
  720.              >       >        >        Greater than
  721.  
  722.         NOTE - There are SGML mechanisms, CDATA and RCDATA
  723.         declared content, that allow most `<', `>', and `&'
  724.         characters to be entered without the use of entity
  725.         references. Because these mechanisms tend to be used and
  726.         implemented inconsistently, and because they conflict
  727.  
  728.  
  729.  
  730. Berners-Lee & Connolly      Standards Track                    [Page 13]
  731.  
  732. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  733.  
  734.  
  735.         with techniques for reducing HTML to 7 bit ASCII for
  736.         transport, they are deprecated in this version of HTML.
  737.         See 5.5.2.1, "Example and Listing: XMP, LISTING".
  738.  
  739. 3.2.2. Tags
  740.  
  741.    Tags delimit elements such as headings, paragraphs, lists, character
  742.    highlighting, and links. Most HTML elements are identified in a
  743.    document as a start-tag, which gives the element name and attributes,
  744.    followed by the content, followed by the end tag. Start-tags are
  745.    delimited by `<' and `>'; end tags are delimited by `</' and `>'. An
  746.    example is:
  747.  
  748.    <H1>This is a Heading</H1>
  749.  
  750.    Some elements only have a start-tag without an end-tag. For example,
  751.    to create a line break, use the `<BR>' tag.  Additionally, the end
  752.    tags of some other elements, such as Paragraph (`</P>'), List Item
  753.    (`</LI>'), Definition Term (`</DT>'), and Definition Description
  754.    (`</DD>') elements, may be omitted.
  755.  
  756.    The content of an element is a sequence of data character strings and
  757.    nested elements. Some elements, such as anchors, cannot be nested.
  758.    Anchors and character highlighting may be put inside other
  759.    constructs. See the HTML DTD, 9.1, "HTML DTD" for full details.
  760.  
  761.       NOTE - The SGML declaration for HTML specifies SHORTTAG YES, which
  762.       means that there are other valid syntaxes for tags, such as NET
  763.       tags, `<EM/.../'; empty start tags, `<>'; and empty end-tags,
  764.       `</>'. Until support for these idioms is widely deployed, their
  765.       use is strongly discouraged.
  766.  
  767. 3.2.3. Names
  768.  
  769.    A name consists of a letter followed by letters, digits, periods, or
  770.    hyphens. The length of a name is limited to 72 characters by the
  771.    `NAMELEN' parameter in the SGML declaration for HTML, 9.5, "SGML
  772.    Declaration for HTML". Element and attribute names are not case
  773.    sensitive, but entity names are.  For example, `<BLOCKQUOTE>',
  774.    `<BlockQuote>', and `<blockquote>' are equivalent, whereas `&' is
  775.    different from `&'.
  776.  
  777.    In a start-tag, the element name must immediately follow the tag open
  778.    delimiter `<'.
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786. Berners-Lee & Connolly      Standards Track                    [Page 14]
  787.  
  788. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  789.  
  790.  
  791. 3.2.4. Attributes
  792.  
  793.    In a start-tag, white space and attributes are allowed between the
  794.    element name and the closing delimiter. An attribute specification
  795.    typically consists of an attribute name, an equal sign, and a value,
  796.    though some attribute specifications may be just a name token. White
  797.    space is allowed around the equal sign.
  798.  
  799.    The value of the attribute may be either:
  800.  
  801.         * A string literal, delimited by single quotes or double
  802.         quotes and not containing any occurrences of the delimiting
  803.         character.
  804.  
  805.             NOTE - Some historical implementations consider any
  806.             occurrence of the `>' character to signal the end of
  807.             a tag. For compatibility with such implementations,
  808.             when `>' appears in an attribute value, it should be
  809.             represented with a numeric character reference. For
  810.             example, `<IMG SRC="eq1.jpg" alt="a>b">' should be
  811.             written `<IMG SRC="eq1.jpg" alt="a>b">' or `<IMG
  812.             SRC="eq1.jpg" alt="a>b">'.
  813.  
  814.         * A name token (a sequence of letters, digits, periods, or
  815.         hyphens). Name tokens are not case sensitive.
  816.  
  817.             NOTE - Some historical implementations allow any
  818.             character except space or `>' in a name token.
  819.  
  820.    In this example, <img> is the element name, src is the attribute
  821.    name, and `http://host/dir/file.gif' is the attribute value:
  822.  
  823.    <img src='http://host/dir/file.gif'>
  824.  
  825.    A useful technique for computing an attribute value literal for a
  826.    given string is to replace each quote and white space character by an
  827.    entity reference or numeric character reference as follows:
  828.  
  829.                      ENTITY      NUMERIC
  830.            CHARACTER REFERENCE   CHAR REF     CHARACTER DESCRIPTION
  831.            --------- ----------  -----------  ---------------------
  832.              HT                            Tab
  833.              LF                           Line Feed
  834.              CR                           Carriage Return
  835.              SP                           Space
  836.              "       "      "        Quotation mark
  837.              &       &       &        Ampersand
  838.  
  839.  
  840.  
  841.  
  842. Berners-Lee & Connolly      Standards Track                    [Page 15]
  843.  
  844. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  845.  
  846.  
  847.    For example:
  848.  
  849.    <IMG SRC="image.jpg" alt="First "real" example">
  850.  
  851.    The `NAMELEN' parameter in the SGML declaration (9.5, "SGML
  852.    Declaration for HTML") limits the length of an attribute value to
  853.    1024 characters.
  854.  
  855.    Attributes such as ISMAP and COMPACT may be written using a minimized
  856.    syntax (see 7.9.1.2 "Omitted Attribute Name" in [SGML]). The markup:
  857.  
  858.    <UL COMPACT="compact">
  859.  
  860.    can be written using a minimized syntax:
  861.  
  862.    <UL COMPACT>
  863.  
  864.    NOTE - Some historical implementations only understand the minimized
  865.    syntax.
  866.  
  867. 3.2.5. Comments
  868.  
  869.    To include comments in an HTML document, use a comment declaration. A
  870.    comment declaration consists of `<!' followed by zero or more
  871.    comments followed by `>'. Each comment starts with `--' and includes
  872.    all text up to and including the next occurrence of `--'. In a
  873.    comment declaration, white space is allowed after each comment, but
  874.    not before the first comment.  The entire comment declaration is
  875.    ignored.
  876.  
  877.       NOTE - Some historical HTML implementations incorrectly consider
  878.       any `>' character to be the termination of a comment.
  879.  
  880.    For example:
  881.  
  882.     <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  883.     <HEAD>
  884.     <TITLE>HTML Comment Example</TITLE>
  885.     <!-- Id: html-sgml.sgm,v 1.5 1995/05/26 21:29:50 connolly Exp  -->
  886.     <!-- another -- -- comment -->
  887.     <!>
  888.     </HEAD>
  889.     <BODY>
  890.     <p> <!- not a comment, just regular old data characters ->
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898. Berners-Lee & Connolly      Standards Track                    [Page 16]
  899.  
  900. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  901.  
  902.  
  903. 3.3. HTML Public Text Identifiers
  904.  
  905.    To identify information as an HTML document conforming to this
  906.    specification, each document must start with one of the following
  907.    document type declarations.
  908.  
  909.    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  910.  
  911.    This document type declaration refers to the HTML DTD in 9.1, "HTML
  912.    DTD".
  913.  
  914.       NOTE - If the body of a `text/html' message entity does not begin
  915.       with a document type declaration, an HTML user agent should infer
  916.       the above document type declaration.
  917.  
  918.    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 2//EN">
  919.  
  920.    This document type declaration also refers to the HTML DTD which
  921.    appears in 9.1, "HTML DTD".
  922.  
  923.    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Level 1//EN">
  924.  
  925.    This document type declaration refers to the level 1 HTML DTD in 9.3,
  926.    "Level 1 HTML DTD". Form elements must not occur in level 1
  927.    documents.
  928.  
  929.    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict//EN">
  930.    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 Strict Level 1//EN">
  931.  
  932.    These two document type declarations refer to the HTML DTD in 9.2,
  933.    "Strict HTML DTD" and 9.4, "Strict Level 1 HTML DTD". They refer to
  934.    the more structurally rigid definition of HTML.
  935.  
  936.    HTML user agents may support other document types. In particular,
  937.    they may support other formal public identifiers, or other document
  938.    types altogether. They may support an internal declaration subset
  939.    with supplemental entity, element, and other markup declarations.
  940.  
  941. 3.4. Example HTML Document
  942.  
  943.     <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  944.     <HTML>
  945.     <!-- Here's a good place to put a comment. -->
  946.     <HEAD>
  947.     <TITLE>Structural Example</TITLE>
  948.     </HEAD><BODY>
  949.     <H1>First Header</H1>
  950.     <P>This is a paragraph in the example HTML file. Keep in mind
  951.  
  952.  
  953.  
  954. Berners-Lee & Connolly      Standards Track                    [Page 17]
  955.  
  956. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  957.  
  958.  
  959.     that the title does not appear in the document text, but that
  960.     the header (defined by H1) does.</P>
  961.     <OL>
  962.     <LI>First item in an ordered list.
  963.     <LI>Second item in an ordered list.
  964.       <UL COMPACT>
  965.       <LI> Note that lists can be nested;
  966.       <LI> Whitespace may be used to assist in reading the
  967.            HTML source.
  968.       </UL>
  969.     <LI>Third item in an ordered list.
  970.     </OL>
  971.     <P>This is an additional paragraph. Technically, end tags are
  972.     not required for paragraphs, although they are allowed. You can
  973.     include character highlighting in a paragraph. <EM>This sentence
  974.     of the paragraph is emphasized.</EM> Note that the </P>
  975.     end tag has been omitted.
  976.     <P>
  977.     <IMG SRC ="triangle.xbm" alt="Warning: ">
  978.     Be sure to read these <b>bold instructions</b>.
  979.     </BODY></HTML>
  980.  
  981. 4. HTML as an Internet Media Type
  982.  
  983.    An HTML user agent allows users to interact with resources which have
  984.    HTML representations. At a minimum, it must allow users to examine
  985.    and navigate the content of HTML level 1 documents. HTML user agents
  986.    should be able to preserve all formatting distinctions represented in
  987.    an HTML document, and be able to simultaneously present resources
  988.    referred to by IMG elements (they may ignore some formatting
  989.    distinctions or IMG resources at the request of the user). Level 2
  990.    HTML user agents should support form entry and submission.
  991.  
  992. 4.1. text/html media type
  993.  
  994.    This specification defines the Internet Media Type [IMEDIA] (formerly
  995.    referred to as the Content Type [MIME]) called `text/html'. The
  996.    following is to be registered with [IANA].
  997.  
  998.     Media Type name
  999.             text
  1000.  
  1001.     Media subtype name
  1002.             html
  1003.  
  1004.     Required parameters
  1005.             none
  1006.  
  1007.  
  1008.  
  1009.  
  1010. Berners-Lee & Connolly      Standards Track                    [Page 18]
  1011.  
  1012. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1013.  
  1014.  
  1015.     Optional parameters
  1016.             level, charset
  1017.  
  1018.     Encoding considerations
  1019.             any encoding is allowed
  1020.  
  1021.     Security considerations
  1022.             see 10, "Security Considerations"
  1023.  
  1024.     The optional parameters are defined as follows:
  1025.  
  1026.     Level
  1027.             The level parameter specifies the feature set used in
  1028.             the document. The level is an integer number, implying
  1029.             that any features of same or lower level may be present
  1030.             in the document. Level 1 is all features defined in this
  1031.             specification except those that require the <FORM>
  1032.             element. Level 2 includes form processing. Level 2 is
  1033.             the default.
  1034.  
  1035.     Charset
  1036.             The charset parameter (as defined in section 7.1.1 of
  1037.             RFC 1521[MIME]) may be given to specify the character
  1038.             encoding scheme used to represent the HTML document as a
  1039.             sequence of octets. The default value is outside the
  1040.             scope of this specification; but for example, the
  1041.             default is `US-ASCII' in the context of MIME mail, and
  1042.             `ISO-8859-1' in the context of HTTP [HTTP].
  1043.  
  1044. 4.2. HTML Document Representation
  1045.  
  1046.    A message entity with a content type of `text/html' represents an
  1047.    HTML document, consisting of a single text entity. The `charset'
  1048.    parameter (whether implicit or explicit) identifies a character
  1049.    encoding scheme. The text entity consists of the characters
  1050.    determined by this character encoding scheme and the octets of the
  1051.    body of the message entity.
  1052.  
  1053. 4.2.1. Undeclared Markup Error Handling
  1054.  
  1055.    To facilitate experimentation and interoperability between
  1056.    implementations of various versions of HTML, the installed base of
  1057.    HTML user agents supports a superset of the HTML 2.0 language by
  1058.    reducing it to HTML 2.0: markup in the form of a start-tag or end-
  1059.    tag, whose generic identifier is not declared is mapped to nothing
  1060.    during tokenization. Undeclared attributes are treated similarly. The
  1061.    entire attribute specification of an unknown attribute (i.e., the
  1062.    unknown attribute and its value, if any) should be ignored. On the
  1063.  
  1064.  
  1065.  
  1066. Berners-Lee & Connolly      Standards Track                    [Page 19]
  1067.  
  1068. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1069.  
  1070.  
  1071.    other hand, references to undeclared entities should be treated as
  1072.    data characters.
  1073.  
  1074.    For example:
  1075.  
  1076.     <div class=chapter><h1>foo</h1><p>...</div>
  1077.       => <H1>,"foo",</H1>,<P>,"..."
  1078.     xxx <P ID=z23> yyy
  1079.       => "xxx ",<P>," yyy
  1080.     Let α & β be finite sets.
  1081.       => "Let α & β be finite sets."
  1082.  
  1083.    Support for notifying the user of such errors is encouraged.
  1084.  
  1085.    Information providers are warned that this convention is not binding:
  1086.    unspecified behavior may result, as such markup does not conform to
  1087.    this specification.
  1088.  
  1089. 4.2.2. Conventional Representation of Newlines
  1090.  
  1091.    SGML specifies that a text entity is a sequence of records, each
  1092.    beginning with a record start character and ending with a record end
  1093.    character (code positions 10 and 13 respectively) (section 7.6.1,
  1094.    "Record Boundaries" in [SGML]).
  1095.  
  1096.    [MIME] specifies that a body of type `text/*' is a sequence of lines,
  1097.    each terminated by CRLF, that is, octets 13, 10.
  1098.  
  1099.    In practice, HTML documents are frequently represented and
  1100.    transmitted using an end of line convention that depends on the
  1101.    conventions of the source of the document; frequently, that
  1102.    representation consists of CR only, LF only, or a CR LF sequence.
  1103.    Hence the decoding of the octets will often result in a text entity
  1104.    with some missing record start and record end characters.
  1105.  
  1106.    Since there is no ambiguity, HTML user agents are encouraged to infer
  1107.    the missing record start and end characters.
  1108.  
  1109.    An HTML user agent should treat end of line in any of its variations
  1110.    as a word space in all contexts except preformatted text. Within
  1111.    preformatted text, an HTML user agent should treat any of the three
  1112.    common representations of end-of-line as starting a new line.
  1113.  
  1114. 5. Document Structure
  1115.  
  1116.    An HTML document is a tree of elements, including a head and body,
  1117.    headings, paragraphs, lists, etc. Form elements are discussed in 8,
  1118.    "Forms".
  1119.  
  1120.  
  1121.  
  1122. Berners-Lee & Connolly      Standards Track                    [Page 20]
  1123.  
  1124. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1125.  
  1126.  
  1127. 5.1. Document Element: HTML
  1128.  
  1129.    The HTML document element consists of a head and a body, much like a
  1130.    memo or a mail message. The head contains the title and optional
  1131.    elements. The body is a text flow consisting of paragraphs, lists,
  1132.    and other elements.
  1133.  
  1134. 5.2. Head: HEAD
  1135.  
  1136.    The head of an HTML document is an unordered collection of
  1137.    information about the document. For example:
  1138.  
  1139.     <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  1140.     <HEAD>
  1141.     <TITLE>Introduction to HTML</TITLE>
  1142.     </HEAD>
  1143.     ...
  1144.  
  1145. 5.2.1. Title: TITLE
  1146.  
  1147.    Every HTML document must contain a <TITLE> element.
  1148.  
  1149.    The title should identify the contents of the document in a global
  1150.    context. A short title, such as "Introduction" may be meaningless out
  1151.    of context. A title such as "Introduction to HTML Elements" is more
  1152.    appropriate.
  1153.  
  1154.       NOTE - The length of a title is not limited; however, long titles
  1155.       may be truncated in some applications. To minimize this
  1156.       possibility, titles should be fewer than 64 characters.
  1157.  
  1158.    A user agent may display the title of a document in a history list or
  1159.    as a label for the window displaying the document. This differs from
  1160.    headings (5.4, "Headings: H1 ... H6"), which are typically displayed
  1161.    within the body text flow.
  1162.  
  1163. 5.2.2. Base Address: BASE
  1164.  
  1165.    The optional <BASE> element provides a base address for interpreting
  1166.    relative URLs when the document is read out of context (see 7,
  1167.    "Hyperlinks"). The value of the HREF attribute must be an absolute
  1168.    URI.
  1169.  
  1170. 5.2.3. Keyword Index: ISINDEX
  1171.  
  1172.    The <ISINDEX> element indicates that the user agent should allow the
  1173.    user to search an index by giving keywords. See 7.5, "Queries and
  1174.    Indexes" for details.
  1175.  
  1176.  
  1177.  
  1178. Berners-Lee & Connolly      Standards Track                    [Page 21]
  1179.  
  1180. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1181.  
  1182.  
  1183. 5.2.4. Link: LINK
  1184.  
  1185.    The <LINK> element represents a hyperlink (see 7, "Hyperlinks").  Any
  1186.    number of LINK elements may occur in the <HEAD> element of an HTML
  1187.    document. It has the same attributes as the <A> element (see 5.7.3,
  1188.    "Anchor: A").
  1189.  
  1190.    The <LINK> element is typically used to indicate authorship, related
  1191.    indexes and glossaries, older or more recent versions, document
  1192.    hierarchy, associated resources such as style sheets, etc.
  1193.  
  1194. 5.2.5. Associated Meta-information: META
  1195.  
  1196.    The <META> element is an extensible container for use in identifying
  1197.    specialized document meta-information.  Meta-information has two main
  1198.    functions:
  1199.  
  1200.         * to provide a means to discover that the data set exists
  1201.         and how it might be obtained or accessed; and
  1202.  
  1203.         * to document the content, quality, and features of a data
  1204.         set, indicating its fitness for use.
  1205.  
  1206.    Each <META> element specifies a name/value pair. If multiple META
  1207.    elements are provided with the same name, their combined contents--
  1208.    concatenated as a comma-separated list--is the value associated with
  1209.    that name.
  1210.  
  1211.         NOTE - The <META> element should not be used where a
  1212.         specific element, such as <TITLE>, would be more
  1213.         appropriate. Rather than a <META> element with a URI as
  1214.         the value of the CONTENT attribute, use a <LINK>
  1215.         element.
  1216.  
  1217.    HTTP servers may read the content of the document <HEAD> to generate
  1218.    header fields corresponding to any elements defining a value for the
  1219.    attribute HTTP-EQUIV.
  1220.  
  1221.         NOTE - The method by which the server extracts document
  1222.         meta-information is unspecified and not mandatory. The
  1223.         <META> element only provides an extensible mechanism for
  1224.         identifying and embedding document meta-information --
  1225.         how it may be used is up to the individual server
  1226.         implementation and the HTML user agent.
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234. Berners-Lee & Connolly      Standards Track                    [Page 22]
  1235.  
  1236. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1237.  
  1238.  
  1239.     Attributes of the META element:
  1240.  
  1241.     HTTP-EQUIV
  1242.             binds the element to an HTTP header field. An HTTP
  1243.             server may use this information to process the document.
  1244.             In particular, it may include a header field in the
  1245.             responses to requests for this document: the header name
  1246.             is taken from the HTTP-EQUIV attribute value, and the
  1247.             header value is taken from the value of the CONTENT
  1248.             attribute. HTTP header names are not case sensitive.
  1249.  
  1250.     NAME
  1251.             specifies the name of the name/value pair. If not
  1252.             present, HTTP-EQUIV gives the name.
  1253.  
  1254.     CONTENT
  1255.             specifies the value of the name/value pair.
  1256.  
  1257.     Examples
  1258.  
  1259.     If the document contains:
  1260.  
  1261.     <META HTTP-EQUIV="Expires"
  1262.           CONTENT="Tue, 04 Dec 1993 21:29:02 GMT">
  1263.     <meta http-equiv="Keywords" CONTENT="Fred">
  1264.     <META HTTP-EQUIV="Reply-to"
  1265.           content="fielding@ics.uci.edu (Roy Fielding)">
  1266.     <Meta Http-equiv="Keywords" CONTENT="Barney">
  1267.  
  1268.     then the server may include the following header fields:
  1269.  
  1270.     Expires: Tue, 04 Dec 1993 21:29:02 GMT
  1271.     Keywords: Fred, Barney
  1272.     Reply-to: fielding@ics.uci.edu (Roy Fielding)
  1273.  
  1274.     as part of the HTTP response to a `GET' or `HEAD' request for
  1275.     that document.
  1276.  
  1277.     An HTTP server must not use the <META> element to form an HTTP
  1278.     response header unless the HTTP-EQUIV attribute is present.
  1279.  
  1280.     An HTTP server may disregard any <META> elements that specify
  1281.     information controlled by the HTTP server, for example `Server',
  1282.  
  1283.     `Date', and `Last-modified'.
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290. Berners-Lee & Connolly      Standards Track                    [Page 23]
  1291.  
  1292. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1293.  
  1294.  
  1295. 5.2.6. Next Id: NEXTID
  1296.  
  1297.    The <NEXTID> element is included for historical reasons only.  HTML
  1298.    documents should not contain <NEXTID> elements.
  1299.  
  1300.    The <NEXTID> element gives a hint for the name to use for a new <A>
  1301.    element when editing an HTML document. It should be distinct from all
  1302.    NAME attribute values on <A> elements. For example:
  1303.  
  1304.    <NEXTID N=Z27>
  1305.  
  1306. 5.3. Body: BODY
  1307.  
  1308.    The <BODY> element contains the text flow of the document, including
  1309.    headings, paragraphs, lists, etc.
  1310.  
  1311.    For example:
  1312.  
  1313.     <BODY>
  1314.     <h1>Important Stuff</h1>
  1315.     <p>Explanation about important stuff...
  1316.     </BODY>
  1317.  
  1318. 5.4. Headings: H1 ... H6
  1319.  
  1320.    The six heading elements, <H1> through <H6>, denote section headings.
  1321.    Although the order and occurrence of headings is not constrained by
  1322.    the HTML DTD, documents should not skip levels (for example, from H1
  1323.    to H3), as converting such documents to other representations is
  1324.    often problematic.
  1325.  
  1326.    Example of use:
  1327.  
  1328.     <H1>This is a heading</H1>
  1329.     Here is some text
  1330.     <H2>Second level heading</H2>
  1331.     Here is some more text.
  1332.  
  1333.     Typical renderings are:
  1334.  
  1335.     H1
  1336.             Bold, very-large font, centered. One or two blank lines
  1337.             above and below.
  1338.  
  1339.     H2
  1340.             Bold, large font, flush-left. One or two blank lines
  1341.             above and below.
  1342.  
  1343.  
  1344.  
  1345.  
  1346. Berners-Lee & Connolly      Standards Track                    [Page 24]
  1347.  
  1348. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1349.  
  1350.  
  1351.     H3
  1352.             Italic, large font, slightly indented from the left
  1353.             margin. One or two blank lines above and below.
  1354.  
  1355.     H4
  1356.             Bold, normal font, indented more than H3. One blank line
  1357.             above and below.
  1358.  
  1359.     H5
  1360.             Italic, normal font, indented as H4. One blank line
  1361.             above.
  1362.  
  1363.     H6
  1364.             Bold, indented same as normal text, more than H5. One
  1365.             blank line above.
  1366.  
  1367. 5.5. Block Structuring Elements
  1368.  
  1369.    Block structuring elements include paragraphs, lists, and block
  1370.    quotes. They must not contain heading elements, but they may contain
  1371.    phrase markup, and in some cases, they may be nested.
  1372.  
  1373. 5.5.1. Paragraph: P
  1374.  
  1375.    The <P> element indicates a paragraph. The exact indentation, leading
  1376.    space, etc. of a paragraph is not specified and may be a function of
  1377.    other tags, style sheets, etc.
  1378.  
  1379.    Typically, paragraphs are surrounded by a vertical space of one line
  1380.    or half a line. The first line in a paragraph is indented in some
  1381.    cases.
  1382.  
  1383.    Example of use:
  1384.  
  1385.     <H1>This Heading Precedes the Paragraph</H1>
  1386.     <P>This is the text of the first paragraph.
  1387.     <P>This is the text of the second paragraph. Although you do not
  1388.     need to start paragraphs on new lines, maintaining this
  1389.     convention facilitates document maintenance.</P>
  1390.     <P>This is the text of a third paragraph.</P>
  1391.  
  1392. 5.5.2. Preformatted Text: PRE
  1393.  
  1394.    The <PRE> element represents a character cell block of text and is
  1395.    suitable for text that has been formatted for a monospaced font.
  1396.  
  1397.    The <PRE> tag may be used with the optional WIDTH attribute. The
  1398.    WIDTH attribute specifies the maximum number of characters for a line
  1399.  
  1400.  
  1401.  
  1402. Berners-Lee & Connolly      Standards Track                    [Page 25]
  1403.  
  1404. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1405.  
  1406.  
  1407.    and allows the HTML user agent to select a suitable font and
  1408.    indentation.
  1409.  
  1410.    Within preformatted text:
  1411.  
  1412.         * Line breaks within the text are rendered as a move to the
  1413.         beginning of the next line.
  1414.  
  1415.             NOTE - References to the "beginning of a new line"
  1416.             do not imply that the renderer is forbidden from
  1417.             using a constant left indent for rendering
  1418.             preformatted text. The left indent may be
  1419.             constrained by the width required.
  1420.  
  1421.         * Anchor elements and phrase markup may be used.
  1422.  
  1423.             NOTE - Constraints on the processing of <PRE>
  1424.             content may limit or prevent the ability of the HTML
  1425.             user agent to faithfully render phrase markup.
  1426.  
  1427.         * Elements that define paragraph formatting (headings,
  1428.         address, etc.) must not be used.
  1429.  
  1430.             NOTE - Some historical documents contain <P> tags in
  1431.             <PRE> elements. User agents are encouraged to treat
  1432.             this as a line break. A <P> tag followed by a
  1433.             newline character should produce only one line
  1434.             break, not a line break plus a blank line.
  1435.  
  1436.         * The horizontal tab character (code position 9 in the HTML
  1437.         document character set) must be interpreted as the smallest
  1438.         positive nonzero number of spaces which will leave the
  1439.         number of characters so far on the line as a multiple of 8.
  1440.         Documents should not contain tab characters, as they are not
  1441.         supported consistently.
  1442.  
  1443.     Example of use:
  1444.  
  1445.     <PRE>
  1446.     Line 1.
  1447.            Line 2 is to the right of line 1.     <a href="abc">abc</a>
  1448.            Line 3 aligns with line 2.            <a href="def">def</a>
  1449.     </PRE>
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458. Berners-Lee & Connolly      Standards Track                    [Page 26]
  1459.  
  1460. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1461.  
  1462.  
  1463. 5.5.2.1. Example and Listing: XMP, LISTING
  1464.  
  1465.    The <XMP> and <LISTING> elements are similar to the <PRE> element,
  1466.    but they have a different syntax. Their content is declared as CDATA,
  1467.    which means that no markup except the end-tag open delimiter-in-
  1468.    context is recognized (see 9.6 "Delimiter Recognition" of [SGML]).
  1469.  
  1470.       NOTE - In a previous draft of the HTML specification, the syntax
  1471.       of <XMP> and <LISTING> elements allowed closing tags to be treated
  1472.       as data characters, as long as the tag name was not <XMP> or
  1473.       <LISTING>, respectively.
  1474.  
  1475.    Since CDATA declared content has a number of unfortunate interactions
  1476.    with processing techniques and tends to be used and implemented
  1477.    inconsistently, HTML documents should not contain <XMP> nor <LISTING>
  1478.    elements -- the <PRE> tag is more expressive and more consistently
  1479.    supported.
  1480.  
  1481.    The <LISTING> element should be rendered so that at least 132
  1482.    characters fit on a line. The <XMP> element should be rendered so
  1483.    that at least 80 characters fit on a line but is otherwise identical
  1484.    to the <LISTING> element.
  1485.  
  1486.       NOTE - In a previous draft, HTML included a <PLAINTEXT> element
  1487.       that is similar to the <LISTING> element, except that there is no
  1488.       closing tag: all characters after the <PLAINTEXT> start-tag are
  1489.       data.
  1490.  
  1491. 5.5.3. Address: ADDRESS
  1492.  
  1493.    The <ADDRESS> element contains such information as address, signature
  1494.    and authorship, often at the beginning or end of the body of a
  1495.    document.
  1496.  
  1497.    Typically, the <ADDRESS> element is rendered in an italic typeface
  1498.    and may be indented.
  1499.  
  1500.    Example of use:
  1501.  
  1502.     <ADDRESS>
  1503.     Newsletter editor<BR>
  1504.     J.R. Brown<BR>
  1505.     JimquickPost News, Jimquick, CT 01234<BR>
  1506.     Tel (123) 456 7890
  1507.     </ADDRESS>
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514. Berners-Lee & Connolly      Standards Track                    [Page 27]
  1515.  
  1516. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1517.  
  1518.  
  1519. 5.5.4. Block Quote: BLOCKQUOTE
  1520.  
  1521.    The <BLOCKQUOTE> element contains text quoted from another source.
  1522.  
  1523.    A typical rendering might be a slight extra left and right indent,
  1524.    and/or italic font. The <BLOCKQUOTE> typically provides space above
  1525.    and below the quote.
  1526.  
  1527.    Single-font rendition may reflect the quotation style of Internet
  1528.    mail by putting a vertical line of graphic characters, such as the
  1529.    greater than symbol (>), in the left margin.
  1530.  
  1531.    Example of use:
  1532.  
  1533.     I think the play ends
  1534.     <BLOCKQUOTE>
  1535.     <P>Soft you now, the fair Ophelia. Nymph, in thy orisons, be all
  1536.     my sins remembered.
  1537.     </BLOCKQUOTE>
  1538.     but I am not sure.
  1539.  
  1540. 5.6. List Elements
  1541.  
  1542.    HTML includes a number of list elements. They may be used in
  1543.    combination; for example, a <OL> may be nested in an <LI> element of
  1544.    a <UL>.
  1545.  
  1546.    The COMPACT attribute suggests that a compact rendering be used.
  1547.  
  1548. 5.6.1. Unordered List: UL, LI
  1549.  
  1550.    The <UL> represents a list of items -- typically rendered as a
  1551.    bulleted list.
  1552.  
  1553.    The content of a <UL> element is a sequence of <LI> elements.  For
  1554.    example:
  1555.  
  1556.     <UL>
  1557.     <LI>First list item
  1558.     <LI>Second list item
  1559.      <p>second paragraph of second item
  1560.     <LI>Third list item
  1561.     </UL>
  1562.  
  1563. 5.6.2. Ordered List: OL
  1564.  
  1565.    The <OL> element represents an ordered list of items, sorted by
  1566.    sequence or order of importance. It is typically rendered as a
  1567.  
  1568.  
  1569.  
  1570. Berners-Lee & Connolly      Standards Track                    [Page 28]
  1571.  
  1572. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1573.  
  1574.  
  1575.    numbered list.
  1576.  
  1577.    The content of a <OL> element is a sequence of <LI> elements.  For
  1578.    example:
  1579.  
  1580.     <OL>
  1581.     <LI>Click the Web button to open URI window.
  1582.     <LI>Enter the URI number in the text field of the Open URI
  1583.     window. The Web document you specified is displayed.
  1584.       <ol>
  1585.        <li>substep 1
  1586.        <li>substep 2
  1587.       </ol>
  1588.     <LI>Click highlighted text to move from one link to another.
  1589.     </OL>
  1590.  
  1591. 5.6.3. Directory List: DIR
  1592.  
  1593.    The <DIR> element is similar to the <UL> element. It represents a
  1594.    list of short items, typically up to 20 characters each. Items in a
  1595.    directory list may be arranged in columns, typically 24 characters
  1596.    wide.
  1597.  
  1598.    The content of a <DIR> element is a sequence of <LI> elements.
  1599.    Nested block elements are not allowed in the content of <DIR>
  1600.    elements. For example:
  1601.  
  1602.     <DIR>
  1603.     <LI>A-H<LI>I-M
  1604.     <LI>M-R<LI>S-Z
  1605.     </DIR>
  1606.  
  1607. 5.6.4. Menu List: MENU
  1608.  
  1609.    The <MENU> element is a list of items with typically one line per
  1610.    item. The menu list style is typically more compact than the style of
  1611.    an unordered list.
  1612.  
  1613.    The content of a <MENU> element is a sequence of <LI> elements.
  1614.    Nested block elements are not allowed in the content of <MENU>
  1615.    elements. For example:
  1616.  
  1617.     <MENU>
  1618.     <LI>First item in the list.
  1619.     <LI>Second item in the list.
  1620.     <LI>Third item in the list.
  1621.     </MENU>
  1622.  
  1623.  
  1624.  
  1625.  
  1626. Berners-Lee & Connolly      Standards Track                    [Page 29]
  1627.  
  1628. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1629.  
  1630.  
  1631. 5.6.5. Definition List: DL, DT, DD
  1632.  
  1633.    A definition list is a list of terms and corresponding definitions.
  1634.    Definition lists are typically formatted with the term flush-left and
  1635.    the definition, formatted paragraph style, indented after the term.
  1636.  
  1637.    The content of a <DL> element is a sequence of <DT> elements and/or
  1638.    <DD> elements, usually in pairs. Multiple <DT> may be paired with a
  1639.    single <DD> element. Documents should not contain multiple
  1640.    consecutive <DD> elements.
  1641.  
  1642.    Example of use:
  1643.  
  1644.     <DL>
  1645.     <DT>Term<DD>This is the definition of the first term.
  1646.     <DT>Term<DD>This is the definition of the second term.
  1647.     </DL>
  1648.  
  1649.    If the DT term does not fit in the DT column (typically one third of
  1650.    the display area), it may be extended across the page with the DD
  1651.    section moved to the next line, or it may be wrapped onto successive
  1652.    lines of the left hand column.
  1653.  
  1654.    The optional COMPACT attribute suggests that a compact rendering be
  1655.    used, because the list items are small and/or the entire list is
  1656.    large.
  1657.  
  1658.    Unless the COMPACT attribute is present, an HTML user agent may leave
  1659.    white space between successive DT, DD pairs. The COMPACT attribute
  1660.    may also reduce the width of the left-hand (DT) column.
  1661.  
  1662.     <DL COMPACT>
  1663.     <DT>Term<DD>This is the first definition in compact format.
  1664.     <DT>Term<DD>This is the second definition in compact format.
  1665.     </DL>
  1666.  
  1667. 5.7. Phrase Markup
  1668.  
  1669.    Phrases may be marked up according to idiomatic usage, typographic
  1670.    appearance, or for use as hyperlink anchors.
  1671.  
  1672.    User agents must render highlighted phrases distinctly from plain
  1673.    text. Additionally, <EM> content must be rendered as distinct from
  1674.    <STRONG> content, and <B> content must rendered as distinct from <I>
  1675.    content.
  1676.  
  1677.    Phrase elements may be nested within the content of other phrase
  1678.    elements; however, HTML user agents may render nested phrase elements
  1679.  
  1680.  
  1681.  
  1682. Berners-Lee & Connolly      Standards Track                    [Page 30]
  1683.  
  1684. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1685.  
  1686.  
  1687.    indistinctly from non-nested elements:
  1688.  
  1689.    plain <B>bold <I>italic</I></B> may be rendered
  1690.    the same as plain <B>bold </B><I>italic</I>
  1691.  
  1692. 5.7.1. Idiomatic Elements
  1693.  
  1694.    Phrases may be marked up to indicate certain idioms.
  1695.  
  1696.       NOTE - User agents may support the <DFN> element, not included in
  1697.       this specification, as it has been deployed to some extent. It is
  1698.       used to indicate the defining instance of a term, and it is
  1699.       typically rendered in italic or bold italic.
  1700.  
  1701. 5.7.1.1. Citation: CITE
  1702.  
  1703.       The <CITE> element is used to indicate the title of a book or
  1704.       other citation. It is typically rendered as italics. For example:
  1705.  
  1706.       He just couldn't get enough of <cite>The Grapes of Wrath</cite>.
  1707.  
  1708. 5.7.1.2. Code: CODE
  1709.  
  1710.       The <CODE> element indicates an example of code, typically
  1711.       rendered in a mono-spaced font. The <CODE> element is intended for
  1712.       short words or phrases of code; the <PRE> block structuring
  1713.       element (5.5.2, "Preformatted Text: PRE") is more appropriate
  1714.        for multiple-line listings. For example:
  1715.  
  1716.       The expression <code>x += 1</code>
  1717.       is short for <code>x = x + 1</code>.
  1718.  
  1719. 5.7.1.3. Emphasis: EM
  1720.  
  1721.       The <EM> element indicates an emphasized phrase, typically
  1722.       rendered as italics. For example:
  1723.  
  1724.       A singular subject <em>always</em> takes a singular verb.
  1725.  
  1726. 5.7.1.4. Keyboard: KBD
  1727.  
  1728.       The <KBD> element indicates text typed by a user, typically
  1729.       rendered in a mono-spaced font. This is commonly used in
  1730.       instruction manuals. For example:
  1731.  
  1732.       Enter <kbd>FIND IT</kbd> to search the database.
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738. Berners-Lee & Connolly      Standards Track                    [Page 31]
  1739.  
  1740. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1741.  
  1742.  
  1743. 5.7.1.5. Sample: SAMP
  1744.  
  1745.       The <SAMP> element indicates a sequence of literal characters,
  1746.       typically rendered in a mono-spaced font. For example:
  1747.  
  1748.       The only word containing the letters <samp>mt</samp> is dreamt.
  1749.  
  1750. 5.7.1.6. Strong Emphasis: STRONG
  1751.  
  1752.       The <STRONG> element indicates strong emphasis, typically rendered
  1753.       in bold. For example:
  1754.  
  1755.       <strong>STOP</strong>, or I'll say "<strong>STOP</strong>" again!
  1756.  
  1757. 5.7.1.7. Variable: VAR
  1758.  
  1759.       The <VAR> element indicates a placeholder variable, typically
  1760.       rendered as italic. For example:
  1761.  
  1762.       Type <SAMP>html-check <VAR>file</VAR> | more</SAMP>
  1763.       to check <VAR>file</VAR> for markup errors.
  1764.  
  1765. 5.7.2. Typographic Elements
  1766.  
  1767.       Typographic elements are used to specify the format of marked
  1768.       text.
  1769.  
  1770.       Typical renderings for idiomatic elements may vary between user
  1771.       agents. If a specific rendering is necessary -- for example, when
  1772.       referring to a specific text attribute as in "The italic parts are
  1773.       mandatory" -- a typographic element can be used to ensure that the
  1774.       intended typography is used where possible.
  1775.  
  1776.       NOTE - User agents may support some typographic elements not
  1777.       included in this specification, as they have been deployed to some
  1778.       extent. The <STRIKE> element indicates horizontal line through the
  1779.       characters, and the <U> element indicates an underline.
  1780.  
  1781. 5.7.2.1. Bold: B
  1782.  
  1783.    The <B> element indicates bold text. Where bold typography is
  1784.    unavailable, an alternative representation may be used.
  1785.  
  1786. 5.7.2.2. Italic: I
  1787.  
  1788.    The <I> element indicates italic text. Where italic typography is
  1789.    unavailable, an alternative representation may be used.
  1790.  
  1791.  
  1792.  
  1793.  
  1794. Berners-Lee & Connolly      Standards Track                    [Page 32]
  1795.  
  1796. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1797.  
  1798.  
  1799. 5.7.2.3. Teletype: TT
  1800.  
  1801.    The <TT> element indicates teletype (monospaced )text. Where a
  1802.    teletype font is unavailable, an alternative representation may be
  1803.    used.
  1804.  
  1805. 5.7.3. Anchor: A
  1806.  
  1807.    The <A> element indicates a hyperlink anchor (see 7, "Hyperlinks").
  1808.    At least one of the NAME and HREF attributes should be present.
  1809.    Attributes of the <A> element:
  1810.  
  1811.     HREF
  1812.             gives the URI of the head anchor of a hyperlink.
  1813.  
  1814.     NAME
  1815.             gives the name of the anchor, and makes it available as
  1816.             a head of a hyperlink.
  1817.  
  1818.     TITLE
  1819.             suggests a title for the destination resource --
  1820.             advisory only. The TITLE attribute may be used:
  1821.  
  1822.                 * for display prior to accessing the destination
  1823.                 resource, for example, as a margin note or on a
  1824.                 small box while the mouse is over the anchor, or
  1825.                 while the document is being loaded;
  1826.  
  1827.                 * for resources that do not include a title, such as
  1828.                 graphics, plain text and Gopher menus, for use as a
  1829.                 window title.
  1830.  
  1831.     REL
  1832.             The REL attribute gives the relationship(s) described by
  1833.             the hyperlink. The value is a whitespace separated list
  1834.             of relationship names. The semantics of link
  1835.             relationships are not specified in this document.
  1836.  
  1837.     REV
  1838.             same as the REL attribute, but the semantics of the
  1839.             relationship are in the reverse direction. A link from A
  1840.             to B with REL="X" expresses the same relationship as a
  1841.             link from B to A with REV="X". An anchor may have both
  1842.             REL and REV attributes.
  1843.  
  1844.     URN
  1845.             specifies a preferred, more persistent identifier for
  1846.             the head anchor of the hyperlink. The syntax and
  1847.  
  1848.  
  1849.  
  1850. Berners-Lee & Connolly      Standards Track                    [Page 33]
  1851.  
  1852. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1853.  
  1854.  
  1855.             semantics of the URN attribute are not yet specified.
  1856.  
  1857.     METHODS
  1858.             specifies methods to be used in accessing the
  1859.             destination, as a whitespace-separated list of names.
  1860.             The set of applicable names is a function of the scheme
  1861.             of the URI in the HREF attribute. For similar reasons as
  1862.             for the TITLE attribute, it may be useful to include the
  1863.             information in advance in the link. For example, the
  1864.             HTML user agent may chose a different rendering as a
  1865.             function of the methods allowed; for example, something
  1866.             that is searchable may get a different icon.
  1867.  
  1868. 5.8. Line Break: BR
  1869.  
  1870.    The <BR> element specifies a line break between words (see 6,
  1871.    "Characters, Words, and Paragraphs"). For example:
  1872.  
  1873.     <P> Pease porridge hot<BR>
  1874.     Pease porridge cold<BR>
  1875.     Pease porridge in the pot<BR>
  1876.     Nine days old.
  1877.  
  1878. 5.9. Horizontal Rule: HR
  1879.  
  1880.    The <HR> element is a divider between sections of text; typically a
  1881.    full width horizontal rule or equivalent graphic.  For example:
  1882.  
  1883.     <HR>
  1884.     <ADDRESS>February 8, 1995, CERN</ADDRESS>
  1885.     </BODY>
  1886.  
  1887. 5.10. Image: IMG
  1888.  
  1889.    The <IMG> element refers to an image or icon via a hyperlink (see
  1890.    7.3, "Simultaneous Presentation of Image Resources").
  1891.  
  1892.    HTML user agents may process the value of the ALT attribute as an
  1893.    alternative to processing the image resource indicated by the SRC
  1894.    attribute.
  1895.  
  1896.       NOTE - Some HTML user agents can process graphics linked via
  1897.       anchors, but not <IMG> graphics. If a graphic is essential, it
  1898.       should be referenced from an <A> element rather than an <IMG>
  1899.       element. If the graphic is not essential, then the <IMG> element
  1900.       is appropriate.
  1901.  
  1902.    Attributes of the <IMG> element:
  1903.  
  1904.  
  1905.  
  1906. Berners-Lee & Connolly      Standards Track                    [Page 34]
  1907.  
  1908. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1909.  
  1910.  
  1911.     ALIGN
  1912.             alignment of the image with respect to the text
  1913.             baseline.
  1914.  
  1915.                 * `TOP' specifies that the top of the image aligns
  1916.                 with the tallest item on the line containing the
  1917.                 image.
  1918.  
  1919.                 * `MIDDLE' specifies that the center of the image
  1920.                 aligns with the baseline of the line containing the
  1921.                 image.
  1922.  
  1923.                 * `BOTTOM' specifies that the bottom of the image
  1924.                 aligns with the baseline of the line containing the
  1925.                 image.
  1926.  
  1927.     ALT
  1928.             text to use in place of the referenced image resource,
  1929.             for example due to processing constraints or user
  1930.             preference.
  1931.  
  1932.     ISMAP
  1933.             indicates an image map (see 7.6, "Image Maps").
  1934.  
  1935.     SRC
  1936.             specifies the URI of the image resource.
  1937.  
  1938.                 NOTE - In practice, the media types of image
  1939.                 resources are limited to a few raster graphic
  1940.                 formats: typically `image/gif', `image/jpeg'. In
  1941.                 particular, `text/html' resources are not
  1942.                 intended to be used as image resources.
  1943.  
  1944.     Examples of use:
  1945.  
  1946.     <IMG SRC="triangle.xbm" ALT="Warning:"> Be sure
  1947.     to read these instructions.
  1948.  
  1949.     <a href="http://machine/htbin/imagemap/sample">
  1950.     <IMG SRC="sample.xbm" ISMAP>
  1951.     </a>
  1952.  
  1953. 6. Characters, Words, and Paragraphs
  1954.  
  1955.    An HTML user agent should present the body of an HTML document as a
  1956.    collection of typeset paragraphs and preformatted text.  Except for
  1957.    preformatted elements (<PRE>, <XMP>, <LISTING>, <TEXTAREA>), each
  1958.    block structuring element is regarded as a paragraph by taking the
  1959.  
  1960.  
  1961.  
  1962. Berners-Lee & Connolly      Standards Track                    [Page 35]
  1963.  
  1964. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  1965.  
  1966.  
  1967.    data characters in its content and the content of its descendant
  1968.    elements, concatenating them, and splitting the result into words,
  1969.    separated by space, tab, or record end characters (and perhaps hyphen
  1970.    characters). The sequence of words is typeset as a paragraph by
  1971.    breaking it into lines.
  1972.  
  1973. 6.1. The HTML Document Character Set
  1974.  
  1975.    The document character set specified in 9.5, "SGML Declaration for
  1976.    HTML" must be supported by HTML user agents. It includes the graphic
  1977.    characters of Latin Alphabet No. 1, or simply Latin-1.  Latin-1
  1978.    comprises 191 graphic characters, including the alphabets of most
  1979.    Western European languages.
  1980.  
  1981.       NOTE - Use of the non-breaking space and soft hyphen indicator
  1982.       characters is discouraged because support for them is not widely
  1983.       deployed.
  1984.  
  1985.       NOTE - To support non-western writing systems, a larger character
  1986.       repertoire will be specified in a future version of HTML. The
  1987.       document character set will be [ISO-10646], or some subset that
  1988.       agrees with [ISO-10646]; in particular, all numeric character
  1989.       references must use code positions assigned by [ISO-10646].
  1990.  
  1991.    In SGML applications, the use of control characters is limited in
  1992.    order to maximize the chance of successful interchange over
  1993.    heterogeneous networks and operating systems. In the HTML document
  1994.    character set only three control characters are allowed: Horizontal
  1995.    Tab, Carriage Return, and Line Feed (code positions 9, 13, and 10).
  1996.  
  1997.    The HTML DTD references the Added Latin 1 entity set, to allow
  1998.    mnemonic representation of selected Latin 1 characters using only the
  1999.    widely supported ASCII character repertoire. For example:
  2000.  
  2001.    Kurt Gödel was a famous logician and mathematician.
  2002.  
  2003.    See 9.7.2, "ISO Latin 1 Character Entity Set" for a table of the
  2004.    "Added Latin 1" entities, and 13, "The HTML Coded Character Set" for
  2005.    a table of the code positions of [ISO 8859-1] and the control
  2006.    characters in the HTML document character set.
  2007.  
  2008. 7. Hyperlinks
  2009.  
  2010.    In addition to general purpose elements such as paragraphs and lists,
  2011.    HTML documents can express hyperlinks. An HTML user agent allows the
  2012.    user to navigate these hyperlinks.
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018. Berners-Lee & Connolly      Standards Track                    [Page 36]
  2019.  
  2020. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2021.  
  2022.  
  2023.    A hyperlink is a relationship between two anchors, called the head
  2024.    and the tail of the hyperlink[DEXTER]. Anchors are identified by an
  2025.    anchor address: an absolute Uniform Resource Identifier (URI),
  2026.    optionally followed by a '#' and a sequence of characters called a
  2027.    fragment identifier. For example:
  2028.  
  2029.    http://www.w3.org/hypertext/WWW/TheProject.html
  2030.    http://www.w3.org/hypertext/WWW/TheProject.html#z31
  2031.  
  2032.    In an anchor address, the URI refers to a resource; it may be used in
  2033.    a variety of information retrieval protocols to obtain an entity that
  2034.    represents the resource, such as an HTML document. The fragment
  2035.    identifier, if present, refers to some view on, or portion of the
  2036.    resource.
  2037.  
  2038.    Each of the following markup constructs indicates the tail anchor of
  2039.    a hyperlink or set of hyperlinks:
  2040.  
  2041.         * <A> elements with HREF present.
  2042.  
  2043.         * <LINK> elements.
  2044.  
  2045.         * <IMG> elements.
  2046.  
  2047.         * <INPUT> elements with the SRC attribute present.
  2048.  
  2049.         * <ISINDEX> elements.
  2050.  
  2051.         * <FORM> elements with `METHOD=GET'.
  2052.  
  2053.    These markup constructs refer to head anchors by a URI, either
  2054.    absolute or relative, or a fragment identifier, or both.
  2055.  
  2056.    In the case of a relative URI, the absolute URI in the address of the
  2057.    head anchor is the result of combining the relative URI with a base
  2058.    absolute URI as in [RELURL]. The base document is taken from the
  2059.    document's <BASE> element, if present; else, it is determined as in
  2060.    [RELURL].
  2061.  
  2062. 7.1. Accessing Resources
  2063.  
  2064.    Once the address of the head anchor is determined, the user agent may
  2065.    obtain a representation of the resource.
  2066.  
  2067.    For example, if the base URI is `http://host/x/y.html' and the
  2068.    document contains:
  2069.  
  2070.    <img src="../icons/abc.gif">
  2071.  
  2072.  
  2073.  
  2074. Berners-Lee & Connolly      Standards Track                    [Page 37]
  2075.  
  2076. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2077.  
  2078.  
  2079.    then the user agent uses the URI `http://host/icons/abc.gif' to
  2080.    access the resource, as in [URL]..
  2081.  
  2082. 7.2. Activation of Hyperlinks
  2083.  
  2084.    An HTML user agent allows the user to navigate the content of the
  2085.    document and request activation of hyperlinks denoted by <A>
  2086.    elements. HTML user agents should also allow activation of <LINK>
  2087.    element hyperlinks.
  2088.  
  2089.    To activate a link, the user agent obtains a representation of the
  2090.    resource identified in the address of the head anchor. If the
  2091.    representation is another HTML document, navigation may begin again
  2092.    with this new document.
  2093.  
  2094. 7.3. Simultaneous Presentation of Image Resources
  2095.  
  2096.    An HTML user agent may activate hyperlinks indicated by <IMG> and
  2097.    <INPUT> elements concurrently with processing the document; that is,
  2098.    image hyperlinks may be processed without explicit request by the
  2099.    user. Image resources should be embedded in the presentation at the
  2100.    point of the tail anchor, that is the <IMG> or <INPUT> element.
  2101.  
  2102.    <LINK> hyperlinks may also be processed without explicit user
  2103.    request; for example, style sheet resources may be processed before
  2104.    or during the processing of the document.
  2105.  
  2106. 7.4. Fragment Identifiers
  2107.  
  2108.    Any characters following a `#' character in a hypertext address
  2109.    constitute a fragment identifier. In particular, an address of the
  2110.    form `#fragment' refers to an anchor in the same document.
  2111.  
  2112.    The meaning of fragment identifiers depends on the media type of the
  2113.    representation of the anchor's resource. For `text/html'
  2114.    representations, it refers to the <A> element with a NAME attribute
  2115.    whose value is the same as the fragment identifier.  The matching is
  2116.    case sensitive. The document should have exactly one such element.
  2117.    The user agent should indicate the anchor element, for example by
  2118.    scrolling to and/or highlighting the phrase.
  2119.  
  2120.    For example, if the base URI is `http://host/x/y.html' and the user
  2121.    activated the link denoted by the following markup:
  2122.  
  2123.    <p> See: <a href="app1.html#bananas">appendix 1</a>
  2124.    for more detail on bananas.
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130. Berners-Lee & Connolly      Standards Track                    [Page 38]
  2131.  
  2132. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2133.  
  2134.  
  2135.    Then the user agent accesses the resource identified by
  2136.    `http://host/x/app1.html'. Assuming the resource is represented using
  2137.    the `text/html' media type, the user agent must locate the <A>
  2138.    element whose NAME attribute is `bananas' and begin navigation there.
  2139.  
  2140. 7.5. Queries and Indexes
  2141.  
  2142.    The <ISINDEX> element represents a set of hyperlinks. The user can
  2143.    choose from the set by providing keywords to the user agent.  The
  2144.    user agent computes the head URI by appending `?' and the keywords to
  2145.    the base URI. The keywords are escaped according to [URL] and joined
  2146.    by `+'. For example, if a document contains:
  2147.  
  2148.     <BASE HREF="http://host/index">
  2149.     <ISINDEX>
  2150.  
  2151.     and the user provides the keywords `apple' and `berry', then the
  2152.     user agent must access the resource
  2153.     `http://host/index?apple+berry'.
  2154.  
  2155.     <FORM> elements with `METHOD=GET' also represent sets of
  2156.     hyperlinks. See 8.2.2, "Query Forms: METHOD=GET" for details.
  2157.  
  2158. 7.6. Image Maps
  2159.  
  2160.    If the ISMAP attribute is present on an <IMG> element, the <IMG>
  2161.    element must be contained in an <A> element with an HREF present.
  2162.    This construct represents a set of hyperlinks. The user can choose
  2163.    from the set by choosing a pixel of the image. The user agent
  2164.    computes the head URI by appending `?' and the x and y coordinates of
  2165.    the pixel to the URI given in the <A> element.  For example, if a
  2166.    document contains:
  2167.  
  2168.    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  2169.    <head><title>ImageMap Example</title>
  2170.    <BASE HREF="http://host/index"></head>
  2171.    <body>
  2172.    <p> Choose any of these icons:<br>
  2173.    <a href="/cgi-bin/imagemap"><img ismap src="icons.gif"></a>
  2174.  
  2175.    and the user chooses the upper-leftmost pixel, the chosen
  2176.    hyperlink is the one with the URI
  2177.    `http://host/cgi-bin/imagemap?0,0'.
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186. Berners-Lee & Connolly      Standards Track                    [Page 39]
  2187.  
  2188. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2189.  
  2190.  
  2191. 8. Forms
  2192.  
  2193.    A form is a template for a form data set and an associated
  2194.    method and action URI. A form data set is a sequence of
  2195.    name/value pair fields. The names are specified on the NAME
  2196.    attributes of form input elements, and the values are given
  2197.    initial values by various forms of markup and edited by the
  2198.    user. The resulting form data set is used to access an
  2199.    information service as a function of the action and method.
  2200.  
  2201.    Forms elements can be mixed in with document structuring
  2202.    elements. For example, a <PRE> element may contain a <FORM>
  2203.    element, or a <FORM> element may contain lists which contain
  2204.    <INPUT> elements. This gives considerable flexibility in
  2205.    designing the layout of forms.
  2206.  
  2207.    Form processing is a level 2 feature.
  2208.  
  2209. 8.1. Form Elements
  2210.  
  2211. 8.1.1. Form: FORM
  2212.  
  2213.    The <FORM> element contains a sequence of input elements, along
  2214.    with document structuring elements. The attributes are:
  2215.  
  2216.     ACTION
  2217.             specifies the action URI for the form. The action URI of
  2218.             a form defaults to the base URI of the document (see 7,
  2219.             "Hyperlinks").
  2220.  
  2221.     METHOD
  2222.             selects a method of accessing the action URI. The set of
  2223.             applicable methods is a function of the scheme of the
  2224.             action URI of the form. See 8.2.2, "Query Forms:
  2225.             METHOD=GET" and 8.2.3, "Forms with Side-Effects:
  2226.             METHOD=POST".
  2227.  
  2228.     ENCTYPE
  2229.             specifies the media type used to encode the name/value
  2230.             pairs for transport, in case the protocol does not
  2231.             itself impose a format. See 8.2.1, "The form-urlencoded
  2232.             Media Type".
  2233.  
  2234. 8.1.2. Input Field: INPUT
  2235.  
  2236.    The <INPUT> element represents a field for user input. The TYPE
  2237.    attribute discriminates between several variations of fields.
  2238.  
  2239.  
  2240.  
  2241.  
  2242. Berners-Lee & Connolly      Standards Track                    [Page 40]
  2243.  
  2244. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2245.  
  2246.  
  2247.    The <INPUT> element has a number of attributes. The set of applicable
  2248.    attributes depends on the value of the TYPE attribute.
  2249.  
  2250. 8.1.2.1. Text Field: INPUT TYPE=TEXT
  2251.  
  2252.    The default value of the TYPE attribute is `TEXT', indicating a
  2253.    single line text entry field. (Use the <TEXTAREA> element for multi-
  2254.    line text fields.)
  2255.  
  2256.    Required attributes are:
  2257.  
  2258.     NAME
  2259.             name for the form field corresponding to this element.
  2260.  
  2261.     The optional attributes are:
  2262.  
  2263.     MAXLENGTH
  2264.             constrains the number of characters that can be entered
  2265.             into a text input field. If the value of MAXLENGTH is
  2266.             greater the the value of the SIZE attribute, the field
  2267.             should scroll appropriately. The default number of
  2268.             characters is unlimited.
  2269.  
  2270.     SIZE
  2271.             specifies the amount of display space allocated to this
  2272.             input field according to its type. The default depends
  2273.             on the user agent.
  2274.  
  2275.     VALUE
  2276.             The initial value of the field.
  2277.  
  2278.     For example:
  2279.  
  2280. <p>Street Address: <input name=street><br>
  2281. Postal City code: <input name=city size=16 maxlength=16><br>
  2282. Zip Code: <input name=zip size=10 maxlength=10 value="99999-9999"><br>
  2283.  
  2284. 8.1.2.2. Password Field: INPUT TYPE=PASSWORD
  2285.  
  2286.    An <INPUT> element with `TYPE=PASSWORD' is a text field as above,
  2287.    except that the value is obscured as it is entered. (see also: 10,
  2288.    "Security Considerations").
  2289.  
  2290.    For example:
  2291.  
  2292. <p>Name: <input name=login> Password: <input type=password name=passwd>
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298. Berners-Lee & Connolly      Standards Track                    [Page 41]
  2299.  
  2300. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2301.  
  2302.  
  2303. 8.1.2.3. Check Box: INPUT TYPE=CHECKBOX
  2304.  
  2305.    An <INPUT> element with `TYPE=CHECKBOX' represents a boolean choice.
  2306.    A set of such elements with the same name represents an n-of-many
  2307.    choice field. Required attributes are:
  2308.  
  2309.     NAME
  2310.             symbolic name for the form field corresponding to this
  2311.             element or group of elements.
  2312.  
  2313.     VALUE
  2314.             The portion of the value of the field contributed by
  2315.             this element.
  2316.  
  2317.     Optional attributes are:
  2318.  
  2319.     CHECKED
  2320.             indicates that the initial state is on.
  2321.  
  2322.     For example:
  2323.  
  2324.   <p>What flavors do you like?
  2325.   <input type=checkbox name=flavor value=vanilla>Vanilla<br>
  2326.   <input type=checkbox name=flavor value=strawberry>Strawberry<br>
  2327.   <input type=checkbox name=flavor value=chocolate checked>Chocolate<br>
  2328.  
  2329. 8.1.2.4. Radio Button: INPUT TYPE=RADIO
  2330.  
  2331.    An <INPUT> element with `TYPE=RADIO' represents a boolean choice. A
  2332.    set of such elements with the same name represents a 1-of-many choice
  2333.    field. The NAME and VALUE attributes are required as for check boxes.
  2334.    Optional attributes are:
  2335.  
  2336.     CHECKED
  2337.             indicates that the initial state is on.
  2338.    At all times, exactly one of the radio buttons in a set is checked.
  2339.    If none of the <INPUT> elements of a set of radio buttons specifies
  2340.    `CHECKED', then the user agent must check the first radio button of
  2341.    the set initially.
  2342.  
  2343.    For example:
  2344.  
  2345.     <p>Which is your favorite?
  2346.     <input type=radio name=flavor value=vanilla>Vanilla<br>
  2347.     <input type=radio name=flavor value=strawberry>Strawberry<br>
  2348.     <input type=radio name=flavor value=chocolate>Chocolate<br>
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354. Berners-Lee & Connolly      Standards Track                    [Page 42]
  2355.  
  2356. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2357.  
  2358.  
  2359. 8.1.2.5. Image Pixel: INPUT TYPE=IMAGE
  2360.  
  2361.    An <INPUT> element with `TYPE=IMAGE' specifies an image resource to
  2362.    display, and allows input of two form fields: the x and y coordinate
  2363.    of a pixel chosen from the image. The names of the fields are the
  2364.    name of the field with `.x' and `.y' appended.  `TYPE=IMAGE' implies
  2365.    `TYPE=SUBMIT' processing; that is, when a pixel is chosen, the form
  2366.    as a whole is submitted.
  2367.  
  2368.    The NAME attribute is required as for other input fields. The SRC
  2369.    attribute is required and the ALIGN is optional as for the <IMG>
  2370.    element (see 5.10, "Image: IMG").
  2371.  
  2372.    For example:
  2373.  
  2374.     <p>Choose a point on the map:
  2375.     <input type=image name=point src="map.gif">
  2376.  
  2377. 8.1.2.6. Hidden Field: INPUT TYPE=HIDDEN
  2378.  
  2379.    An <INPUT> element with `TYPE=HIDDEN' represents a hidden field.The
  2380.    user does not interact with this field; instead, the VALUE attribute
  2381.    specifies the value of the field. The NAME and VALUE attributes are
  2382.    required.
  2383.  
  2384.    For example:
  2385.  
  2386.    <input type=hidden name=context value="l2k3j4l2k3j4l2k3j4lk23">
  2387.  
  2388. 8.1.2.7. Submit Button: INPUT TYPE=SUBMIT
  2389.  
  2390.    An <INPUT> element with `TYPE=SUBMIT' represents an input option,
  2391.    typically a button, that instructs the user agent to submit the form.
  2392.    Optional attributes are:
  2393.  
  2394.     NAME
  2395.             indicates that this element contributes a form field
  2396.             whose value is given by the VALUE attribute. If the NAME
  2397.             attribute is not present, this element does not
  2398.             contribute a form field.
  2399.  
  2400.     VALUE
  2401.             indicates a label for the input (button).
  2402.  
  2403.     You may submit this request internally:
  2404.     <input type=submit name=recipient value=internal><br>
  2405.     or to the external world:
  2406.     <input type=submit name=recipient value=world>
  2407.  
  2408.  
  2409.  
  2410. Berners-Lee & Connolly      Standards Track                    [Page 43]
  2411.  
  2412. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2413.  
  2414.  
  2415. 8.1.2.8. Reset Button: INPUT TYPE=RESET
  2416.  
  2417.    An <INPUT> element with `TYPE=RESET' represents an input option,
  2418.    typically a button, that instructs the user agent to reset the form's
  2419.    fields to their initial states. The VALUE attribute, if present,
  2420.    indicates a label for the input (button).
  2421.  
  2422.    When you are finished, you may submit this request:
  2423.    <input type=submit><br>
  2424.    You may clear the form and start over at any time: <input type=reset>
  2425.  
  2426. 8.1.3. Selection: SELECT
  2427.  
  2428.    The <SELECT> element constrains the form field to an enumerated list
  2429.    of values. The values are given in <OPTION> elements.  Attributes
  2430.    are:
  2431.  
  2432.     MULTIPLE
  2433.             indicates that more than one option may be included in
  2434.             the value.
  2435.  
  2436.     NAME
  2437.             specifies the name of the form field.
  2438.  
  2439.     SIZE
  2440.             specifies the number of visible items. Select fields of
  2441.             size one are typically pop-down menus, whereas select
  2442.             fields with size greater than one are typically lists.
  2443.  
  2444.     For example:
  2445.  
  2446.     <SELECT NAME="flavor">
  2447.     <OPTION>Vanilla
  2448.     <OPTION>Strawberry
  2449.     <OPTION value="RumRasin">Rum and Raisin
  2450.     <OPTION selected>Peach and Orange
  2451.     </SELECT>
  2452.  
  2453.    The initial state has the first option selected, unless a SELECTED
  2454.    attribute is present on any of the <OPTION> elements.
  2455.  
  2456. 8.1.3.1. Option: OPTION
  2457.  
  2458.    The Option element can only occur within a Select element. It
  2459.    represents one choice, and has the following attributes:
  2460.  
  2461.     SELECTED
  2462.             Indicates that this option is initially selected.
  2463.  
  2464.  
  2465.  
  2466. Berners-Lee & Connolly      Standards Track                    [Page 44]
  2467.  
  2468. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2469.  
  2470.  
  2471.     VALUE
  2472.             indicates the value to be returned if this option is
  2473.             chosen. The field value defaults to the content of the
  2474.             <OPTION> element.
  2475.  
  2476.    The content of the <OPTION> element is presented to the user to
  2477.    represent the option. It is used as a returned value if the VALUE
  2478.    attribute is not present.
  2479.  
  2480. 8.1.4. Text Area: TEXTAREA
  2481.  
  2482.    The <TEXTAREA> element represents a multi-line text field.
  2483.    Attributes are:
  2484.  
  2485.     COLS
  2486.             the number of visible columns to display for the text
  2487.             area, in characters.
  2488.  
  2489.     NAME
  2490.             Specifies the name of the form field.
  2491.  
  2492.     ROWS
  2493.             The number of visible rows to display for the text area,
  2494.             in characters.
  2495.  
  2496.     For example:
  2497.  
  2498.     <TEXTAREA NAME="address" ROWS=6 COLS=64>
  2499.     HaL Computer Systems
  2500.     1315 Dell Avenue
  2501.     Campbell, California 95008
  2502.     </TEXTAREA>
  2503.  
  2504.    The content of the <TEXTAREA> element is the field's initial value.
  2505.  
  2506.    Typically, the ROWS and COLS attributes determine the visible
  2507.    dimension of the field in characters. The field is typically rendered
  2508.    in a fixed-width font. HTML user agents should allow text to extend
  2509.    beyond these limits by scrolling as needed.
  2510.  
  2511. 8.2. Form Submission
  2512.  
  2513.    An HTML user agent begins processing a form by presenting the
  2514.    document with the fields in their initial state. The user is allowed
  2515.    to modify the fields, constrained by the field type etc.  When the
  2516.    user indicates that the form should be submitted (using a submit
  2517.    button or image input), the form data set is processed according to
  2518.    its method, action URI and enctype.
  2519.  
  2520.  
  2521.  
  2522. Berners-Lee & Connolly      Standards Track                    [Page 45]
  2523.  
  2524. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2525.  
  2526.  
  2527.    When there is only one single-line text input field in a form, the
  2528.    user agent should accept Enter in that field as a request to submit
  2529.    the form.
  2530.  
  2531. 8.2.1. The form-urlencoded Media Type
  2532.  
  2533.    The default encoding for all forms is `application/x-www-form-
  2534.    urlencoded'. A form data set is represented in this media type as
  2535.    follows:
  2536.  
  2537.         1. The form field names and values are escaped: space
  2538.         characters are replaced by `+', and then reserved characters
  2539.         are escaped as per [URL]; that is, non-alphanumeric
  2540.         characters are replaced by `%HH', a percent sign and two
  2541.         hexadecimal digits representing the ASCII code of the
  2542.         character. Line breaks, as in multi-line text field values,
  2543.         are represented as CR LF pairs, i.e. `%0D%0A'.
  2544.  
  2545.         2. The fields are listed in the order they appear in the
  2546.         document with the name separated from the value by `=' and
  2547.         the pairs separated from each other by `&'. Fields with null
  2548.         values may be omitted. In particular, unselected radio
  2549.         buttons and checkboxes should not appear in the encoded
  2550.         data, but hidden fields with VALUE attributes present
  2551.         should.
  2552.  
  2553.             NOTE - The URI from a query form submission can be
  2554.             used in a normal anchor style hyperlink.
  2555.             Unfortunately, the use of the `&' character to
  2556.             separate form fields interacts with its use in SGML
  2557.             attribute values as an entity reference delimiter.
  2558.             For example, the URI `http://host/?x=1&y=2' must be
  2559.             written `<a href="http://host/?x=1&y=2"' or `<a
  2560.             href="http://host/?x=1&y=2">'.
  2561.  
  2562.             HTTP server implementors, and in particular, CGI
  2563.             implementors are encouraged to support the use of
  2564.             `;' in place of `&' to save users the trouble of
  2565.             escaping `&' characters this way.
  2566.  
  2567. 8.2.2. Query Forms: METHOD=GET
  2568.  
  2569.    If the processing of a form is idempotent (i.e. it has no lasting
  2570.    observable effect on the state of the world), then the form method
  2571.    should be `GET'. Many database searches have no visible side-effects
  2572.    and make ideal applications of query forms.
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578. Berners-Lee & Connolly      Standards Track                    [Page 46]
  2579.  
  2580. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2581.  
  2582.  
  2583.    To process a form whose action URL is an HTTP URL and whose method is
  2584.    `GET', the user agent starts with the action URI and appends a `?'
  2585.    and the form data set, in `application/x-www-form-urlencoded' format
  2586.    as above. The user agent then traverses the link to this URI just as
  2587.    if it were an anchor (see 7.2, "Activation of Hyperlinks").
  2588.  
  2589.       NOTE - The URL encoding may result in very long URIs, which cause
  2590.       some historical HTTP server implementations to exhibit defective
  2591.       behavior. As a result, some HTML forms are written using
  2592.       `METHOD=POST' even though the form submission has no side-effects.
  2593.  
  2594. 8.2.3. Forms with Side-Effects: METHOD=POST
  2595.  
  2596.    If the service associated with the processing of a form has side
  2597.    effects (for example, modification of a database or subscription to a
  2598.    service), the method should be `POST'.
  2599.  
  2600.    To process a form whose action URL is an HTTP URL and whose method is
  2601.    `POST', the user agent conducts an HTTP POST transaction using the
  2602.    action URI, and a message body of type `application/x-www-form-
  2603.    urlencoded' format as above. The user agent should display the
  2604.    response from the HTTP POST interaction just as it would display the
  2605.    response from an HTTP GET above.
  2606.  
  2607. 8.2.4. Example Form Submission: Questionnaire Form
  2608.  
  2609.    Consider the following document:
  2610.  
  2611.     <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  2612.     <title>Sample of HTML Form Submission</title>
  2613.     <H1>Sample Questionnaire</H1>
  2614.     <P>Please fill out this questionnaire:
  2615.     <FORM METHOD="POST" ACTION="http://www.w3.org/sample">
  2616.     <P>Your name: <INPUT NAME="name" size="48">
  2617.     <P>Male <INPUT NAME="gender" TYPE=RADIO VALUE="male">
  2618.     <P>Female <INPUT NAME="gender" TYPE=RADIO VALUE="female">
  2619.     <P>Number in family: <INPUT NAME="family" TYPE=text>
  2620.     <P>Cities in which you maintain a residence:
  2621.     <UL>
  2622.     <LI>Kent <INPUT NAME="city" TYPE=checkbox VALUE="kent">
  2623.     <LI>Miami <INPUT NAME="city" TYPE=checkbox VALUE="miami">
  2624.     <LI>Other <TEXTAREA NAME="other" cols=48 rows=4></textarea>
  2625.     </UL>
  2626.     Nickname: <INPUT NAME="nickname" SIZE="42">
  2627.     <P>Thank you for responding to this questionnaire.
  2628.     <P><INPUT TYPE=SUBMIT> <INPUT TYPE=RESET>
  2629.     </FORM>
  2630.  
  2631.  
  2632.  
  2633.  
  2634. Berners-Lee & Connolly      Standards Track                    [Page 47]
  2635.  
  2636. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2637.  
  2638.  
  2639.     The initial state of the form data set is:
  2640.  
  2641.     name
  2642.             ""
  2643.  
  2644.     gender
  2645.             "male"
  2646.  
  2647.     family
  2648.             ""
  2649.  
  2650.     other
  2651.             ""
  2652.  
  2653.     nickname
  2654.             ""
  2655.  
  2656.     Note that the radio input has an initial value, while the
  2657.     checkbox has none.
  2658.  
  2659.     The user might edit the fields and request that the form be
  2660.     submitted. At that point, suppose the values are:
  2661.  
  2662.     name
  2663.             "John Doe"
  2664.  
  2665.     gender
  2666.             "male"
  2667.  
  2668.     family
  2669.             "5"
  2670.  
  2671.     city
  2672.             "kent"
  2673.  
  2674.     city
  2675.             "miami"
  2676.  
  2677.     other
  2678.             "abc\ndefk"
  2679.  
  2680.     nickname
  2681.             "J&D"
  2682.  
  2683.    The user agent then conducts an HTTP POST transaction using the URI
  2684.    `http://www.w3.org/sample'. The message body would be (ignore the
  2685.    line break):
  2686.  
  2687.  
  2688.  
  2689.  
  2690. Berners-Lee & Connolly      Standards Track                    [Page 48]
  2691.  
  2692. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2693.  
  2694.  
  2695.    name=John+Doe&gender=male&family=5&city=kent&city=miami&
  2696.    other=abc%0D%0Adef&nickname=J%26D
  2697.  
  2698. 9. HTML Public Text
  2699.  
  2700. 9.1. HTML DTD
  2701.  
  2702.    This is the Document Type Definition for the HyperText Markup
  2703.    Language, level 2.
  2704.  
  2705. <!--    html.dtd
  2706.  
  2707.         Document Type Definition for the HyperText Markup Language
  2708.                  (HTML DTD)
  2709.  
  2710.         $Id: html.dtd,v 1.30 1995/09/21 23:30:19 connolly Exp $
  2711.  
  2712.         Author: Daniel W. Connolly <connolly@w3.org>
  2713.         See Also: html.decl, html-1.dtd
  2714.           http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html
  2715. -->
  2716.  
  2717. <!ENTITY % HTML.Version
  2718.         "-//IETF//DTD HTML 2.0//EN"
  2719.  
  2720.         -- Typical usage:
  2721.  
  2722.             <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  2723.             <html>
  2724.             ...
  2725.             </html>
  2726.         --
  2727.         >
  2728.  
  2729.  
  2730. <!--============ Feature Test Entities ========================-->
  2731.  
  2732. <!ENTITY % HTML.Recommended "IGNORE"
  2733.         -- Certain features of the language are necessary for
  2734.            compatibility with widespread usage, but they may
  2735.            compromise the structural integrity of a document.
  2736.            This feature test entity enables a more prescriptive
  2737.            document type definition that eliminates
  2738.            those features.
  2739.         -->
  2740.  
  2741. <![ %HTML.Recommended [
  2742.         <!ENTITY % HTML.Deprecated "IGNORE">
  2743.  
  2744.  
  2745.  
  2746. Berners-Lee & Connolly      Standards Track                    [Page 49]
  2747.  
  2748. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2749.  
  2750.  
  2751. ]]>
  2752.  
  2753. <!ENTITY % HTML.Deprecated "INCLUDE"
  2754.         -- Certain features of the language are necessary for
  2755.            compatibility with earlier versions of the specification,
  2756.            but they tend to be used and implemented inconsistently,
  2757.            and their use is deprecated. This feature test entity
  2758.            enables a document type definition that eliminates
  2759.            these features.
  2760.         -->
  2761.  
  2762. <!ENTITY % HTML.Highlighting "INCLUDE"
  2763.         -- Use this feature test entity to validate that a
  2764.            document uses no highlighting tags, which may be
  2765.            ignored on minimal implementations.
  2766.         -->
  2767.  
  2768. <!ENTITY % HTML.Forms "INCLUDE"
  2769.         -- Use this feature test entity to validate that a document
  2770.            contains no forms, which may not be supported in minimal
  2771.            implementations
  2772.         -->
  2773.  
  2774. <!--============== Imported Names ==============================-->
  2775.  
  2776. <!ENTITY % Content-Type "CDATA"
  2777.         -- meaning an internet media type
  2778.            (aka MIME content type, as per RFC1521)
  2779.         -->
  2780.  
  2781. <!ENTITY % HTTP-Method "GET | POST"
  2782.         -- as per HTTP specification, in progress
  2783.         -->
  2784.  
  2785. <!--========= DTD "Macros" =====================-->
  2786.  
  2787. <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
  2788.  
  2789. <!ENTITY % list " UL | OL | DIR | MENU " >
  2790.  
  2791.  
  2792. <!--======= Character mnemonic entities =================-->
  2793.  
  2794. <!ENTITY % ISOlat1 PUBLIC
  2795.   "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">
  2796. %ISOlat1;
  2797.  
  2798. <!ENTITY amp CDATA "&"     -- ampersand          -->
  2799.  
  2800.  
  2801.  
  2802. Berners-Lee & Connolly      Standards Track                    [Page 50]
  2803.  
  2804. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2805.  
  2806.  
  2807. <!ENTITY gt CDATA ">"      -- greater than       -->
  2808. <!ENTITY lt CDATA "<"      -- less than          -->
  2809. <!ENTITY quot CDATA """    -- double quote       -->
  2810.  
  2811.  
  2812. <!--========= SGML Document Access (SDA) Parameter Entities =====-->
  2813.  
  2814. <!-- HTML 2.0 contains SGML Document Access (SDA) fixed attributes
  2815. in support of easy transformation to the International Committee
  2816. for Accessible Document Design (ICADD) DTD
  2817.          "-//EC-USA-CDA/ICADD//DTD ICADD22//EN".
  2818. ICADD applications are designed to support usable access to
  2819. structured information by print-impaired individuals through
  2820. Braille, large print and voice synthesis.  For more information on
  2821. SDA & ICADD:
  2822.         - ISO 12083:1993, Annex A.8, Facilities for Braille,
  2823.           large print and computer voice
  2824.         - ICADD ListServ
  2825.           <ICADD%ASUACAD.BITNET@ARIZVM1.ccit.arizona.edu>
  2826.         - Usenet news group bit.listserv.easi
  2827.         - Recording for the Blind, +1 800 221 4792
  2828. -->
  2829.  
  2830. <!ENTITY % SDAFORM  "SDAFORM  CDATA  #FIXED"
  2831.           -- one to one mapping        -->
  2832. <!ENTITY % SDARULE  "SDARULE  CDATA  #FIXED"
  2833.           -- context-sensitive mapping -->
  2834. <!ENTITY % SDAPREF  "SDAPREF  CDATA  #FIXED"
  2835.           -- generated text prefix     -->
  2836. <!ENTITY % SDASUFF  "SDASUFF  CDATA  #FIXED"
  2837.           -- generated text suffix     -->
  2838. <!ENTITY % SDASUSP  "SDASUSP  NAME   #FIXED"
  2839.           -- suspend transform process -->
  2840.  
  2841.  
  2842. <!--========== Text Markup =====================-->
  2843.  
  2844. <![ %HTML.Highlighting [
  2845.  
  2846. <!ENTITY % font " TT | B | I ">
  2847.  
  2848. <!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | CITE ">
  2849.  
  2850. <!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font">
  2851.  
  2852. <!ELEMENT (%font;|%phrase) - - (%text)*>
  2853. <!ATTLIST ( TT | CODE | SAMP | KBD | VAR )
  2854.         %SDAFORM; "Lit"
  2855.  
  2856.  
  2857.  
  2858. Berners-Lee & Connolly      Standards Track                    [Page 51]
  2859.  
  2860. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2861.  
  2862.  
  2863.         >
  2864. <!ATTLIST ( B | STRONG )
  2865.         %SDAFORM; "B"
  2866.         >
  2867. <!ATTLIST ( I | EM | CITE )
  2868.         %SDAFORM; "It"
  2869.         >
  2870.  
  2871. <!-- <TT>       Typewriter text                         -->
  2872. <!-- <B>        Bold text                               -->
  2873. <!-- <I>        Italic text                             -->
  2874.  
  2875. <!-- <EM>       Emphasized phrase                       -->
  2876. <!-- <STRONG>   Strong emphasis                         -->
  2877. <!-- <CODE>     Source code phrase                      -->
  2878. <!-- <SAMP>     Sample text or characters               -->
  2879. <!-- <KBD>      Keyboard phrase, e.g. user input        -->
  2880. <!-- <VAR>      Variable phrase or substitutable        -->
  2881. <!-- <CITE>     Name or title of cited work             -->
  2882.  
  2883. <!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase">
  2884.  
  2885. ]]>
  2886.  
  2887. <!ENTITY % text "#PCDATA | A | IMG | BR">
  2888.  
  2889. <!ELEMENT BR    - O EMPTY>
  2890. <!ATTLIST BR
  2891.         %SDAPREF; "&#RE;"
  2892.         >
  2893.  
  2894. <!-- <BR>       Line break      -->
  2895.  
  2896.  
  2897. <!--========= Link Markup ======================-->
  2898.  
  2899. <!ENTITY % linkType "NAMES">
  2900.  
  2901. <!ENTITY % linkExtraAttributes
  2902.         "REL %linkType #IMPLIED
  2903.         REV %linkType #IMPLIED
  2904.         URN CDATA #IMPLIED
  2905.         TITLE CDATA #IMPLIED
  2906.         METHODS NAMES #IMPLIED
  2907.         ">
  2908.  
  2909. <![ %HTML.Recommended [
  2910.         <!ENTITY % A.content   "(%text)*"
  2911.  
  2912.  
  2913.  
  2914. Berners-Lee & Connolly      Standards Track                    [Page 52]
  2915.  
  2916. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2917.  
  2918.  
  2919.         -- <H1><a name="xxx">Heading</a></H1>
  2920.                 is preferred to
  2921.            <a name="xxx"><H1>Heading</H1></a>
  2922.         -->
  2923. ]]>
  2924.  
  2925. <!ENTITY % A.content   "(%heading|%text)*">
  2926.  
  2927. <!ELEMENT A     - - %A.content -(A)>
  2928. <!ATTLIST A
  2929.         HREF CDATA #IMPLIED
  2930.         NAME CDATA #IMPLIED
  2931.         %linkExtraAttributes;
  2932.         %SDAPREF; "<Anchor: #AttList>"
  2933.         >
  2934. <!-- <A>                Anchor; source/destination of link      -->
  2935. <!-- <A NAME="...">     Name of this anchor                     -->
  2936. <!-- <A HREF="...">     Address of link destination             -->
  2937. <!-- <A URN="...">      Permanent address of destination        -->
  2938. <!-- <A REL=...>        Relationship to destination             -->
  2939. <!-- <A REV=...>        Relationship of destination to this     -->
  2940. <!-- <A TITLE="...">    Title of destination (advisory)         -->
  2941. <!-- <A METHODS="...">  Operations on destination (advisory)    -->
  2942.  
  2943.  
  2944. <!--========== Images ==========================-->
  2945.  
  2946. <!ELEMENT IMG    - O EMPTY>
  2947. <!ATTLIST IMG
  2948.         SRC CDATA  #REQUIRED
  2949.         ALT CDATA #IMPLIED
  2950.         ALIGN (top|middle|bottom) #IMPLIED
  2951.         ISMAP (ISMAP) #IMPLIED
  2952.         %SDAPREF; "<Fig><?SDATrans Img: #AttList>#AttVal(Alt)</Fig>"
  2953.         >
  2954.  
  2955. <!-- <IMG>              Image; icon, glyph or illustration      -->
  2956. <!-- <IMG SRC="...">    Address of image object                 -->
  2957. <!-- <IMG ALT="...">    Textual alternative                     -->
  2958. <!-- <IMG ALIGN=...>    Position relative to text               -->
  2959. <!-- <IMG ISMAP>        Each pixel can be a link                -->
  2960.  
  2961. <!--========== Paragraphs=======================-->
  2962.  
  2963. <!ELEMENT P     - O (%text)*>
  2964. <!ATTLIST P
  2965.         %SDAFORM; "Para"
  2966.         >
  2967.  
  2968.  
  2969.  
  2970. Berners-Lee & Connolly      Standards Track                    [Page 53]
  2971.  
  2972. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  2973.  
  2974.  
  2975. <!-- <P>        Paragraph       -->
  2976.  
  2977.  
  2978. <!--========== Headings, Titles, Sections ===============-->
  2979.  
  2980. <!ELEMENT HR    - O EMPTY>
  2981. <!ATTLIST HR
  2982.         %SDAPREF; "&#RE;&#RE;"
  2983.         >
  2984.  
  2985. <!-- <HR>       Horizontal rule -->
  2986.  
  2987. <!ELEMENT ( %heading )  - -  (%text;)*>
  2988. <!ATTLIST H1
  2989.         %SDAFORM; "H1"
  2990.         >
  2991. <!ATTLIST H2
  2992.         %SDAFORM; "H2"
  2993.         >
  2994. <!ATTLIST H3
  2995.         %SDAFORM; "H3"
  2996.         >
  2997. <!ATTLIST H4
  2998.         %SDAFORM; "H4"
  2999.         >
  3000. <!ATTLIST H5
  3001.         %SDAFORM; "H5"
  3002.         >
  3003. <!ATTLIST H6
  3004.         %SDAFORM; "H6"
  3005.         >
  3006.  
  3007. <!-- <H1>       Heading, level 1 -->
  3008. <!-- <H2>       Heading, level 2 -->
  3009. <!-- <H3>       Heading, level 3 -->
  3010. <!-- <H4>       Heading, level 4 -->
  3011. <!-- <H5>       Heading, level 5 -->
  3012. <!-- <H6>       Heading, level 6 -->
  3013.  
  3014.  
  3015. <!--========== Text Flows ======================-->
  3016.  
  3017. <![ %HTML.Forms [
  3018.         <!ENTITY % block.forms "BLOCKQUOTE | FORM | ISINDEX">
  3019. ]]>
  3020.  
  3021. <!ENTITY % block.forms "BLOCKQUOTE">
  3022.  
  3023.  
  3024.  
  3025.  
  3026. Berners-Lee & Connolly      Standards Track                    [Page 54]
  3027.  
  3028. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3029.  
  3030.  
  3031. <![ %HTML.Deprecated [
  3032.         <!ENTITY % preformatted "PRE | XMP | LISTING">
  3033. ]]>
  3034.  
  3035. <!ENTITY % preformatted "PRE">
  3036.  
  3037. <!ENTITY % block "P | %list | DL
  3038.         | %preformatted
  3039.         | %block.forms">
  3040.  
  3041. <!ENTITY % flow "(%text|%block)*">
  3042.  
  3043. <!ENTITY % pre.content "#PCDATA | A | HR | BR">
  3044. <!ELEMENT PRE - - (%pre.content)*>
  3045. <!ATTLIST PRE
  3046.         WIDTH NUMBER #implied
  3047.         %SDAFORM; "Lit"
  3048.         >
  3049.  
  3050. <!-- <PRE>              Preformatted text               -->
  3051. <!-- <PRE WIDTH=...>    Maximum characters per line     -->
  3052.  
  3053. <![ %HTML.Deprecated [
  3054.  
  3055. <!ENTITY % literal "CDATA"
  3056.         -- historical, non-conforming parsing mode where
  3057.            the only markup signal is the end tag
  3058.            in full
  3059.         -->
  3060.  
  3061. <!ELEMENT (XMP|LISTING) - -  %literal>
  3062. <!ATTLIST XMP
  3063.         %SDAFORM; "Lit"
  3064.         %SDAPREF; "Example:&#RE;"
  3065.         >
  3066. <!ATTLIST LISTING
  3067.         %SDAFORM; "Lit"
  3068.         %SDAPREF; "Listing:&#RE;"
  3069.         >
  3070.  
  3071. <!-- <XMP>              Example section         -->
  3072. <!-- <LISTING>          Computer listing        -->
  3073.  
  3074. <!ELEMENT PLAINTEXT - O %literal>
  3075. <!-- <PLAINTEXT>        Plain text passage      -->
  3076.  
  3077. <!ATTLIST PLAINTEXT
  3078.         %SDAFORM; "Lit"
  3079.  
  3080.  
  3081.  
  3082. Berners-Lee & Connolly      Standards Track                    [Page 55]
  3083.  
  3084. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3085.  
  3086.  
  3087.         >
  3088. ]]>
  3089.  
  3090. <!--========== Lists ==================-->
  3091.  
  3092. <!ELEMENT DL    - -  (DT | DD)+>
  3093. <!ATTLIST DL
  3094.         COMPACT (COMPACT) #IMPLIED
  3095.         %SDAFORM; "List"
  3096.         %SDAPREF; "Definition List:"
  3097.         >
  3098.  
  3099. <!ELEMENT DT    - O (%text)*>
  3100. <!ATTLIST DT
  3101.         %SDAFORM; "Term"
  3102.         >
  3103.  
  3104. <!ELEMENT DD    - O %flow>
  3105. <!ATTLIST DD
  3106.         %SDAFORM; "LItem"
  3107.         >
  3108.  
  3109. <!-- <DL>               Definition list, or glossary    -->
  3110. <!-- <DL COMPACT>       Compact style list              -->
  3111. <!-- <DT>               Term in definition list         -->
  3112. <!-- <DD>               Definition of term              -->
  3113.  
  3114. <!ELEMENT (OL|UL) - -  (LI)+>
  3115. <!ATTLIST OL
  3116.         COMPACT (COMPACT) #IMPLIED
  3117.         %SDAFORM; "List"
  3118.         >
  3119. <!ATTLIST UL
  3120.         COMPACT (COMPACT) #IMPLIED
  3121.         %SDAFORM; "List"
  3122.         >
  3123. <!-- <UL>               Unordered list                  -->
  3124. <!-- <UL COMPACT>       Compact list style              -->
  3125. <!-- <OL>               Ordered, or numbered list       -->
  3126. <!-- <OL COMPACT>       Compact list style              -->
  3127.  
  3128.  
  3129. <!ELEMENT (DIR|MENU) - -  (LI)+ -(%block)>
  3130. <!ATTLIST DIR
  3131.         COMPACT (COMPACT) #IMPLIED
  3132.         %SDAFORM; "List"
  3133.         %SDAPREF; "<LHead>Directory</LHead>"
  3134.         >
  3135.  
  3136.  
  3137.  
  3138. Berners-Lee & Connolly      Standards Track                    [Page 56]
  3139.  
  3140. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3141.  
  3142.  
  3143. <!ATTLIST MENU
  3144.         COMPACT (COMPACT) #IMPLIED
  3145.         %SDAFORM; "List"
  3146.         %SDAPREF; "<LHead>Menu</LHead>"
  3147.         >
  3148.  
  3149. <!-- <DIR>              Directory list                  -->
  3150. <!-- <DIR COMPACT>      Compact list style              -->
  3151. <!-- <MENU>             Menu list                       -->
  3152. <!-- <MENU COMPACT>     Compact list style              -->
  3153.  
  3154. <!ELEMENT LI    - O %flow>
  3155. <!ATTLIST LI
  3156.         %SDAFORM; "LItem"
  3157.         >
  3158.  
  3159. <!-- <LI>               List item                       -->
  3160.  
  3161. <!--========== Document Body ===================-->
  3162.  
  3163. <![ %HTML.Recommended [
  3164.         <!ENTITY % body.content "(%heading|%block|HR|ADDRESS|IMG)*"
  3165.         -- <h1>Heading</h1>
  3166.            <p>Text ...
  3167.                 is preferred to
  3168.            <h1>Heading</h1>
  3169.            Text ...
  3170.         -->
  3171. ]]>
  3172.  
  3173. <!ENTITY % body.content "(%heading | %text | %block |
  3174.                                  HR | ADDRESS)*">
  3175.  
  3176. <!ELEMENT BODY O O  %body.content>
  3177.  
  3178. <!-- <BODY>     Document body   -->
  3179.  
  3180. <!ELEMENT BLOCKQUOTE - - %body.content>
  3181. <!ATTLIST BLOCKQUOTE
  3182.         %SDAFORM; "BQ"
  3183.         >
  3184.  
  3185. <!-- <BLOCKQUOTE>       Quoted passage  -->
  3186.  
  3187. <!ELEMENT ADDRESS - - (%text|P)*>
  3188. <!ATTLIST  ADDRESS
  3189.         %SDAFORM; "Lit"
  3190.         %SDAPREF; "Address:&#RE;"
  3191.  
  3192.  
  3193.  
  3194. Berners-Lee & Connolly      Standards Track                    [Page 57]
  3195.  
  3196. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3197.  
  3198.  
  3199.         >
  3200.  
  3201. <!-- <ADDRESS>  Address, signature, or byline   -->
  3202.  
  3203.  
  3204. <!--======= Forms ====================-->
  3205.  
  3206. <![ %HTML.Forms [
  3207.  
  3208. <!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)>
  3209. <!ATTLIST FORM
  3210.         ACTION CDATA #IMPLIED
  3211.         METHOD (%HTTP-Method) GET
  3212.         ENCTYPE %Content-Type; "application/x-www-form-urlencoded"
  3213.         %SDAPREF; "<Para>Form:</Para>"
  3214.         %SDASUFF; "<Para>Form End.</Para>"
  3215.         >
  3216.  
  3217. <!-- <FORM>                     Fill-out or data-entry form     -->
  3218. <!-- <FORM ACTION="...">        Address for completed form      -->
  3219. <!-- <FORM METHOD=...>          Method of submitting form       -->
  3220. <!-- <FORM ENCTYPE="...">       Representation of form data     -->
  3221.  
  3222. <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX |
  3223.                         RADIO | SUBMIT | RESET |
  3224.                         IMAGE | HIDDEN )">
  3225. <!ELEMENT INPUT - O EMPTY>
  3226. <!ATTLIST INPUT
  3227.         TYPE %InputType TEXT
  3228.         NAME CDATA #IMPLIED
  3229.         VALUE CDATA #IMPLIED
  3230.         SRC CDATA #IMPLIED
  3231.         CHECKED (CHECKED) #IMPLIED
  3232.         SIZE CDATA #IMPLIED
  3233.         MAXLENGTH NUMBER #IMPLIED
  3234.         ALIGN (top|middle|bottom) #IMPLIED
  3235.         %SDAPREF; "Input: "
  3236.         >
  3237.  
  3238. <!-- <INPUT>                    Form input datum                -->
  3239. <!-- <INPUT TYPE=...>           Type of input interaction       -->
  3240. <!-- <INPUT NAME=...>           Name of form datum              -->
  3241. <!-- <INPUT VALUE="...">        Default/initial/selected value  -->
  3242. <!-- <INPUT SRC="...">          Address of image                -->
  3243. <!-- <INPUT CHECKED>            Initial state is "on"           -->
  3244. <!-- <INPUT SIZE=...>           Field size hint                 -->
  3245. <!-- <INPUT MAXLENGTH=...>      Data length maximum             -->
  3246. <!-- <INPUT ALIGN=...>          Image alignment                 -->
  3247.  
  3248.  
  3249.  
  3250. Berners-Lee & Connolly      Standards Track                    [Page 58]
  3251.  
  3252. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3253.  
  3254.  
  3255. <!ELEMENT SELECT - - (OPTION+) -(INPUT|SELECT|TEXTAREA)>
  3256. <!ATTLIST SELECT
  3257.         NAME CDATA #REQUIRED
  3258.         SIZE NUMBER #IMPLIED
  3259.         MULTIPLE (MULTIPLE) #IMPLIED
  3260.         %SDAFORM; "List"
  3261.         %SDAPREF;
  3262.         "<LHead>Select #AttVal(Multiple)</LHead>"
  3263.         >
  3264.  
  3265. <!-- <SELECT>                   Selection of option(s)          -->
  3266. <!-- <SELECT NAME=...>          Name of form datum              -->
  3267. <!-- <SELECT SIZE=...>          Options displayed at a time     -->
  3268. <!-- <SELECT MULTIPLE>          Multiple selections allowed     -->
  3269.  
  3270. <!ELEMENT OPTION - O (#PCDATA)*>
  3271. <!ATTLIST OPTION
  3272.         SELECTED (SELECTED) #IMPLIED
  3273.         VALUE CDATA #IMPLIED
  3274.         %SDAFORM; "LItem"
  3275.         %SDAPREF;
  3276.         "Option: #AttVal(Value) #AttVal(Selected)"
  3277.         >
  3278.  
  3279. <!-- <OPTION>                   A selection option              -->
  3280. <!-- <OPTION SELECTED>          Initial state                   -->
  3281. <!-- <OPTION VALUE="...">       Form datum value for this option-->
  3282.  
  3283. <!ELEMENT TEXTAREA - - (#PCDATA)* -(INPUT|SELECT|TEXTAREA)>
  3284. <!ATTLIST TEXTAREA
  3285.         NAME CDATA #REQUIRED
  3286.         ROWS NUMBER #REQUIRED
  3287.         COLS NUMBER #REQUIRED
  3288.         %SDAFORM; "Para"
  3289.         %SDAPREF; "Input Text -- #AttVal(Name): "
  3290.         >
  3291.  
  3292. <!-- <TEXTAREA>                 An area for text input          -->
  3293. <!-- <TEXTAREA NAME=...>        Name of form datum              -->
  3294. <!-- <TEXTAREA ROWS=...>        Height of area                  -->
  3295. <!-- <TEXTAREA COLS=...>        Width of area                   -->
  3296.  
  3297. ]]>
  3298.  
  3299.  
  3300. <!--======= Document Head ======================-->
  3301.  
  3302. <![ %HTML.Recommended [
  3303.  
  3304.  
  3305.  
  3306. Berners-Lee & Connolly      Standards Track                    [Page 59]
  3307.  
  3308. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3309.  
  3310.  
  3311.         <!ENTITY % head.extra "">
  3312. ]]>
  3313. <!ENTITY % head.extra "& NEXTID?">
  3314.  
  3315. <!ENTITY % head.content "TITLE & ISINDEX? & BASE? %head.extra">
  3316.  
  3317. <!ELEMENT HEAD O O  (%head.content) +(META|LINK)>
  3318.  
  3319. <!-- <HEAD>     Document head   -->
  3320.  
  3321. <!ELEMENT TITLE - -  (#PCDATA)*  -(META|LINK)>
  3322. <!ATTLIST TITLE
  3323.         %SDAFORM; "Ti"    >
  3324.  
  3325. <!-- <TITLE>    Title of document -->
  3326.  
  3327. <!ELEMENT LINK - O EMPTY>
  3328. <!ATTLIST LINK
  3329.         HREF CDATA #REQUIRED
  3330.         %linkExtraAttributes;
  3331.         %SDAPREF; "Linked to : #AttVal (TITLE) (URN) (HREF)>"    >
  3332.  
  3333. <!-- <LINK>             Link from this document                 -->
  3334. <!-- <LINK HREF="...">  Address of link destination             -->
  3335. <!-- <LINK URN="...">   Lasting name of destination             -->
  3336. <!-- <LINK REL=...>     Relationship to destination             -->
  3337. <!-- <LINK REV=...>     Relationship of destination to this     -->
  3338. <!-- <LINK TITLE="..."> Title of destination (advisory)         -->
  3339. <!-- <LINK METHODS="..."> Operations allowed (advisory)         -->
  3340.  
  3341. <!ELEMENT ISINDEX - O EMPTY>
  3342. <!ATTLIST ISINDEX
  3343.         %SDAPREF;
  3344.    "<Para>[Document is indexed/searchable.]</Para>">
  3345.  
  3346. <!-- <ISINDEX>          Document is a searchable index          -->
  3347.  
  3348. <!ELEMENT BASE - O EMPTY>
  3349. <!ATTLIST BASE
  3350.         HREF CDATA #REQUIRED     >
  3351.  
  3352. <!-- <BASE>             Base context document                   -->
  3353. <!-- <BASE HREF="...">  Address for this document               -->
  3354.  
  3355. <!ELEMENT NEXTID - O EMPTY>
  3356. <!ATTLIST NEXTID
  3357.         N CDATA #REQUIRED     >
  3358.  
  3359.  
  3360.  
  3361.  
  3362. Berners-Lee & Connolly      Standards Track                    [Page 60]
  3363.  
  3364. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3365.  
  3366.  
  3367. <!-- <NEXTID>           Next ID to use for link name            -->
  3368. <!-- <NEXTID N=...>     Next ID to use for link name            -->
  3369.  
  3370. <!ELEMENT META - O EMPTY>
  3371. <!ATTLIST META
  3372.         HTTP-EQUIV  NAME    #IMPLIED
  3373.         NAME        NAME    #IMPLIED
  3374.         CONTENT     CDATA   #REQUIRED    >
  3375.  
  3376. <!-- <META>                     Generic Meta-information        -->
  3377. <!-- <META HTTP-EQUIV=...>      HTTP response header name       -->
  3378. <!-- <META NAME=...>            Meta-information name           -->
  3379. <!-- <META CONTENT="...">       Associated information          -->
  3380.  
  3381. <!--======= Document Structure =================-->
  3382.  
  3383. <![ %HTML.Deprecated [
  3384.         <!ENTITY % html.content "HEAD, BODY, PLAINTEXT?">
  3385. ]]>
  3386. <!ENTITY % html.content "HEAD, BODY">
  3387.  
  3388. <!ELEMENT HTML O O  (%html.content)>
  3389. <!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'">
  3390.  
  3391. <!ATTLIST HTML
  3392.         %version.attr;
  3393.         %SDAFORM; "Book"
  3394.         >
  3395.  
  3396. <!-- <HTML>                     HTML Document   -->
  3397.  
  3398. 9.2. Strict HTML DTD
  3399.  
  3400.    This document type declaration refers to the HTML DTD with the
  3401.    `HTML.Recommended' entity defined as `INCLUDE' rather than IGNORE;
  3402.    that is, it refers to the more structurally rigid definition of HTML.
  3403.  
  3404. <!--    html-s.dtd
  3405.  
  3406.         Document Type Definition for the HyperText Markup Language
  3407.         with strict validation (HTML Strict DTD).
  3408.  
  3409.         $Id: html-s.dtd,v 1.3 1995/06/02 18:55:46 connolly Exp $
  3410.  
  3411.         Author: Daniel W. Connolly <connolly@w3.org>
  3412.         See Also: http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html
  3413. -->
  3414.  
  3415.  
  3416.  
  3417.  
  3418. Berners-Lee & Connolly      Standards Track                    [Page 61]
  3419.  
  3420. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3421.  
  3422.  
  3423. <!ENTITY % HTML.Version
  3424.         "-//IETF//DTD HTML 2.0 Strict//EN"
  3425.  
  3426.         -- Typical usage:
  3427.  
  3428.             <!DOCTYPE HTML PUBLIC
  3429.                 "-//IETF//DTD HTML Strict//EN">
  3430.             <html>
  3431.             ...
  3432.             </html>
  3433.         --
  3434.         >
  3435.  
  3436. <!-- Feature Test Entities -->
  3437. <!ENTITY % HTML.Recommended "INCLUDE">
  3438.  
  3439. <!ENTITY % html PUBLIC "-//IETF//DTD HTML 2.0//EN">
  3440. %html;
  3441.  
  3442. 9.3. Level 1 HTML DTD
  3443.  
  3444.    This document type declaration refers to the HTML DTD with the
  3445.    `HTML.Forms' entity defined as `IGNORE' rather than `INCLUDE'.
  3446.    Documents which contain <FORM> elements do not conform to this DTD,
  3447.    and must use the level 2 DTD.
  3448.  
  3449. <!--    html-1.dtd
  3450.  
  3451.         Document Type Definition for the HyperText Markup Language
  3452.         with Level 1 Extensions (HTML Level 1 DTD).
  3453.  
  3454.         $Id: html-1.dtd,v 1.2 1995/03/29 18:53:10 connolly Exp $
  3455.  
  3456.         Author: Daniel W. Connolly <connolly@w3.org>
  3457.         See Also: http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html
  3458.  
  3459. -->
  3460.  
  3461. <!ENTITY % HTML.Version
  3462.         "-//IETF//DTD HTML 2.0 Level 1//EN"
  3463.  
  3464.         -- Typical usage:
  3465.  
  3466.             <!DOCTYPE HTML PUBLIC
  3467.                 "-//IETF//DTD HTML Level 1//EN">
  3468.             <html>
  3469.             ...
  3470.             </html>
  3471.  
  3472.  
  3473.  
  3474. Berners-Lee & Connolly      Standards Track                    [Page 62]
  3475.  
  3476. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3477.  
  3478.  
  3479.         --
  3480.         >
  3481.  
  3482. <!-- Feature Test Entities -->
  3483. <!ENTITY % HTML.Forms "IGNORE">
  3484.  
  3485. <!ENTITY % html PUBLIC "-//IETF//DTD HTML 2.0//EN">
  3486. %html;
  3487.  
  3488. 9.4. Strict Level 1 HTML DTD
  3489.  
  3490.    This document type declaration refers to the level 1 HTML DTD with
  3491.    the `HTML.Recommended' entity defined as `INCLUDE' rather than
  3492.    IGNORE; that is, it refers to the more structurally rigid definition
  3493.    of HTML.
  3494.  
  3495. <!--    html-1s.dtd
  3496.  
  3497.         Document Type Definition for the HyperText Markup Language
  3498.         Struct Level 1
  3499.  
  3500.         $Id: html-1s.dtd,v 1.3 1995/06/02 18:55:43 connolly Exp $
  3501.  
  3502.         Author: Daniel W. Connolly <connolly@w3.org>
  3503.         See Also: http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html
  3504. -->
  3505.  
  3506. <!ENTITY % HTML.Version
  3507.         "-//IETF//DTD HTML 2.0 Strict Level 1//EN"
  3508.  
  3509.         -- Typical usage:
  3510.  
  3511.             <!DOCTYPE HTML PUBLIC
  3512.                 "-//IETF//DTD HTML Strict Level 1//EN">
  3513.             <html>
  3514.             ...
  3515.             </html>
  3516.         --
  3517.         >
  3518.  
  3519. <!-- Feature Test Entities -->
  3520.  
  3521.  
  3522. <!ENTITY % HTML.Recommended "INCLUDE">
  3523.  
  3524. <!ENTITY % html-1 PUBLIC "-//IETF//DTD HTML 2.0 Level 1//EN">
  3525. %html-1;
  3526.  
  3527.  
  3528.  
  3529.  
  3530. Berners-Lee & Connolly      Standards Track                    [Page 63]
  3531.  
  3532. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3533.  
  3534.  
  3535. 9.5. SGML Declaration for HTML
  3536.  
  3537.    This is the SGML Declaration for HyperText Markup Language.
  3538.  
  3539. <!SGML  "ISO 8879:1986"
  3540. --
  3541.         SGML Declaration for HyperText Markup Language (HTML).
  3542.  
  3543. --
  3544.  
  3545. CHARSET
  3546.          BASESET  "ISO 646:1983//CHARSET
  3547.                    International Reference Version
  3548.                    (IRV)//ESC 2/5 4/0"
  3549.          DESCSET  0   9   UNUSED
  3550.                   9   2   9
  3551.                   11  2   UNUSED
  3552.                   13  1   13
  3553.                   14  18  UNUSED
  3554.                   32  95  32
  3555.                   127 1   UNUSED
  3556.      BASESET   "ISO Registration Number 100//CHARSET
  3557.                 ECMA-94 Right Part of
  3558.                 Latin Alphabet Nr. 1//ESC 2/13 4/1"
  3559.  
  3560.          DESCSET  128  32   UNUSED
  3561.                   160  96    32
  3562.  
  3563. CAPACITY        SGMLREF
  3564.                 TOTALCAP        150000
  3565.                 GRPCAP          150000
  3566.                 ENTCAP          150000
  3567.  
  3568. SCOPE    DOCUMENT
  3569. SYNTAX
  3570.          SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
  3571.                  17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 127
  3572.          BASESET  "ISO 646:1983//CHARSET
  3573.                    International Reference Version
  3574.                    (IRV)//ESC 2/5 4/0"
  3575.          DESCSET  0 128 0
  3576.          FUNCTION
  3577.                   RE          13
  3578.                   RS          10
  3579.                   SPACE       32
  3580.                   TAB SEPCHAR  9
  3581.          NAMING   LCNMSTRT ""
  3582.                   UCNMSTRT ""
  3583.  
  3584.  
  3585.  
  3586. Berners-Lee & Connolly      Standards Track                    [Page 64]
  3587.  
  3588. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3589.  
  3590.  
  3591.                   LCNMCHAR ".-"
  3592.                   UCNMCHAR ".-"
  3593.                   NAMECASE GENERAL YES
  3594.                            ENTITY  NO
  3595.          DELIM    GENERAL  SGMLREF
  3596.                   SHORTREF SGMLREF
  3597.          NAMES    SGMLREF
  3598.          QUANTITY SGMLREF
  3599.                   ATTSPLEN 2100
  3600.                   LITLEN   1024
  3601.                   NAMELEN  72    -- somewhat arbitrary; taken from
  3602.                                 internet line length conventions --
  3603.                   PILEN    1024
  3604.                   TAGLVL   100
  3605.                   TAGLEN   2100
  3606.                   GRPGTCNT 150
  3607.                   GRPCNT   64
  3608.  
  3609. FEATURES
  3610.   MINIMIZE
  3611.     DATATAG  NO
  3612.     OMITTAG  YES
  3613.     RANK     NO
  3614.     SHORTTAG YES
  3615.   LINK
  3616.     SIMPLE   NO
  3617.     IMPLICIT NO
  3618.     EXPLICIT NO
  3619.   OTHER
  3620.     CONCUR   NO
  3621.     SUBDOC   NO
  3622.     FORMAL   YES
  3623.   APPINFO    "SDA"  -- conforming SGML Document Access application
  3624.                     --
  3625. >
  3626. <!--
  3627.         $Id: html.decl,v 1.17 1995/06/08 14:59:32 connolly Exp $
  3628.  
  3629.         Author: Daniel W. Connolly <connolly@w3.org>
  3630.  
  3631.         See also: http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html
  3632.  -->
  3633.  
  3634. 9.6. Sample SGML Open Entity Catalog for HTML
  3635.  
  3636.    The SGML standard describes an "entity manager" as the portion or
  3637.    component of an SGML system that maps SGML entities into the actual
  3638.    storage model (e.g., the file system). The standard itself does not
  3639.  
  3640.  
  3641.  
  3642. Berners-Lee & Connolly      Standards Track                    [Page 65]
  3643.  
  3644. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3645.  
  3646.  
  3647.    define a particular mapping methodology or notation.
  3648.  
  3649.    To assist the interoperability among various SGML tools and systems,
  3650.    the SGML Open consortium has passed a technical resolution that
  3651.    defines a format for an application-independent entity catalog that
  3652.    maps external identifiers and/or entity names to file names.
  3653.  
  3654.    Each entry in the catalog associates a storage object identifier
  3655.    (such as a file name) with information about the external entity that
  3656.    appears in the SGML document. In addition to entries that associate
  3657.    public identifiers, a catalog entry can associate an entity name with
  3658.    a storage object identifier. For example, the following are possible
  3659.    catalog entries:
  3660.  
  3661.         -- catalog: SGML Open style entity catalog for HTML --
  3662.         -- $Id: catalog,v 1.3 1995/09/21 23:30:23 connolly Exp $ --
  3663.  
  3664.         -- Ways to refer to Level 2: most general to most specific --
  3665. PUBLIC  "-//IETF//DTD HTML//EN"                 html.dtd
  3666. PUBLIC  "-//IETF//DTD HTML 2.0//EN"             html.dtd
  3667. PUBLIC  "-//IETF//DTD HTML Level 2//EN"         html.dtd
  3668. PUBLIC  "-//IETF//DTD HTML 2.0 Level 2//EN"     html.dtd
  3669.  
  3670.         -- Ways to refer to Level 1: most general to most specific --
  3671. PUBLIC  "-//IETF//DTD HTML Level 1//EN"         html-1.dtd
  3672. PUBLIC  "-//IETF//DTD HTML 2.0 Level 1//EN"     html-1.dtd
  3673.  
  3674.         -- Ways to refer to
  3675.                  Strict Level 2: most general to most specific --
  3676. PUBLIC  "-//IETF//DTD HTML Strict//EN"                  html-s.dtd
  3677. PUBLIC  "-//IETF//DTD HTML 2.0 Strict//EN"              html-s.dtd
  3678. PUBLIC  "-//IETF//DTD HTML Strict Level 2//EN"          html-s.dtd
  3679. PUBLIC  "-//IETF//DTD HTML 2.0 Strict Level 2//EN"      html-s.dtd
  3680.  
  3681.         -- Ways to refer to
  3682.                  Strict Level 1: most general to most specific --
  3683. PUBLIC  "-//IETF//DTD HTML Strict Level 1//EN"          html-1s.dtd
  3684. PUBLIC  "-//IETF//DTD HTML 2.0 Strict Level 1//EN"      html-1s.dtd
  3685.  
  3686.         -- ISO latin 1 entity set for HTML --
  3687. PUBLIC  "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML" ISOlat1\
  3688. sgml
  3689.  
  3690. 9.7. Character Entity Sets
  3691.  
  3692.    The HTML DTD defines the following entities. They represent
  3693.    particular graphic characters which have special meanings in places
  3694.    in the markup, or may not be part of the character set available to
  3695.  
  3696.  
  3697.  
  3698. Berners-Lee & Connolly      Standards Track                    [Page 66]
  3699.  
  3700. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3701.  
  3702.  
  3703.    the writer.
  3704.  
  3705. 9.7.1. Numeric and Special Graphic Entity Set
  3706.  
  3707.    The following table lists each of the characters included from the
  3708.    Numeric and Special Graphic entity set, along with its name, syntax
  3709.    for use, and description. This list is derived from `ISO Standard
  3710.    8879:1986//ENTITIES Numeric and Special Graphic//EN'.  However, HTML
  3711.    does not include for the entire entity set -- only the entities
  3712.    listed below are included.
  3713.  
  3714.     GLYPH   NAME    SYNTAX  DESCRIPTION
  3715.     <       lt      <    Less than sign
  3716.     >       gt      >    Greater than signn
  3717.     &       amp     &   Ampersand
  3718.     "       quot    "  Double quote sign
  3719.  
  3720. 9.7.2. ISO Latin 1 Character Entity Set
  3721.  
  3722.    The following public text lists each of the characters specified in
  3723.    the Added Latin 1 entity set, along with its name, syntax for use,
  3724.    and description. This list is derived from ISO Standard
  3725.    8879:1986//ENTITIES Added Latin 1//EN. HTML includes the entire
  3726.    entity set.
  3727.  
  3728. <!-- (C) International Organization for Standardization 1986
  3729.      Permission to copy in any form is granted for use with
  3730.      conforming SGML systems and applications as defined in
  3731.      ISO 8879, provided this notice is included in all copies.
  3732. -->
  3733. <!-- Character entity set. Typical invocation:
  3734.      <!ENTITY % ISOlat1 PUBLIC
  3735.        "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">
  3736.      %ISOlat1;
  3737. -->
  3738. <!--    Modified for use in HTML
  3739.         $Id: ISOlat1.sgml,v 1.2 1994/11/30 23:45:12 connolly Exp $ -->
  3740. <!ENTITY AElig  CDATA "Æ" -- capital AE diphthong (ligature) -->
  3741. <!ENTITY Aacute CDATA "Á" -- capital A, acute accent -->
  3742. <!ENTITY Acirc  CDATA "Â" -- capital A, circumflex accent -->
  3743. <!ENTITY Agrave CDATA "À" -- capital A, grave accent -->
  3744. <!ENTITY Aring  CDATA "Å" -- capital A, ring -->
  3745. <!ENTITY Atilde CDATA "Ã" -- capital A, tilde -->
  3746. <!ENTITY Auml   CDATA "Ä" -- capital A, dieresis or umlaut mark -->
  3747. <!ENTITY Ccedil CDATA "Ç" -- capital C, cedilla -->
  3748. <!ENTITY ETH    CDATA "Ð" -- capital Eth, Icelandic -->
  3749. <!ENTITY Eacute CDATA "É" -- capital E, acute accent -->
  3750. <!ENTITY Ecirc  CDATA "Ê" -- capital E, circumflex accent -->
  3751.  
  3752.  
  3753.  
  3754. Berners-Lee & Connolly      Standards Track                    [Page 67]
  3755.  
  3756. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3757.  
  3758.  
  3759. <!ENTITY Egrave CDATA "È" -- capital E, grave accent -->
  3760. <!ENTITY Euml   CDATA "Ë" -- capital E, dieresis or umlaut mark -->
  3761. <!ENTITY Iacute CDATA "Í" -- capital I, acute accent -->
  3762. <!ENTITY Icirc  CDATA "Î" -- capital I, circumflex accent -->
  3763. <!ENTITY Igrave CDATA "Ì" -- capital I, grave accent -->
  3764. <!ENTITY Iuml   CDATA "Ï" -- capital I, dieresis or umlaut mark -->
  3765. <!ENTITY Ntilde CDATA "Ñ" -- capital N, tilde -->
  3766. <!ENTITY Oacute CDATA "Ó" -- capital O, acute accent -->
  3767. <!ENTITY Ocirc  CDATA "Ô" -- capital O, circumflex accent -->
  3768. <!ENTITY Ograve CDATA "Ò" -- capital O, grave accent -->
  3769. <!ENTITY Oslash CDATA "Ø" -- capital O, slash -->
  3770. <!ENTITY Otilde CDATA "Õ" -- capital O, tilde -->
  3771. <!ENTITY Ouml   CDATA "Ö" -- capital O, dieresis or umlaut mark -->
  3772. <!ENTITY THORN  CDATA "Þ" -- capital THORN, Icelandic -->
  3773. <!ENTITY Uacute CDATA "Ú" -- capital U, acute accent -->
  3774. <!ENTITY Ucirc  CDATA "Û" -- capital U, circumflex accent -->
  3775. <!ENTITY Ugrave CDATA "Ù" -- capital U, grave accent -->
  3776. <!ENTITY Uuml   CDATA "Ü" -- capital U, dieresis or umlaut mark -->
  3777. <!ENTITY Yacute CDATA "Ý" -- capital Y, acute accent -->
  3778. <!ENTITY aacute CDATA "á" -- small a, acute accent -->
  3779. <!ENTITY acirc  CDATA "â" -- small a, circumflex accent -->
  3780. <!ENTITY aelig  CDATA "æ" -- small ae diphthong (ligature) -->
  3781. <!ENTITY agrave CDATA "à" -- small a, grave accent -->
  3782. <!ENTITY aring  CDATA "å" -- small a, ring -->
  3783. <!ENTITY atilde CDATA "ã" -- small a, tilde -->
  3784. <!ENTITY auml   CDATA "ä" -- small a, dieresis or umlaut mark -->
  3785. <!ENTITY ccedil CDATA "ç" -- small c, cedilla -->
  3786. <!ENTITY eacute CDATA "é" -- small e, acute accent -->
  3787. <!ENTITY ecirc  CDATA "ê" -- small e, circumflex accent -->
  3788. <!ENTITY egrave CDATA "è" -- small e, grave accent -->
  3789. <!ENTITY eth    CDATA "ð" -- small eth, Icelandic -->
  3790. <!ENTITY euml   CDATA "ë" -- small e, dieresis or umlaut mark -->
  3791. <!ENTITY iacute CDATA "í" -- small i, acute accent -->
  3792. <!ENTITY icirc  CDATA "î" -- small i, circumflex accent -->
  3793. <!ENTITY igrave CDATA "ì" -- small i, grave accent -->
  3794. <!ENTITY iuml   CDATA "ï" -- small i, dieresis or umlaut mark -->
  3795. <!ENTITY ntilde CDATA "ñ" -- small n, tilde -->
  3796. <!ENTITY oacute CDATA "ó" -- small o, acute accent -->
  3797. <!ENTITY ocirc  CDATA "ô" -- small o, circumflex accent -->
  3798. <!ENTITY ograve CDATA "ò" -- small o, grave accent -->
  3799. <!ENTITY oslash CDATA "ø" -- small o, slash -->
  3800. <!ENTITY otilde CDATA "õ" -- small o, tilde -->
  3801. <!ENTITY ouml   CDATA "ö" -- small o, dieresis or umlaut mark -->
  3802. <!ENTITY szlig  CDATA "ß" -- small sharp s, German (sz ligature)->
  3803. <!ENTITY thorn  CDATA "þ" -- small thorn, Icelandic -->
  3804. <!ENTITY uacute CDATA "ú" -- small u, acute accent -->
  3805. <!ENTITY ucirc  CDATA "û" -- small u, circumflex accent -->
  3806. <!ENTITY ugrave CDATA "ù" -- small u, grave accent -->
  3807.  
  3808.  
  3809.  
  3810. Berners-Lee & Connolly      Standards Track                    [Page 68]
  3811.  
  3812. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3813.  
  3814.  
  3815. <!ENTITY uuml   CDATA "ü" -- small u, dieresis or umlaut mark -->
  3816. <!ENTITY yacute CDATA "ý" -- small y, acute accent -->
  3817. <!ENTITY yuml   CDATA "ÿ" -- small y, dieresis or umlaut mark -->
  3818.  
  3819. 10. Security Considerations
  3820.  
  3821.    Anchors, embedded images, and all other elements which contain URIs
  3822.    as parameters may cause the URI to be dereferenced in response to
  3823.    user input. In this case, the security considerations of [URL] apply.
  3824.  
  3825.    The widely deployed methods for submitting forms requests -- HTTP and
  3826.    SMTP -- provide little assurance of confidentiality.  Information
  3827.    providers who request sensitive information via forms -- especially
  3828.    by way of the `PASSWORD' type input field (see 8.1.2, "Input Field:
  3829.    INPUT") -- should be aware and make their users aware of the lack of
  3830.    confidentiality.
  3831.  
  3832. 11. References
  3833.  
  3834.     [URI]
  3835.             Berners-Lee, T., "Universal Resource Identifiers in WWW:
  3836.             A Unifying Syntax for the Expression of Names and
  3837.             Addresses of Objects on the Network as used in the
  3838.             World- Wide Web",  RFC 1630, CERN, June 1994.
  3839.             <URL:ftp://ds.internic.net/rfc/rfc1630.txt>
  3840.  
  3841.     [URL]
  3842.             Berners-Lee, T., Masinter, L., and M. McCahill, "Uniform
  3843.             Resource Locators (URL)", RFC 1738, CERN, Xerox PARC,
  3844.             University of Minnesota, December 1994.
  3845.             <URL:ftp://ds.internic.net/rfc/rfc1738.txt>
  3846.  
  3847.     [HTTP]
  3848.             Berners-Lee, T., Fielding, R., and H. Frystyk Nielsen,
  3849.             "Hypertext Transfer Protocol - HTTP/1.0", Work in
  3850.             Progress, MIT, UC Irvine, CERN, March 1995.
  3851.  
  3852.     [MIME]
  3853.             Borenstein, N., and N. Freed. "MIME (Multipurpose
  3854.             Internet Mail Extensions) Part One: Mechanisms for
  3855.             Specifying and Describing the Format of Internet Message
  3856.             Bodies", RFC 1521, Bellcore, Innosoft, September 1993.
  3857.             <URL:ftp://ds.internic.net/rfc/rfc1521.txt>
  3858.  
  3859.     [RELURL]
  3860.             Fielding, R., "Relative Uniform Resource Locators", RFC
  3861.             1808, June 1995
  3862.             <URL:ftp://ds.internic.net/rfc/rfc1808.txt>
  3863.  
  3864.  
  3865.  
  3866. Berners-Lee & Connolly      Standards Track                    [Page 69]
  3867.  
  3868. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3869.  
  3870.  
  3871.     [GOLD90]
  3872.             Goldfarb, C., "The SGML Handbook", Y. Rubinsky, Ed.,
  3873.             Oxford University Press, 1990.
  3874.  
  3875.     [DEXTER]
  3876.             Frank Halasz and Mayer Schwartz, "The Dexter Hypertext
  3877.             Reference Model", Communications of the ACM, pp.
  3878.             30-39, vol. 37 no. 2, Feb 1994.
  3879.  
  3880.     [IMEDIA]
  3881.             Postel, J., "Media Type Registration Procedure",
  3882.             RFC 1590, USC/Information Sciences Institute, March 1994.
  3883.             <URL:ftp://ds.internic.net/rfc/rfc1590.txt>
  3884.  
  3885.     [IANA]
  3886.             Reynolds, J., and J. Postel, "Assigned Numbers", STD 2,
  3887.             RFC 1700, USC/Information Sciecnes Institute, October
  3888.             1994.  <URL:ftp://ds.internic.net/rfc/rfc1700.txt>
  3889.  
  3890.     [SQ91]
  3891.             SoftQuad. "The SGML Primer", 3rd ed., SoftQuad Inc.,
  3892.             1991. <URL:http://www.sq.com/>
  3893.  
  3894.     [ISO-646]
  3895.             ISO/IEC 646:1991 Information technology -- ISO 7-bit
  3896.             coded character set for information interchange
  3897.             <URL:http://www.iso.ch/cate/d4777.html>
  3898.  
  3899.     [ISO-10646]
  3900.             ISO/IEC 10646-1:1993 Information technology -- Universal
  3901.             Multiple-Octet Coded Character Set (UCS) -- Part 1:
  3902.             Architecture and Basic Multilingual Plane
  3903.             <URL:http://www.iso.ch/cate/d18741.html>
  3904.  
  3905.     [ISO-8859-1]
  3906.             ISO 8859. International Standard -- Information
  3907.             Processing -- 8-bit Single-Byte Coded Graphic Character
  3908.             Sets -- Part 1: Latin Alphabet No. 1, ISO 8859-1:1987.
  3909.             <URL:http://www.iso.ch/cate/d16338.html>
  3910.  
  3911.     [SGML]
  3912.             ISO 8879. Information Processing -- Text and Office
  3913.             Systems - Standard Generalized Markup Language (SGML),
  3914.             1986. <URL:http://www.iso.ch/cate/d16387.html>
  3915.  
  3916.  
  3917.  
  3918.  
  3919.  
  3920.  
  3921.  
  3922. Berners-Lee & Connolly      Standards Track                    [Page 70]
  3923.  
  3924. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3925.  
  3926.  
  3927. 12. Acknowledgments
  3928.  
  3929.    The HTML document type was designed by Tim Berners-Lee at CERN as
  3930.    part of the 1990 World Wide Web project. In 1992, Dan Connolly wrote
  3931.    the HTML Document Type Definition (DTD) and a brief HTML
  3932.    specification.
  3933.  
  3934.    Since 1993, a wide variety of Internet participants have contributed
  3935.    to the evolution of HTML, which has included the addition of in-line
  3936.    images introduced by the NCSA Mosaic software for WWW. Dave Raggett
  3937.    played an important role in deriving the forms material from the
  3938.    HTML+ specification.
  3939.  
  3940.    Dan Connolly and Karen Olson Muldrow rewrote the HTML Specification
  3941.    in 1994. The document was then edited by the HTML working group as a
  3942.    whole, with updates being made by Eric Schieler, Mike Knezovich, and
  3943.    Eric W. Sink at Spyglass, Inc.  Finally, Roy Fielding restructured
  3944.    the entire draft into its current form.
  3945.  
  3946.    Special thanks to the many active participants in the HTML working
  3947.    group, too numerous to list individually, without whom there would be
  3948.    no standards process and no standard. That this document approaches
  3949.    its objective of carefully converging a description of current
  3950.    practice and formalization of HTML's relationship to SGML is a
  3951.    tribute to their effort.
  3952.  
  3953. 12.1. Authors' Addresses
  3954.  
  3955.    Tim Berners-Lee
  3956.    Director, W3 Consortium
  3957.    MIT Laboratory for Computer Science
  3958.    545 Technology Square
  3959.    Cambridge, MA 02139, U.S.A.
  3960.  
  3961.    Phone: +1 (617) 253 9670
  3962.    Fax: +1 (617) 258 8682
  3963.    EMail: timbl@w3.org
  3964.  
  3965.  
  3966.    Daniel W. Connolly
  3967.    Research Technical Staff, W3 Consortium
  3968.    MIT Laboratory for Computer Science
  3969.    545 Technology Square
  3970.    Cambridge, MA 02139, U.S.A.
  3971.  
  3972.    Phone: +1 (617) 258 8682
  3973.    EMail: connolly@w3.org
  3974.    URI: http://www.w3.org/hypertext/WWW/People/Connolly/
  3975.  
  3976.  
  3977.  
  3978. Berners-Lee & Connolly      Standards Track                    [Page 71]
  3979.  
  3980. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  3981.  
  3982.  
  3983. 13. The HTML Coded Character Set
  3984.  
  3985.    This list details the code positions and characters of the HTML
  3986.    document character set, specified in 9.5, "SGML Declaration for
  3987.    HTML". This coded character set is based on [ISO-8859-1].
  3988.  
  3989.     REFERENCE       DESCRIPTION
  3990.     --------------  -----------
  3991.     � -    Unused
  3992.                 Horizontal tab
  3993.                 Line feed
  3994.       -     Unused
  3995.                 Carriage Return
  3996.      -    Unused
  3997.                 Space
  3998.     !           Exclamation mark
  3999.     "           Quotation mark
  4000.     #           Number sign
  4001.     $           Dollar sign
  4002.     %           Percent sign
  4003.     &           Ampersand
  4004.     '           Apostrophe
  4005.     (           Left parenthesis
  4006.     )           Right parenthesis
  4007.     *           Asterisk
  4008.     +           Plus sign
  4009.     ,           Comma
  4010.     -           Hyphen
  4011.     .           Period (fullstop)
  4012.     /           Solidus (slash)
  4013.     0 - 9   Digits 0-9
  4014.     :           Colon
  4015.     ;           Semi-colon
  4016.     <           Less than
  4017.     =           Equals sign
  4018.     >           Greater than
  4019.     ?           Question mark
  4020.     @           Commercial at
  4021.     A - Z   Letters A-Z
  4022.     [           Left square bracket
  4023.     \           Reverse solidus (backslash)
  4024.     ]           Right square bracket
  4025.     ^           Caret
  4026.     _           Horizontal bar (underscore)
  4027.     `           Acute accent
  4028.     a - z  Letters a-z
  4029.     {          Left curly brace
  4030.     |          Vertical bar
  4031.  
  4032.  
  4033.  
  4034. Berners-Lee & Connolly      Standards Track                    [Page 72]
  4035.  
  4036. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  4037.  
  4038.  
  4039.     }          Right curly brace
  4040.     ~          Tilde
  4041.      - Ÿ Unused
  4042.                Non-breaking Space
  4043.     ¡          Inverted exclamation
  4044.     ¢          Cent sign
  4045.     £          Pound sterling
  4046.     ¤          General currency sign
  4047.     ¥          Yen sign
  4048.     ¦          Broken vertical bar
  4049.     §          Section sign
  4050.     ¨          Umlaut (dieresis)
  4051.     ©          Copyright
  4052.     ª          Feminine ordinal
  4053.     «          Left angle quote, guillemotleft
  4054.     ¬          Not sign
  4055.     ­          Soft hyphen
  4056.     ®          Registered trademark
  4057.     ¯          Macron accent
  4058.     °          Degree sign
  4059.     ±          Plus or minus
  4060.     ²          Superscript two
  4061.     ³          Superscript three
  4062.     ´          Acute accent
  4063.     µ          Micro sign
  4064.     ¶          Paragraph sign
  4065.     ·          Middle dot
  4066.     ¸          Cedilla
  4067.     ¹          Superscript one
  4068.     º          Masculine ordinal
  4069.     »          Right angle quote, guillemotright
  4070.     ¼          Fraction one-fourth
  4071.     ½          Fraction one-half
  4072.     ¾          Fraction three-fourths
  4073.     ¿          Inverted question mark
  4074.     À          Capital A, grave accent
  4075.     Á          Capital A, acute accent
  4076.     Â          Capital A, circumflex accent
  4077.     Ã          Capital A, tilde
  4078.     Ä          Capital A, dieresis or umlaut mark
  4079.     Å          Capital A, ring
  4080.     Æ          Capital AE dipthong (ligature)
  4081.     Ç          Capital C, cedilla
  4082.     È          Capital E, grave accent
  4083.     É          Capital E, acute accent
  4084.     Ê          Capital E, circumflex accent
  4085.     Ë          Capital E, dieresis or umlaut mark
  4086.     Ì          Capital I, grave accent
  4087.  
  4088.  
  4089.  
  4090. Berners-Lee & Connolly      Standards Track                    [Page 73]
  4091.  
  4092. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  4093.  
  4094.  
  4095.     Í          Capital I, acute accent
  4096.     Î          Capital I, circumflex accent
  4097.     Ï          Capital I, dieresis or umlaut mark
  4098.     Ð          Capital Eth, Icelandic
  4099.     Ñ          Capital N, tilde
  4100.     Ò          Capital O, grave accent
  4101.     Ó          Capital O, acute accent
  4102.     Ô          Capital O, circumflex accent
  4103.     Õ          Capital O, tilde
  4104.     Ö          Capital O, dieresis or umlaut mark
  4105.     ×          Multiply sign
  4106.     Ø          Capital O, slash
  4107.     Ù          Capital U, grave accent
  4108.     Ú          Capital U, acute accent
  4109.     Û          Capital U, circumflex accent
  4110.     Ü          Capital U, dieresis or umlaut mark
  4111.     Ý          Capital Y, acute accent
  4112.     Þ          Capital THORN, Icelandic
  4113.     ß          Small sharp s, German (sz ligature)
  4114.     à          Small a, grave accent
  4115.     á          Small a, acute accent
  4116.     â          Small a, circumflex accent
  4117.     ã          Small a, tilde
  4118.     ä          Small a, dieresis or umlaut mark
  4119.     å          Small a, ring
  4120.     æ          Small ae dipthong (ligature)
  4121.     ç          Small c, cedilla
  4122.     è          Small e, grave accent
  4123.     é          Small e, acute accent
  4124.     ê          Small e, circumflex accent
  4125.     ë          Small e, dieresis or umlaut mark
  4126.     ì          Small i, grave accent
  4127.     í          Small i, acute accent
  4128.     î          Small i, circumflex accent
  4129.     ï          Small i, dieresis or umlaut mark
  4130.     ð          Small eth, Icelandic
  4131.     ñ          Small n, tilde
  4132.     ò          Small o, grave accent
  4133.     ó          Small o, acute accent
  4134.     ô          Small o, circumflex accent
  4135.     õ          Small o, tilde
  4136.     ö          Small o, dieresis or umlaut mark
  4137.     ÷          Division sign
  4138.     ø          Small o, slash
  4139.     ù          Small u, grave accent
  4140.     ú          Small u, acute accent
  4141.     û          Small u, circumflex accent
  4142.     ü          Small u, dieresis or umlaut mark
  4143.  
  4144.  
  4145.  
  4146. Berners-Lee & Connolly      Standards Track                    [Page 74]
  4147.  
  4148. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  4149.  
  4150.  
  4151.     ý          Small y, acute accent
  4152.     þ          Small thorn, Icelandic
  4153.     ÿ          Small y, dieresis or umlaut mark
  4154.  
  4155. 14. Proposed Entities
  4156.  
  4157.    The HTML DTD references the "Added Latin 1" entity set, which only
  4158.    supplies named entities for a subset of the non-ASCII characters in
  4159.    [ISO-8859-1], namely the accented characters. The following entities
  4160.    should be supported so that all ISO 8859-1 characters may only be
  4161.    referenced symbolically. The names for these entities are taken from
  4162.    the appendixes of [SGML].
  4163.  
  4164.     <!ENTITY nbsp   CDATA " " -- no-break space -->
  4165.     <!ENTITY iexcl  CDATA "¡" -- inverted exclamation mark -->
  4166.     <!ENTITY cent   CDATA "¢" -- cent sign -->
  4167.     <!ENTITY pound  CDATA "£" -- pound sterling sign -->
  4168.     <!ENTITY curren CDATA "¤" -- general currency sign -->
  4169.     <!ENTITY yen    CDATA "¥" -- yen sign -->
  4170.     <!ENTITY brvbar CDATA "¦" -- broken (vertical) bar -->
  4171.     <!ENTITY sect   CDATA "§" -- section sign -->
  4172.     <!ENTITY uml    CDATA "¨" -- umlaut (dieresis) -->
  4173.     <!ENTITY copy   CDATA "©" -- copyright sign -->
  4174.     <!ENTITY ordf   CDATA "ª" -- ordinal indicator, feminine -->
  4175.     <!ENTITY laquo  CDATA "«" -- angle quotation mark, left -->
  4176.     <!ENTITY not    CDATA "¬" -- not sign -->
  4177.     <!ENTITY shy    CDATA "­" -- soft hyphen -->
  4178.     <!ENTITY reg    CDATA "®" -- registered sign -->
  4179.     <!ENTITY macr   CDATA "¯" -- macron -->
  4180.     <!ENTITY deg    CDATA "°" -- degree sign -->
  4181.     <!ENTITY plusmn CDATA "±" -- plus-or-minus sign -->
  4182.     <!ENTITY sup2   CDATA "²" -- superscript two -->
  4183.     <!ENTITY sup3   CDATA "³" -- superscript three -->
  4184.     <!ENTITY acute  CDATA "´" -- acute accent -->
  4185.     <!ENTITY micro  CDATA "µ" -- micro sign -->
  4186.     <!ENTITY para   CDATA "¶" -- pilcrow (paragraph sign) -->
  4187.     <!ENTITY middot CDATA "·" -- middle dot -->
  4188.     <!ENTITY cedil  CDATA "¸" -- cedilla -->
  4189.     <!ENTITY sup1   CDATA "¹" -- superscript one -->
  4190.     <!ENTITY ordm   CDATA "º" -- ordinal indicator, masculine -->
  4191.     <!ENTITY raquo  CDATA "»" -- angle quotation mark, right -->
  4192.     <!ENTITY frac14 CDATA "¼" -- fraction one-quarter -->
  4193.     <!ENTITY frac12 CDATA "½" -- fraction one-half -->
  4194.     <!ENTITY frac34 CDATA "¾" -- fraction three-quarters -->
  4195.     <!ENTITY iquest CDATA "¿" -- inverted question mark -->
  4196.     <!ENTITY Agrave CDATA "À" -- capital A, grave accent -->
  4197.     <!ENTITY Aacute CDATA "Á" -- capital A, acute accent -->
  4198.     <!ENTITY Acirc  CDATA "Â" -- capital A, circumflex accent -->
  4199.  
  4200.  
  4201.  
  4202. Berners-Lee & Connolly      Standards Track                    [Page 75]
  4203.  
  4204. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  4205.  
  4206.  
  4207.     <!ENTITY Atilde CDATA "Ã" -- capital A, tilde -->
  4208.     <!ENTITY Auml   CDATA "Ä" -- capital A, dieresis or umlaut mark -->
  4209.     <!ENTITY Aring  CDATA "Å" -- capital A, ring -->
  4210.     <!ENTITY AElig  CDATA "Æ" -- capital AE diphthong (ligature) -->
  4211.     <!ENTITY Ccedil CDATA "Ç" -- capital C, cedilla -->
  4212.     <!ENTITY Egrave CDATA "È" -- capital E, grave accent -->
  4213.     <!ENTITY Eacute CDATA "É" -- capital E, acute accent -->
  4214.     <!ENTITY Ecirc  CDATA "Ê" -- capital E, circumflex accent -->
  4215.     <!ENTITY Euml   CDATA "Ë" -- capital E, dieresis or umlaut mark -->
  4216.     <!ENTITY Igrave CDATA "Ì" -- capital I, grave accent -->
  4217.     <!ENTITY Iacute CDATA "Í" -- capital I, acute accent -->
  4218.     <!ENTITY Icirc  CDATA "Î" -- capital I, circumflex accent -->
  4219.     <!ENTITY Iuml   CDATA "Ï" -- capital I, dieresis or umlaut mark -->
  4220.     <!ENTITY ETH    CDATA "Ð" -- capital Eth, Icelandic -->
  4221.     <!ENTITY Ntilde CDATA "Ñ" -- capital N, tilde -->
  4222.     <!ENTITY Ograve CDATA "Ò" -- capital O, grave accent -->
  4223.     <!ENTITY Oacute CDATA "Ó" -- capital O, acute accent -->
  4224.     <!ENTITY Ocirc  CDATA "Ô" -- capital O, circumflex accent -->
  4225.     <!ENTITY Otilde CDATA "Õ" -- capital O, tilde -->
  4226.     <!ENTITY Ouml   CDATA "Ö" -- capital O, dieresis or umlaut mark -->
  4227.     <!ENTITY times  CDATA "×" -- multiply sign -->
  4228.     <!ENTITY Oslash CDATA "Ø" -- capital O, slash -->
  4229.     <!ENTITY Ugrave CDATA "Ù" -- capital U, grave accent -->
  4230.     <!ENTITY Uacute CDATA "Ú" -- capital U, acute accent -->
  4231.     <!ENTITY Ucirc  CDATA "Û" -- capital U, circumflex accent -->
  4232.     <!ENTITY Uuml   CDATA "Ü" -- capital U, dieresis or umlaut mark -->
  4233.     <!ENTITY Yacute CDATA "Ý" -- capital Y, acute accent -->
  4234.     <!ENTITY THORN  CDATA "Þ" -- capital THORN, Icelandic -->
  4235.     <!ENTITY szlig  CDATA "ß" -- small sharp s, German (sz ligature) -->
  4236.     <!ENTITY agrave CDATA "à" -- small a, grave accent -->
  4237.     <!ENTITY aacute CDATA "á" -- small a, acute accent -->
  4238.     <!ENTITY acirc  CDATA "â" -- small a, circumflex accent -->
  4239.     <!ENTITY atilde CDATA "ã" -- small a, tilde -->
  4240.     <!ENTITY auml   CDATA "ä" -- small a, dieresis or umlaut mark -->
  4241.     <!ENTITY aring  CDATA "å" -- small a, ring -->
  4242.     <!ENTITY aelig  CDATA "æ" -- small ae diphthong (ligature) -->
  4243.     <!ENTITY ccedil CDATA "ç" -- small c, cedilla -->
  4244.     <!ENTITY egrave CDATA "è" -- small e, grave accent -->
  4245.     <!ENTITY eacute CDATA "é" -- small e, acute accent -->
  4246.     <!ENTITY ecirc  CDATA "ê" -- small e, circumflex accent -->
  4247.     <!ENTITY euml   CDATA "ë" -- small e, dieresis or umlaut mark -->
  4248.     <!ENTITY igrave CDATA "ì" -- small i, grave accent -->
  4249.     <!ENTITY iacute CDATA "í" -- small i, acute accent -->
  4250.     <!ENTITY icirc  CDATA "î" -- small i, circumflex accent -->
  4251.     <!ENTITY iuml   CDATA "ï" -- small i, dieresis or umlaut mark -->
  4252.     <!ENTITY eth    CDATA "ð" -- small eth, Icelandic -->
  4253.     <!ENTITY ntilde CDATA "ñ" -- small n, tilde -->
  4254.     <!ENTITY ograve CDATA "ò" -- small o, grave accent -->
  4255.  
  4256.  
  4257.  
  4258. Berners-Lee & Connolly      Standards Track                    [Page 76]
  4259.  
  4260. RFC 1866            Hypertext Markup Language - 2.0        November 1995
  4261.  
  4262.  
  4263.     <!ENTITY oacute CDATA "ó" -- small o, acute accent -->
  4264.     <!ENTITY ocirc  CDATA "ô" -- small o, circumflex accent -->
  4265.     <!ENTITY otilde CDATA "õ" -- small o, tilde -->
  4266.     <!ENTITY ouml   CDATA "ö" -- small o, dieresis or umlaut mark -->
  4267.     <!ENTITY divide CDATA "÷" -- divide sign -->
  4268.     <!ENTITY oslash CDATA "ø" -- small o, slash -->
  4269.     <!ENTITY ugrave CDATA "ù" -- small u, grave accent -->
  4270.     <!ENTITY uacute CDATA "ú" -- small u, acute accent -->
  4271.     <!ENTITY ucirc  CDATA "û" -- small u, circumflex accent -->
  4272.     <!ENTITY uuml   CDATA "ü" -- small u, dieresis or umlaut mark -->
  4273.     <!ENTITY yacute CDATA "ý" -- small y, acute accent -->
  4274.     <!ENTITY thorn  CDATA "þ" -- small thorn, Icelandic -->
  4275.     <!ENTITY yuml   CDATA "ÿ" -- small y, dieresis or umlaut mark -->
  4276.  
  4277.  
  4278.  
  4279.  
  4280.  
  4281.  
  4282.  
  4283.  
  4284.  
  4285.  
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294.  
  4295.  
  4296.  
  4297.  
  4298.  
  4299.  
  4300.  
  4301.  
  4302.  
  4303.  
  4304.  
  4305.  
  4306.  
  4307.  
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314. Berners-Lee & Connolly      Standards Track                    [Page 77]
  4315.  
  4316.