home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Updates / Perl / Perl_Libs / site_perl / HTML / HTML32.dtd < prev    next >
Text File  |  1996-09-17  |  21KB  |  609 lines

  1. <!--
  2.         W3C Document Type Definition for the HyperText Markup Language
  3.         This version is code named Wilbur, and also as "HTML 3.2".
  4.  
  5.         Draft: Tuesday August 21st 1996
  6.  
  7.         Author: Dave Raggett <dsr@w3.org>
  8.  
  9.         This is subject to change, pending final approval by the W3C
  10.         member companies.
  11.  
  12.         HTML 3.2 aims to capture recommended practice as of early '96
  13.         and as such to be used as a replacement for HTML 2.0 (RFC 1866).
  14.         Widely deployed rendering attributes are included where they
  15.         have been shown to be interoperable. SCRIPT and STYLE are
  16.         included to smooth the introduction of client-side scripts
  17.         and style sheets. Browsers must avoid showing the contents
  18.         of these element Otherwise support for them is not required.
  19.         ID, CLASS and STYLE attributes are not included in this version
  20.         of HTML.
  21.  
  22.         The next version of HTML after Wilbur is code named Cougar and
  23.         will add support for <OBJECT>, client-side scripting, style
  24.         sheets, and extensions to fill-out forms.
  25. -->
  26.  
  27. <!ENTITY % HTML.Version
  28.         "-//W3C//DTD HTML 3.2 Draft 19960821//EN"
  29.  
  30.         -- Typical usage:
  31.  
  32.             <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft 19960821//EN">
  33.             <html>
  34.             ...
  35.             </html>
  36.         --
  37.         >
  38.  
  39. <!--================== Deprecated Features Switch =========================-->
  40.  
  41. <!ENTITY % HTML.Deprecated "INCLUDE">
  42.  
  43. <!--================== Imported Names =====================================-->
  44.  
  45. <!ENTITY % Content-Type "CDATA"
  46.         -- meaning a MIME content type, as per RFC1521
  47.         -->
  48.  
  49. <!ENTITY % HTTP-Method "GET | POST"
  50.         -- as per HTTP specification
  51.         -->
  52.  
  53. <!ENTITY % URL "CDATA"
  54.         -- The term URL means a CDATA attribute
  55.            whose value is a Uniform Resource Locator,
  56.            See RFC1808 (June 95) and RFC1738 (Dec 94).
  57.         -->
  58.  
  59. <!-- Parameter Entities -->
  60.  
  61. <!ENTITY % head.misc "SCRIPT|STYLE|META|LINK" -- repeatable head elements -->
  62.  
  63. <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
  64.  
  65. <!ENTITY % list "UL | OL |  DIR | MENU">
  66.  
  67. <![ %HTML.Deprecated [
  68.     <!ENTITY % preformatted "PRE | XMP | LISTING">
  69. ]]>
  70.  
  71. <!ENTITY % preformatted "PRE">
  72.  
  73. <!--================ Character mnemonic entities ==========================-->
  74.  
  75. <!ENTITY % ISOlat1 PUBLIC
  76.        "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">
  77. %ISOlat1;
  78.  
  79. <!--================ Entities for special symbols =========================-->
  80. <!-- &trade ­ and &cbsp are not widely deployed and so not included here -->
  81.  
  82. <!ENTITY copy   CDATA "©"   -- copyright sign     -->
  83. <!ENTITY reg    CDATA "®"   -- registered sign    -->
  84. <!ENTITY amp    CDATA "&"   -- ampersand          -->
  85. <!ENTITY gt     CDATA ">"   -- greater than       -->
  86. <!ENTITY lt     CDATA "<"   -- less than          -->
  87. <!ENTITY quot   CDATA """   -- double quote       -->
  88. <!ENTITY nbsp   CDATA " "  -- non breaking space -->
  89.  
  90. <!--=================== Text Markup =======================================-->
  91.  
  92. <!ENTITY % font "TT | I | B  | U | STRIKE | BIG | SMALL | SUB | SUP">
  93.  
  94. <!ENTITY % phrase "EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE">
  95.  
  96. <!ENTITY % special "A | IMG | APPLET | FONT | BASEFONT | BR | SCRIPT | MAP">
  97.  
  98. <!ENTITY % form "INPUT | SELECT | TEXTAREA">
  99.  
  100. <!ENTITY % text "#PCDATA | %font | %phrase | %special | %form">
  101.  
  102. <!ELEMENT (%font|%phrase) - - (%text)*>
  103.  
  104. <!-- there are also 16 widely known color names although
  105.   the resulting colors are implementation dependent:
  106.  
  107.    aqua, black, blue, fuchsia, gray, green, lime, maroon,
  108.    navy, olive, purple, red, silver, teal, white, and yellow
  109.  
  110.  These colors were originally picked as being the standard
  111.  16 colors supported with the Windows VGA palette.
  112.  -->
  113.  
  114. <!ELEMENT FONT - - (%text)*     -- local change to font -->
  115. <!ATTLIST FONT
  116.     size    CDATA   #IMPLIED    -- [+]nn e.g. size="+1", size=4 --
  117.     color   CDATA   #IMPLIED    -- #RRGGBB in hex, e.g. red: color="#FF0000" --
  118.     >
  119.  
  120. <!ELEMENT BASEFONT - O EMPTY    -- base font size (1 to 7)-->
  121. <!ATTLIST BASEFONT
  122.     size    CDATA   #IMPLIED    -- e.g. size=3 --
  123.     >
  124.  
  125. <!ELEMENT BR    - O EMPTY    -- forced line break -->
  126. <!ATTLIST BR
  127.         clear (left|all|right|none) none -- control of text flow --
  128.         >
  129.  
  130. <!--================== HTML content models ================================-->
  131. <!--
  132.     HTML has three basic content models:
  133.  
  134.         %text       character level elements and text strings
  135.         %flow       block-like elements e.g. paragraphs and lists
  136.         %bodytext   as (b) plus headers and ADDRESS
  137. -->
  138.  
  139. <!ENTITY % block
  140.      "P | %list | %preformatted | DL | DIV | CENTER |
  141.       BLOCKQUOTE | FORM | ISINDEX | HR | TABLE">
  142.  
  143. <!-- %flow is used for DD and LI -->
  144.  
  145. <!ENTITY % flow "(%text | %block)*">
  146.  
  147. <!--=================== Document Body =====================================-->
  148.  
  149. <!ENTITY % body.content "(%heading | %text | %block | ADDRESS)*">
  150.  
  151. <!ENTITY % color "CDATA" -- a color specification: #HHHHHH @@ details? -->
  152.  
  153. <!ENTITY % body-color-attrs "
  154.         bgcolor %color #IMPLIED
  155.         text %color #IMPLIED
  156.         link %color #IMPLIED
  157.         vlink %color #IMPLIED
  158.         alink %color #IMPLIED
  159.         ">
  160.  
  161. <!ELEMENT BODY O O  %body.content>
  162. <!ATTLIST BODY
  163.         background %URL #IMPLIED  -- texture tile for document background --
  164.         %body-color-attrs;  -- bgcolor, text, link, vlink, alink --
  165.         >
  166.  
  167. <!ENTITY % address.content "((%text;) | P)*">
  168.  
  169. <!ELEMENT ADDRESS - - %address.content>
  170.  
  171. <!ELEMENT DIV - - %body.content>
  172. <!ATTLIST DIV
  173.         align   (left|center|right) #IMPLIED -- alignment of following text --
  174.         >
  175.  
  176. <!-- CENTER is a shorthand for DIV with ALIGN=CENTER -->
  177. <!ELEMENT center - - %body.content>
  178.  
  179. <!--================== The Anchor Element =================================-->
  180.  
  181. <!ELEMENT A - - (%text)* -(A)>
  182. <!ATTLIST A
  183.         name    CDATA   #IMPLIED    -- named link end --
  184.         href    %URL    #IMPLIED    -- URL for linked resource --
  185.         rel     CDATA   #IMPLIED    -- forward link types --
  186.         rev     CDATA   #IMPLIED    -- reverse link types --
  187.         title   CDATA   #IMPLIED    -- advisory title string --
  188.         >
  189.  
  190. <!--================== Client-side image maps ============================-->
  191.  
  192. <!-- These can be placed in the same document or grouped in a
  193.      separate document although this isn't yet widely supported -->
  194.  
  195. <!ENTITY % SHAPE "(rect|circle|poly|default)">
  196. <!ENTITY % COORDS "CDATA" -- comma separated list of numbers -->
  197.  
  198. <!ELEMENT MAP - - (AREA)*>
  199. <!ATTLIST MAP
  200.     name    CDATA   #IMPLIED
  201.     >
  202.  
  203. <!ELEMENT AREA - O EMPTY>
  204. <!ATTLIST AREA
  205.     shape   %SHAPE  rect
  206.     coords  %COORDS #IMPLIED  -- always needed except for shape=default --
  207.     href    %URL    #IMPLIED  -- this region acts as hypertext link --
  208.     nohref (nohref) #IMPLIED  -- this region has no action --
  209.     alt     CDATA   #REQUIRED
  210.     >
  211.  
  212. <!--================== The LINK Element ==================================-->
  213.  
  214. <!ENTITY % Types "CDATA"
  215.         -- See Internet Draft: draft-ietf-html-relrev-00.txt
  216.            LINK has been part of HTML since the early days
  217.            although few browsers as yet take advantage of it.
  218.  
  219.            Relationship values can be used in principle:
  220.  
  221.                 a) for document specific toolbars/menus when used
  222.                    with the LINK element in document head:
  223.                 b) to link to a separate style sheet (rel=stylesheet)
  224.                 c) to make a link to a script (rel=script)
  225.                 d) by stylesheets to control how collections of
  226.                    html nodes are rendered into printed documents
  227.                 e) to make a link to a printable version of this document
  228.                    e.g. a postscript or pdf version (rel=print)
  229. -->
  230.  
  231. <!ELEMENT LINK - O EMPTY>
  232. <!ATTLIST LINK
  233.         id      ID      #IMPLIED    -- SGML ID attribute --
  234.         href    %URL    #IMPLIED    -- URL for linked resource --
  235.         rel     %Types  #IMPLIED    -- forward link types --
  236.         rev     %Types  #IMPLIED    -- reverse link types --
  237.         title   CDATA   #IMPLIED    -- advisory title string --
  238.         >
  239.  
  240. <!--=================== Images ============================================-->
  241.  
  242. <!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length -->
  243. <!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->
  244.  
  245. <!-- Suggested widths are used for negotiating image size
  246.      with the module responsible for painting the image.
  247.      align=left or right cause image to float to margin
  248.      and for subsequent text to wrap around image -->
  249.  
  250. <!ENTITY % IAlign "(top|middle|bottom|left|right)">
  251.  
  252. <!ELEMENT IMG    - O EMPTY --  Embedded image -->
  253. <!ATTLIST IMG
  254.         src     %URL     #REQUIRED  -- URL of image to embed --
  255.         alt     CDATA    #IMPLIED   -- for display in place of image --
  256.         align   %IAlign  #IMPLIED   -- vertical or horizontal alignment --
  257.         height  %Pixels  #IMPLIED   -- suggested height in pixels --
  258.         width   %Pixels  #IMPLIED   -- suggested width in pixels --
  259.         border  %Pixels  #IMPLIED   -- suggested link border width --
  260.         hspace  %Pixels  #IMPLIED   -- suggested horizontal gutter --
  261.         vspace  %Pixels  #IMPLIED   -- suggested vertical gutter --
  262.         usemap  %URL     #IMPLIED   -- use client-side image map --
  263.         ismap   (ismap)  #IMPLIED   -- use server image map --
  264.         >
  265.  
  266. <!-- USEMAP points to a MAP element which may be in this document
  267.   or an external document, although the latter is not widely supported -->
  268.  
  269. <!--=================== Java APPLET tag ===================================-->
  270. <!--
  271.   This tag is supported by all java enabled browsers. Applet resources
  272.   (including their classes) are normally loaded relative to the document
  273.   URL (or <BASE> element if it is defined). The CODEBASE attribute is used
  274.   to change this default behavior. If the CODEBASE attribute is defined then
  275.   it specifies a different location to find applet resources. The value
  276.   can be an absolute URL or a relative URL. The absolute URL is used as is
  277.   without modification and is not effected by the documents <BASE> element.
  278.   When the codebase attribute is relative, then it is relative to the
  279.   document URL (or <BASE> tag if defined).
  280. -->
  281. <!ELEMENT APPLET - - (%text)* +(PARAM)>
  282. <!ATTLIST APPLET
  283.         codebase %URL     #IMPLIED   -- code base --
  284.         code     CDATA    #REQUIRED  -- class file --
  285.         alt      CDATA    #IMPLIED   -- for display in place of applet --
  286.         name     CDATA    #IMPLIED   -- applet name --
  287.         width    %Pixels  #REQUIRED  -- suggested width in pixels --
  288.         height   %Pixels  #REQUIRED  -- suggested height in pixels --
  289.         align    %IAlign  #IMPLIED   -- vertical or horizontal alignment --
  290.         hspace   %Pixels  #IMPLIED   -- suggested horizontal gutter --
  291.         vspace   %Pixels  #IMPLIED   -- suggested vertical gutter --
  292.         >
  293.  
  294. <!ELEMENT PARAM - O EMPTY>
  295. <!ATTLIST PARAM
  296.         name    NAME      #REQUIRED  -- The name of the parameter --
  297.         value   CDATA     #IMPLIED   -- The value of the parameter --
  298.         >
  299.  
  300. <!--
  301. Here is an example:
  302.  
  303.     <applet codebase="applets/NervousText"
  304.         code=NervousText.class
  305.         width=300
  306.         height=50>
  307.     <param name=text value="Java is Cool!">
  308.     <img src=sorry.gif alt="This looks better with Java support">
  309.     </applet>
  310. -->
  311.  
  312. <!--=================== Horizontal Rule ===================================-->
  313.  
  314. <!ELEMENT HR    - O EMPTY>
  315. <!ATTLIST HR
  316.         align (left|right|center) #IMPLIED
  317.         noshade (noshade) #IMPLIED
  318.         size  %Pixels #IMPLIED
  319.         width %Length #IMPLIED
  320.         >
  321. <!--=================== Paragraphs=========================================-->
  322.  
  323. <!ELEMENT P     - O (%text)*>
  324. <!ATTLIST P
  325.         align  (left|center|right) #IMPLIED
  326.         >
  327.  
  328. <!--=================== Headings ==========================================-->
  329.  
  330. <!--
  331.   There are six levels of headers from H1 (the most important)
  332.   to H6 (the least important).
  333. -->
  334.  
  335. <!ELEMENT ( %heading )  - -  (%text;)*>
  336. <!ATTLIST ( %heading )
  337.         align  (left|center|right) #IMPLIED
  338.         >
  339.  
  340. <!--=================== Preformatted Text =================================-->
  341.  
  342. <!-- excludes images and changes in font size -->
  343.  
  344. <!ENTITY % pre.exclusion "IMG|BIG|SMALL|SUB|SUP|FONT">
  345.  
  346. <!ELEMENT PRE - - (%text)* -(%pre.exclusion)>
  347. <!ATTLIST PRE
  348.         width NUMBER #implied -- is this widely supported? --
  349.         >
  350.  
  351. <![ %HTML.Deprecated [
  352.  
  353. <!ENTITY % literal "CDATA"
  354.         -- historical, non-conforming parsing mode where
  355.            the only markup signal is the end tag
  356.            in full
  357.         -->
  358.  
  359. <!ELEMENT (XMP|LISTING) - -  %literal>
  360. <!ELEMENT PLAINTEXT - O %literal>
  361.  
  362. ]]>
  363.  
  364. <!--=================== Block-like Quotes =================================-->
  365.  
  366. <!ELEMENT BLOCKQUOTE - - %body.content>
  367.  
  368. <!--=================== Lists =============================================-->
  369.  
  370. <!--
  371.     HTML 3.2 allows you to control the sequence number for ordered lists.
  372.     You can set the sequence number with the START and VALUE attributes.
  373.     The TYPE attribute may be used to specify the rendering of ordered
  374.     and unordered lists.
  375. -->
  376.  
  377. <!-- definition lists - DT for term, DD for its definition -->
  378.  
  379. <!ELEMENT DL    - -  (DT|DD)*>
  380. <!ATTLIST DL
  381.         compact (compact) #IMPLIED -- more compact style --
  382.         >
  383.  
  384. <!ELEMENT DT - O  (%text)*>
  385. <!ELEMENT DD - O  %flow;>
  386.  
  387. <!-- Ordered lists OL, and unordered lists UL -->
  388. <!ELEMENT (OL|UL) - -  (LI)*>
  389.  
  390. <!--
  391.        Numbering style
  392.     1   arablic numbers     1, 2, 3, ...
  393.     a   lower alpha         a, b, c, ...
  394.     A   upper alpha         A, B, C, ...
  395.     i   lower roman         i, ii, iii, ...
  396.     I   upper roman         I, II, III, ...
  397.  
  398.     The style is applied to the sequence number which by default
  399.     is reset to 1 for the first list item in an ordered list.
  400.  
  401.     This can't be expressed directly in SGML due to case folding.
  402. -->
  403.  
  404. <!ENTITY % OLStyle "CDATA" -- constrained to: [1|a|A|i|I] -->
  405.  
  406. <!ATTLIST OL -- ordered lists --
  407.         type      %OLStyle   #IMPLIED   -- numbering style --
  408.         start     NUMBER     #IMPLIED   -- starting sequence number --
  409.         compact  (compact)   #IMPLIED   -- reduced interitem spacing --
  410.         >
  411.  
  412. <!-- bullet styles -->
  413.  
  414. <!ENTITY % ULStyle "disc|square|circle">
  415.  
  416. <!ATTLIST UL -- unordered lists --
  417.         type    (%ULStyle)   #IMPLIED   -- bullet style --
  418.         compact (compact)    #IMPLIED   -- reduced interitem spacing --
  419.         >
  420.  
  421. <!ELEMENT (DIR|MENU) - -  (LI)* -(%block)>
  422. <!ATTLIST DIR
  423.         compact (compact) #IMPLIED
  424.         >
  425. <!ATTLIST MENU
  426.         compact (compact) #IMPLIED
  427.         >
  428.  
  429. <!-- <DIR>              Directory list                  -->
  430. <!-- <DIR COMPACT>      Compact list style              -->
  431. <!-- <MENU>             Menu list                       -->
  432. <!-- <MENU COMPACT>     Compact list style              -->
  433.  
  434. <!-- The type attribute can be used to change the bullet style
  435.      in unordered lists and the numbering style in ordered lists -->
  436.  
  437. <!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle|%OLStyle)" -->
  438.  
  439. <!ELEMENT LI - O %flow -- list item -->
  440. <!ATTLIST LI
  441.         type    %LIStyle     #IMPLIED   -- list item style --
  442.         value    NUMBER      #IMPLIED   -- reset sequence number --
  443.         >
  444.  
  445. <!--================ Forms ===============================================-->
  446.  
  447. <!ELEMENT FORM - - %body.content -(FORM)>
  448. <!ATTLIST FORM
  449.         action %URL #IMPLIED  -- server-side form handler --
  450.         method (%HTTP-Method) GET -- see HTTP specification --
  451.         enctype %Content-Type; "application/x-www-form-urlencoded"
  452.         >
  453.  
  454. <!ENTITY % InputType
  455.         "(TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT
  456.             | RESET | FILE | HIDDEN | IMAGE)">
  457.  
  458. <!ELEMENT INPUT - O EMPTY>
  459. <!ATTLIST INPUT
  460.         type %InputType TEXT     -- what kind of widget is needed --
  461.         name  CDATA #IMPLIED     -- required for all but submit and reset --
  462.         value CDATA #IMPLIED     -- required for radio and checkboxes --
  463.         checked (checked) #IMPLIED -- for radio buttons and check boxes --
  464.         size CDATA  #IMPLIED     -- specific to each type of field --
  465.         maxlength NUMBER #IMPLIED
  466.         src   %URL  #IMPLIED     -- for fields with background images --
  467.         align  (top|middle|bottom|left|right) top -- image alignment --
  468.         >
  469.  
  470. <!ELEMENT SELECT - - (OPTION+)>
  471. <!ATTLIST SELECT
  472.         name CDATA #REQUIRED
  473.         size NUMBER #IMPLIED
  474.         multiple (multiple) #IMPLIED
  475.         >
  476.  
  477. <!ELEMENT OPTION - O (#PCDATA)*>
  478. <!ATTLIST OPTION
  479.         selected (selected) #IMPLIED
  480.         value  CDATA  #IMPLIED -- defaults to element content --
  481.         >
  482.  
  483. <!-- Multi-line text input field. -->
  484.  
  485. <!ELEMENT TEXTAREA - - (#PCDATA)*>
  486. <!ATTLIST TEXTAREA
  487.         name CDATA #REQUIRED
  488.         rows NUMBER #REQUIRED
  489.         cols NUMBER #REQUIRED
  490.         >
  491.  
  492. <!--======================= Tables ========================================-->
  493.  
  494. <!-- Widely deployed subset of the full table standard, see RFC 1942
  495.      e.g. at http://www.ics.uci.edu/pub/ietf/html/rfc1942.txt -->
  496.  
  497. <!-- horizontal placement of table relative to window -->
  498. <!ENTITY % Where "(left|center|right)">
  499.  
  500. <!-- horizontal alignment attributes for cell contents -->
  501. <!ENTITY % cell.halign
  502.         "align  (left|center|right) #IMPLIED"
  503.         >
  504.  
  505. <!-- vertical alignment attributes for cell contents -->
  506. <!ENTITY % cell.valign
  507.         "valign  (top|middle|bottom|baseline)  #IMPLIED"
  508.         >
  509.  
  510. <!ELEMENT table - - (caption?, tr+)>
  511. <!ELEMENT tr - O (th|td)*>
  512. <!ELEMENT (th|td) - O %body.content>
  513.  
  514. <!ATTLIST table                       -- table element --
  515.         align     %Where;   #IMPLIED  -- table position relative to window --
  516.         width     %Length   #IMPLIED  -- table width relative to window --
  517.         border    %Pixels   #IMPLIED  -- controls frame width around table --
  518.         dummy     (border)  #IMPLIED  -- fixes SGML error for border w/o value --
  519.         cellspacing %Pixels #IMPLIED  -- spacing between cells --
  520.         cellpadding %Pixels #IMPLIED  -- spacing within cells --
  521.         >
  522.  
  523. <!ELEMENT CAPTION - - (%text;)* -- table or figure caption -->
  524. <!ATTLIST CAPTION
  525.         align (top|bottom) #IMPLIED
  526.         >
  527.  
  528. <!ATTLIST tr                       -- table row --
  529.         %cell.halign;              -- horizontal alignment in cells --
  530.         %cell.valign;              -- vertical alignment in cells --
  531.         >
  532.  
  533. <!ATTLIST (th|td)                  -- header or data cell --
  534.         nowrap (nowrap)  #IMPLIED  -- suppress word wrap --
  535.         rowspan NUMBER   1         -- number of rows spanned by cell --
  536.         colspan NUMBER   1         -- number of cols spanned by cell --
  537.         %cell.halign;              -- horizontal alignment in cell --
  538.         %cell.valign;              -- vertical alignment in cell --
  539.         width   %Pixels  #IMPLIED  -- suggested width for cell --
  540.         height  %Pixels  #IMPLIED  -- suggested height for cell --
  541.         >
  542.  
  543. <!--================ Document Head ========================================-->
  544.  
  545. <!-- %head.misc defined earlier on as "SCRIPT|STYLE|META|LINK" -->
  546.  
  547. <!ENTITY % head.content "TITLE & ISINDEX? & BASE?">
  548.  
  549. <!ELEMENT HEAD O O  (%head.content) +(%head.misc)>
  550.  
  551. <!ELEMENT TITLE - -  (#PCDATA)* -(%head.misc)
  552.           -- The TITLE element is not considered part of the flow of text.
  553.              It should be displayed, for example as the page header or
  554.              window title.
  555.           -->
  556.  
  557. <!ELEMENT ISINDEX - O EMPTY>
  558. <!ATTLIST ISINDEX
  559.         prompt CDATA #IMPLIED -- prompt message -->
  560.  
  561. <!--
  562.     The BASE element gives an absolute URL for dereferencing relative
  563.     URLs, e.g.
  564.  
  565.          <BASE href="http://foo.com/index.html">
  566.          ...
  567.          <IMG SRC="images/bar.gif">
  568.  
  569.     The image is deferenced to
  570.  
  571.          http://foo.com/images/bar.gif
  572.  
  573.    In the absence of a BASE element the document URL should be used.
  574.    Note that this is not necessarily the same as the URL used to
  575.    request the document, as the base URL may be overridden by an HTTP
  576.    header accompanying the document.
  577. -->
  578.  
  579. <!ELEMENT BASE - O EMPTY>
  580. <!ATTLIST BASE
  581.         href %URL  #REQUIRED
  582.         >
  583.  
  584. <!ELEMENT META - O EMPTY -- Generic Metainformation -->
  585. <!ATTLIST META
  586.         http-equiv  NAME    #IMPLIED  -- HTTP response header name  --
  587.         name        NAME    #IMPLIED  -- metainformation name       --
  588.         content     CDATA   #REQUIRED -- associated information     --
  589.         >
  590.  
  591. <!-- SCRIPT/STYLE are place holders for transition to next version of HTML -->
  592.  
  593. <!ELEMENT STYLE  - - (#PCDATA)*  -(%head.misc) -- style info -->
  594. <!ELEMENT SCRIPT - - (#PCDATA)*  -(%head.misc) -- script statements -->
  595.  
  596. <!--================ Document Structure ===================================-->
  597.  
  598. <!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'">
  599.  
  600. <![ %HTML.Deprecated [
  601.     <!ENTITY % html.content "HEAD, BODY, PLAINTEXT?">
  602. ]]>
  603.  
  604. <!ELEMENT HTML O O  (%html.content)>
  605. <!ATTLIST HTML
  606.         %version.attr;
  607.         >
  608.  
  609.