home *** CD-ROM | disk | FTP | other *** search
/ Magazyn WWW 1999 July / www_07_1999.iso / prez / amiga / CheckHTML.lha / CheckHTML / SGML / HTML40trans.dtd < prev    next >
Text File  |  1998-01-25  |  45KB  |  1,086 lines

  1. <!--
  2.     This is the HTML 4.0 Transitional DTD, which includes
  3.     presentation attributes and elements that W3C expects to phase out
  4.     as support for style sheets matures. Authors should use the Strict
  5.     DTD when possible, but may use the Transitional DTD when support
  6.     for presentation attribute and elements is required.
  7.  
  8.     HTML 4.0 includes mechanisms for style sheets, scripting,
  9.     embedding objects, improved support for right to left and mixed
  10.     direction text, and enhancements to forms for improved
  11.     accessibility for people with disabilities.
  12.  
  13.           Draft: $Date: 1997/12/18 09:36:02 $
  14.  
  15.           Authors:
  16.               Dave Raggett <dsr@w3.org>
  17.               Arnaud Le Hors <lehors@w3.org>
  18.               Ian Jacobs <ij@w3.org>
  19.  
  20.     Further information about HTML 4.0 is available at:
  21.  
  22.         http://www.w3.org/TR/REC-html40
  23. -->
  24. <!ENTITY % HTML.Version "-//W3C//DTD HTML 4.0 Transitional//EN"
  25.   -- Typical usage:
  26.  
  27.     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  28.     <html>
  29.     <head>
  30.     ...
  31.     </head>
  32.     <body>
  33.     ...
  34.     </body>
  35.     </html>
  36.  
  37.     The URI used as a system identifier with the public identifier allows
  38.     the user agent to download the DTD and entity sets as needed.
  39.  
  40.     The FPI for the Strict HTML 4.0 DTD is:
  41.  
  42.         "-//W3C//DTD HTML 4.0//EN"
  43.  
  44.     and its URI is:
  45.  
  46.         http://www.w3.org/TR/REC-html40/strict.dtd
  47.  
  48.     Authors should use the Strict DTD unless they need the
  49.     presentation control for user agents that don't (adequately)
  50.     support style sheets.
  51.  
  52.     If you are writing a document that includes frames, use
  53.     the following FPI:
  54.  
  55.         "-//W3C//DTD HTML 4.0 Frameset//EN"
  56.  
  57.     with the URI:
  58.  
  59.         http://www.w3.org/TR/REC-html40/frameset.dtd
  60.  
  61.     The following URIs are supported in relation to HTML 4.0
  62.  
  63.     "http://www.w3.org/TR/REC-html40/strict.dtd" (Strict DTD)
  64.     "http://www.w3.org/TR/REC-html40/loose.dtd" (Loose DTD)
  65.     "http://www.w3.org/TR/REC-html40/frameset.dtd" (Frameset DTD)
  66.     "http://www.w3.org/TR/REC-html40/HTMLlat1.ent" (Latin-1 entities)
  67.     "http://www.w3.org/TR/REC-html40/HTMLsymbol.ent" (Symbol entities)
  68.     "http://www.w3.org/TR/REC-html40/HTMLspecial.ent" (Special entities)
  69.  
  70.     These URIs point to the latest version of each file. To reference
  71.     this specific revision use the following URIs:
  72.  
  73.     "http://www.w3.org/TR/REC-html40-971218/strict.dtd"
  74.     "http://www.w3.org/TR/REC-html40-971218/loose.dtd"
  75.     "http://www.w3.org/TR/REC-html40-971218/frameset.dtd"
  76.     "http://www.w3.org/TR/REC-html40-971218/HTMLlat1.ent"
  77.     "http://www.w3.org/TR/REC-html40-971218/HTMLsymbol.ent"
  78.     "http://www.w3.org/TR/REC-html40-971218/HTMLspecial.ent"
  79.  
  80. -->
  81.  
  82. <!--================== Imported Names ====================================-->
  83.  
  84. <!ENTITY % ContentType "CDATA"
  85.     -- media type, as per [RFC2045]
  86.     -->
  87.  
  88. <!ENTITY % ContentTypes "CDATA"
  89.     -- comma-separated list of media types, as per [RFC2045]
  90.     -->
  91.  
  92. <!ENTITY % Charset "CDATA"
  93.     -- a character encoding, as per [RFC2045]
  94.     -->
  95.  
  96. <!ENTITY % Charsets "CDATA"
  97.     -- a space separated list of character encodings, as per [RFC2045]
  98.     -->
  99.  
  100. <!ENTITY % LanguageCode "NAME"
  101.     -- a language code, as per [RFC1766]
  102.     -->
  103.  
  104. <!ENTITY % Character "CDATA"
  105.     -- a single character from [ISO10646]
  106.     -->
  107.  
  108. <!ENTITY % LinkTypes "CDATA"
  109.     -- space-separated list of link types
  110.     -->
  111.  
  112. <!ENTITY % MediaDesc "CDATA"
  113.     -- single or comma-separated list of media descriptors
  114.     -->
  115.  
  116. <!ENTITY % URI "CDATA"
  117.     -- a Uniform Resource Identifier,
  118.        see [URI]
  119.     -->
  120.  
  121. <!ENTITY % Datetime "CDATA" -- date and time information. ISO date format -->
  122.  
  123.  
  124. <!ENTITY % Script "CDATA" -- script expression -->
  125.  
  126. <!ENTITY % StyleSheet "CDATA" -- style sheet data -->
  127.  
  128. <!ENTITY % FrameTarget "CDATA" -- render in this frame -->
  129.  
  130.  
  131. <!ENTITY % Text "CDATA">
  132.  
  133.  
  134. <!-- Parameter Entities -->
  135.  
  136. <!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|OBJECT" -- repeatable head elements -->
  137.  
  138. <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
  139.  
  140. <!ENTITY % list "UL | OL |  DIR | MENU">
  141.  
  142. <!ENTITY % preformatted "PRE">
  143.  
  144. <!ENTITY % Color "CDATA" -- a color using sRGB: #RRGGBB as Hex values -->
  145.  
  146. <!-- There are also 16 widely known color names with their sRGB values:
  147.  
  148.     Black  = #000000    Green  = #008000
  149.     Silver = #C0C0C0    Lime   = #00FF00
  150.     Gray   = #808080    Olive  = #808000
  151.     White  = #FFFFFF    Yellow = #FFFF00
  152.     Maroon = #800000    Navy   = #000080
  153.     Red    = #FF0000    Blue   = #0000FF
  154.     Purple = #800080    Teal   = #008080
  155.     Fuchsia= #FF00FF    Aqua   = #00FFFF
  156.  -->
  157.  
  158. <!ENTITY % bodycolors "
  159.   bgcolor     %Color;        #IMPLIED  -- document background color --
  160.   text        %Color;        #IMPLIED  -- document text color --
  161.   link        %Color;        #IMPLIED  -- color of links --
  162.   vlink       %Color;        #IMPLIED  -- color of visited links --
  163.   alink       %Color;        #IMPLIED  -- color of selected links --
  164.   ">
  165.  
  166. <!--================ Character mnemonic entities =========================-->
  167.  
  168. <!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin1//EN//HTML">
  169. %HTMLlat1;
  170. <!--
  171. <!ENTITY % HTMLsymbol PUBLIC "-//W3C//ENTITIES Symbols//EN//HTML">
  172. %HTMLsymbol;
  173. -->
  174. <!ENTITY % HTMLspecial PUBLIC "-//W3C//ENTITIES Special//EN//HTML">
  175. %HTMLspecial;
  176. <!--=================== Generic Attributes ===============================-->
  177.  
  178. <!ENTITY % coreattrs
  179.  "id          ID             #IMPLIED  -- document-wide unique id --
  180.   class       CDATA          #IMPLIED  -- space separated list of classes --
  181.   style       %StyleSheet;   #IMPLIED  -- associated style info --
  182.   title       %Text;         #IMPLIED  -- advisory title/amplification --"
  183.   >
  184.  
  185. <!ENTITY % i18n
  186.  "lang        %LanguageCode; #IMPLIED  -- language code --
  187.   dir         (ltr|rtl)      #IMPLIED  -- direction for weak/neutral text --"
  188.   >
  189.  
  190. <!ENTITY % events
  191.  "onclick     %Script;       #IMPLIED  -- a pointer button was clicked --
  192.   ondblclick  %Script;       #IMPLIED  -- a pointer button was double clicked--
  193.   onmousedown %Script;       #IMPLIED  -- a pointer button was pressed down --
  194.   onmouseup   %Script;       #IMPLIED  -- a pointer button was released --
  195.   onmouseover %Script;       #IMPLIED  -- a pointer was moved onto --
  196.   onmousemove %Script;       #IMPLIED  -- a pointer was moved within --
  197.   onmouseout  %Script;       #IMPLIED  -- a pointer was moved away --
  198.   onkeypress  %Script;       #IMPLIED  -- a key was pressed and released --
  199.   onkeydown   %Script;       #IMPLIED  -- a key was pressed down --
  200.   onkeyup     %Script;       #IMPLIED  -- a key was released --"
  201.   >
  202.  
  203. <!-- Reserved Feature Switch -->
  204. <!ENTITY % HTML.Reserved "IGNORE">
  205.  
  206. <!-- The following attributes are reserved for possible future use -->
  207. <![ %HTML.Reserved; [
  208. <!ENTITY % reserved
  209.  "datasrc     %URI;          #IMPLIED  -- a single or tabular Data Source --
  210.   datafld     CDATA          #IMPLIED  -- the property or column name --
  211.   dataformatas (plaintext|html) plaintext -- text or html --"
  212.   >
  213. ]]>
  214.  
  215. <!ENTITY % reserved "">
  216.  
  217. <!ENTITY % attrs "%coreattrs; %i18n; %events;">
  218.  
  219. <!ENTITY % align "align (left|center|right|justify)  #IMPLIED"
  220.                    -- default is left for ltr paragraphs, right for rtl --
  221.   >
  222.  
  223. <!--=================== Text Markup ======================================-->
  224.  
  225. <!ENTITY % fontstyle
  226.  "TT | I | B | U | S | STRIKE | BIG | SMALL">
  227.  
  228. <!ENTITY % phrase "EM | STRONG | DFN | CODE |
  229.                    SAMP | KBD | VAR | CITE | ABBR | ACRONYM" >
  230.  
  231. <!ENTITY % special
  232.    "A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT |
  233.     MAP | Q | SUB | SUP | SPAN | BDO | IFRAME">
  234.  
  235. <!ENTITY % formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON">
  236.  
  237. <!-- %inline; covers inline or "text-level" elements -->
  238. <!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;">
  239.  
  240. <!ELEMENT (%fontstyle;|%phrase;) - - (%inline;)*>
  241. <!ATTLIST (%fontstyle;|%phrase;)
  242.   %attrs;                              -- %coreattrs, %i18n, %events --
  243.   >
  244.  
  245. <!ELEMENT (SUB|SUP) - - (%inline;)*    -- subscript, superscript -->
  246. <!ATTLIST (SUB|SUP)
  247.   %attrs;                              -- %coreattrs, %i18n, %events --
  248.   >
  249.  
  250. <!ELEMENT SPAN - - (%inline;)*         -- generic language/style container -->
  251. <!ATTLIST SPAN
  252.   %attrs;                              -- %coreattrs, %i18n, %events --
  253.   %reserved;                   -- reserved for possible future use --
  254.   >
  255.  
  256. <!ELEMENT BDO - - (%inline;)*          -- I18N BiDi over-ride -->
  257. <!ATTLIST BDO
  258.   %coreattrs;                          -- id, class, style, title --
  259.   lang        %LanguageCode; #IMPLIED  -- language code --
  260.   dir         (ltr|rtl)      #REQUIRED -- directionality --
  261.   >
  262.  
  263. <!ELEMENT BASEFONT - O EMPTY           -- base font size -->
  264. <!ATTLIST BASEFONT
  265.   id          ID             #IMPLIED  -- document-wide unique id --
  266.   size        CDATA          #REQUIRED -- base font size for FONT elements --
  267.   color       %Color;        #IMPLIED  -- text color --
  268.   face        CDATA          #IMPLIED  -- comma separated list of font names --
  269.   >
  270.  
  271. <!ELEMENT FONT - - (%inline;)*         -- local change to font -->
  272. <!ATTLIST FONT
  273.   %coreattrs;                          -- id, class, style, title --
  274.   %i18n;                       -- lang, dir --
  275.   size        CDATA          #IMPLIED  -- [+|-]nn e.g. size="+1", size="4" --
  276.   color       %Color;        #IMPLIED  -- text color --
  277.   face        CDATA          #IMPLIED  -- comma separated list of font names --
  278.   >
  279.  
  280. <!ELEMENT BR - O EMPTY                 -- forced line break -->
  281. <!ATTLIST BR
  282.   %coreattrs;                          -- id, class, style, title --
  283.   clear       (left|all|right|none) none -- control of text flow --
  284.   >
  285.  
  286. <!--================== HTML content models ===============================-->
  287.  
  288. <!--
  289.     HTML has two basic content models:
  290.  
  291.         %inline;     character level elements and text strings
  292.         %block;      block-like elements e.g. paragraphs and lists
  293. -->
  294.  
  295. <!ENTITY % block
  296.      "P | %heading; | %list; | %preformatted; | DL | DIV | CENTER |
  297.       NOSCRIPT | NOFRAMES | BLOCKQUOTE | FORM | ISINDEX | HR |
  298.       TABLE | FIELDSET | ADDRESS">
  299.  
  300. <!ENTITY % flow "%block; | %inline;">
  301.  
  302. <!--=================== Document Body ====================================-->
  303.  
  304. <!ELEMENT BODY O O (%flow;)* +(INS|DEL) -- document body -->
  305. <!ATTLIST BODY
  306.   %attrs;                              -- %coreattrs, %i18n, %events --
  307.   onload          %Script;   #IMPLIED  -- the document has been loaded --
  308.   onunload        %Script;   #IMPLIED  -- the document has been removed --
  309.   background      %URI;      #IMPLIED  -- texture tile for document
  310.                                           background --
  311.   %bodycolors;                         -- bgcolor, text, link, vlink, alink --
  312.   >
  313.  
  314. <!ELEMENT ADDRESS - - ((%inline;)|P)*  -- information on author -->
  315. <!ATTLIST ADDRESS
  316.   %attrs;                              -- %coreattrs, %i18n, %events --
  317.   >
  318.  
  319. <!ELEMENT DIV - - (%flow;)*            -- generic language/style container -->
  320. <!ATTLIST DIV
  321.   %attrs;                              -- %coreattrs, %i18n, %events --
  322.   %align;                              -- align, text alignment --
  323.   %reserved;                           -- reserved for possible future use --
  324.   >
  325.  
  326. <!ELEMENT CENTER - - (%flow;)*         -- shorthand for DIV align=center -->
  327. <!ATTLIST CENTER
  328.   %attrs;                              -- %coreattrs, %i18n, %events --
  329.   >
  330.  
  331. <!--================== The Anchor Element ================================-->
  332.  
  333. <!ENTITY % Shape "(rect|circle|poly|default)">
  334. <!ENTITY % Coords "CDATA" -- comma separated list of lengths -->
  335.  
  336. <!ELEMENT A - - (%inline;)* -(A)       -- anchor -->
  337. <!ATTLIST A
  338.   %attrs;                              -- %coreattrs, %i18n, %events --
  339.   charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
  340.   type        %ContentType;  #IMPLIED  -- advisory content type --
  341.   name        CDATA          #IMPLIED  -- named link end --
  342.   href        %URI;          #IMPLIED  -- URI for linked resource --
  343.   hreflang    %LanguageCode; #IMPLIED  -- language code --
  344.   target      %FrameTarget;  #IMPLIED  -- render in this frame --
  345.   rel         %LinkTypes;    #IMPLIED  -- forward link types --
  346.   rev         %LinkTypes;    #IMPLIED  -- reverse link types --
  347.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  348.   shape       %Shape;        rect      -- for use with client-side image maps --
  349.   coords      %Coords;       #IMPLIED  -- for use with client-side image maps --
  350.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  351.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  352.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  353.   >
  354.  
  355. <!--================== Client-side image maps ============================-->
  356.  
  357. <!-- These can be placed in the same document or grouped in a
  358.      separate document although this isn't yet widely supported -->
  359.  
  360. <!ELEMENT MAP - - ((%block;)+ | AREA+) -- client-side image map -->
  361. <!ATTLIST MAP
  362.   %attrs;                              -- %coreattrs, %i18n, %events --
  363.   name        CDATA          #REQUIRED -- for reference by usemap --
  364.   >
  365.  
  366. <!ELEMENT AREA - O EMPTY               -- client-side image map area -->
  367. <!ATTLIST AREA
  368.   %attrs;                              -- %coreattrs, %i18n, %events --
  369.   shape       %Shape;        rect      -- controls interpretation of coords --
  370.   coords      %Coords;       #IMPLIED  -- comma separated list of lengths --
  371.   href        %URI;          #IMPLIED  -- URI for linked resource --
  372.   target      %FrameTarget;  #IMPLIED  -- render in this frame --
  373.   nohref      (nohref)       #IMPLIED  -- this region has no action --
  374.   alt         %Text;         #REQUIRED -- short description --
  375.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  376.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  377.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  378.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  379.   >
  380.  
  381. <!--================== The LINK Element ==================================-->
  382.  
  383. <!--
  384.   Relationship values can be used in principle:
  385.  
  386.    a) for document specific toolbars/menus when used
  387.       with the LINK element in document head e.g.
  388.         start, contents, previous, next, index, end, help
  389.    b) to link to a separate style sheet (rel=stylesheet)
  390.    c) to make a link to a script (rel=script)
  391.    d) by stylesheets to control how collections of
  392.       html nodes are rendered into printed documents
  393.    e) to make a link to a printable version of this document
  394.       e.g. a postscript or pdf version (rel=alternate media=print)
  395. -->
  396.  
  397. <!ELEMENT LINK - O EMPTY               -- a media-independent link -->
  398. <!ATTLIST LINK
  399.   %attrs;                              -- %coreattrs, %i18n, %events --
  400.   charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
  401.   href        %URI;          #IMPLIED  -- URI for linked resource --
  402.   hreflang    %LanguageCode; #IMPLIED  -- language code --
  403.   type        %ContentType;  #IMPLIED  -- advisory content type --
  404.   rel         %LinkTypes;    #IMPLIED  -- forward link types --
  405.   rev         %LinkTypes;    #IMPLIED  -- reverse link types --
  406.   media       %MediaDesc;    #IMPLIED  -- for rendering on these media --
  407.   target      %FrameTarget;  #IMPLIED  -- render in this frame --
  408.   >
  409.  
  410. <!--=================== Images ===========================================-->
  411.  
  412. <!-- Length defined in strict DTD for cellpadding/cellspacing -->
  413. <!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length -->
  414. <!ENTITY % MultiLength "CDATA" -- pixel, percentage, or relative -->
  415.  
  416. <!ENTITY % MultiLengths "CDATA" -- comma-separated list of MultiLength -->
  417.  
  418. <!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->
  419.  
  420. <!ENTITY % IAlign "(top|middle|bottom|left|right)" -- center? -->
  421.  
  422. <!-- To avoid problems with text-only UAs as well as
  423.    to make image content understandable and navigable
  424.    to users of non-visual UAs, you need to provide
  425.    a description with ALT, and avoid server-side image maps -->
  426. <!ELEMENT IMG - O EMPTY                -- Embedded image -->
  427. <!ATTLIST IMG
  428.   %attrs;                              -- %coreattrs, %i18n, %events --
  429.   src         %URI;          #REQUIRED -- URI of image to embed --
  430.   alt         %Text;         #REQUIRED -- short description --
  431.   longdesc    %URI;          #IMPLIED  -- link to long description
  432.                                           (complements alt) --
  433.   height      %Length;       #IMPLIED  -- override height --
  434.   width       %Length;       #IMPLIED  -- override width --
  435.   usemap      %URI;          #IMPLIED  -- use client-side image map --
  436.   ismap       (ismap)        #IMPLIED  -- use server-side image map --
  437.   align       %IAlign;       #IMPLIED  -- vertical or horizontal alignment --
  438.   border      %Length;       #IMPLIED  -- link border width --
  439.   hspace      %Pixels;       #IMPLIED  -- horizontal gutter --
  440.   vspace      %Pixels;       #IMPLIED  -- vertical gutter --
  441.   >
  442.  
  443. <!-- USEMAP points to a MAP element which may be in this document
  444.   or an external document, although the latter is not widely supported -->
  445.  
  446. <!--==================== OBJECT ======================================-->
  447. <!--
  448.   OBJECT is used to embed objects as part of HTML pages
  449.   PARAM elements should precede other content. SGML mixed content
  450.   model technicality precludes specifying this formally ...
  451. -->
  452.  
  453. <!ELEMENT OBJECT - - (PARAM | %flow;)*
  454.  -- generic embedded object -->
  455. <!ATTLIST OBJECT
  456.   %attrs;                              -- %coreattrs, %i18n, %events --
  457.   declare     (declare)      #IMPLIED  -- declare but don't instantiate flag --
  458.   classid     %URI;          #IMPLIED  -- identifies an implementation --
  459.   codebase    %URI;          #IMPLIED  -- base URI for classid, data, archive--
  460.   data        %URI;          #IMPLIED  -- reference to object's data --
  461.   type        %ContentType;  #IMPLIED  -- content type for data --
  462.   codetype    %ContentType;  #IMPLIED  -- content type for code --
  463.   archive     %URI;          #IMPLIED  -- space separated archive list --
  464.   standby     %Text;         #IMPLIED  -- message to show while loading --
  465.   height      %Length;       #IMPLIED  -- override height --
  466.   width       %Length;       #IMPLIED  -- override width --
  467.   usemap      %URI;          #IMPLIED  -- use client-side image map --
  468.   name        CDATA          #IMPLIED  -- submit as part of form --
  469.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  470.   align       %IAlign;       #IMPLIED  -- vertical or horizontal alignment --
  471.   border      %Length;       #IMPLIED  -- link border width --
  472.   hspace      %Pixels;       #IMPLIED  -- horizontal gutter --
  473.   vspace      %Pixels;       #IMPLIED  -- vertical gutter --
  474.   %reserved;                           -- reserved for possible future use --
  475.   >
  476.  
  477. <!ELEMENT PARAM - O EMPTY              -- named property value -->
  478. <!ATTLIST PARAM
  479.   id          ID             #IMPLIED  -- document-wide unique id --
  480.   name        CDATA          #REQUIRED -- property name --
  481.   value       CDATA          #IMPLIED  -- property value --
  482.   valuetype   (DATA|REF|OBJECT) DATA   -- How to interpret value --
  483.   type        %ContentType;  #IMPLIED  -- content type for value
  484.                                           when valuetype=ref --
  485.   >
  486.  
  487. <!--=================== Java APPLET ==================================-->
  488. <!--
  489.   One of code or object attributes must be present.
  490.   Place PARAM elements before other content.
  491. -->
  492. <!ELEMENT APPLET - - (PARAM | %flow;)* -- Java applet -->
  493. <!ATTLIST APPLET
  494.   %coreattrs;                          -- id, class, style, title --
  495.   codebase    %URI;          #IMPLIED  -- optional base URI for applet --
  496.   archive     CDATA          #IMPLIED  -- comma separated archive list --
  497.   code        CDATA          #IMPLIED  -- applet class file --
  498.   object      CDATA          #IMPLIED  -- serialized applet file --
  499.   alt         %Text;         #IMPLIED  -- short description --
  500.   name        CDATA          #IMPLIED  -- allows applets to find each other --
  501.   width       %Length;       #REQUIRED -- initial width --
  502.   height      %Length;       #REQUIRED -- initial height --
  503.   align       %IAlign;       #IMPLIED  -- vertical or horizontal alignment --
  504.   hspace      %Pixels;       #IMPLIED  -- horizontal gutter --
  505.   vspace      %Pixels;       #IMPLIED  -- vertical gutter --
  506.   >
  507.  
  508. <!--=================== Horizontal Rule ==================================-->
  509.  
  510. <!ELEMENT HR - O EMPTY -- horizontal rule -->
  511. <!ATTLIST HR
  512.   %coreattrs;                          -- id, class, style, title --
  513.   %events;
  514.   align       (left|center|right) #IMPLIED
  515.   noshade     (noshade)      #IMPLIED
  516.   size        %Pixels;       #IMPLIED
  517.   width       %Length;       #IMPLIED
  518.   >
  519.  
  520. <!--=================== Paragraphs =======================================-->
  521.  
  522. <!ELEMENT P - O (%inline;)*            -- paragraph -->
  523. <!ATTLIST P
  524.   %attrs;                              -- %coreattrs, %i18n, %events --
  525.   %align;                              -- align, text alignment --
  526.   >
  527.  
  528. <!--=================== Headings =========================================-->
  529.  
  530. <!--
  531.   There are six levels of headings from H1 (the most important)
  532.   to H6 (the least important).
  533. -->
  534.  
  535. <!ELEMENT (%heading;)  - - (%inline;)* -- heading -->
  536. <!ATTLIST (%heading;)
  537.   %attrs;                              -- %coreattrs, %i18n, %events --
  538.   %align;                              -- align, text alignment --
  539.   >
  540.  
  541. <!--=================== Preformatted Text ================================-->
  542.  
  543. <!-- excludes markup for images and changes in font size -->
  544. <!ENTITY % pre.exclusion "IMG|OBJECT|APPLET|BIG|SMALL|SUB|SUP|FONT|BASEFONT">
  545.  
  546. <!ELEMENT PRE - - (%inline;)* -(%pre.exclusion;) -- preformatted text -->
  547. <!ATTLIST PRE
  548.   %attrs;                              -- %coreattrs, %i18n, %events --
  549.   width       NUMBER         #IMPLIED
  550.   >
  551.  
  552. <!--===================== Inline Quotes ==================================-->
  553.  
  554. <!ELEMENT Q - - (%inline;)*            -- short inline quotation -->
  555. <!ATTLIST Q
  556.   %attrs;                              -- %coreattrs, %i18n, %events --
  557.   cite        %URI;          #IMPLIED  -- URI for source document or msg --
  558.   >
  559.  
  560. <!--=================== Block-like Quotes ================================-->
  561.  
  562. <!ELEMENT BLOCKQUOTE - - (%flow;)*     -- long quotation -->
  563. <!ATTLIST BLOCKQUOTE
  564.   %attrs;                              -- %coreattrs, %i18n, %events --
  565.   cite        %URI;          #IMPLIED  -- URI for source document or msg --
  566.   >
  567.  
  568. <!--=================== Inserted/Deleted Text ============================-->
  569.  
  570.  
  571. <!-- INS/DEL are handled by inclusion on BODY -->
  572. <!ELEMENT (INS|DEL) - - (%flow;)*      -- inserted text, deleted text -->
  573. <!ATTLIST (INS|DEL)
  574.   %attrs;                              -- %coreattrs, %i18n, %events --
  575.   cite        %URI;          #IMPLIED  -- info on reason for change --
  576.   datetime    %Datetime;     #IMPLIED  -- date and time of change --
  577.   >
  578.  
  579. <!--=================== Lists ============================================-->
  580.  
  581. <!-- definition lists - DT for term, DD for its definition -->
  582.  
  583. <!ELEMENT DL - - (DT|DD)+              -- definition list -->
  584. <!ATTLIST DL
  585.   %attrs;                              -- %coreattrs, %i18n, %events --
  586.   compact     (compact)      #IMPLIED  -- reduced interitem spacing --
  587.   >
  588.  
  589. <!ELEMENT DT - O (%inline;)*           -- definition term -->
  590. <!ELEMENT DD - O (%flow;)*             -- definition description -->
  591. <!ATTLIST (DT|DD)
  592.   %attrs;                              -- %coreattrs, %i18n, %events --
  593.   >
  594.  
  595. <!-- Ordered lists (OL) Numbering style
  596.  
  597.     1   arablic numbers     1, 2, 3, ...
  598.     a   lower alpha         a, b, c, ...
  599.     A   upper alpha         A, B, C, ...
  600.     i   lower roman         i, ii, iii, ...
  601.     I   upper roman         I, II, III, ...
  602.  
  603.     The style is applied to the sequence number which by default
  604.     is reset to 1 for the first list item in an ordered list.
  605.  
  606.     This can't be expressed directly in SGML due to case folding.
  607. -->
  608.  
  609. <!ENTITY % OLStyle "CDATA"      -- constrained to: "(1|a|A|i|I)" -->
  610.  
  611. <!ELEMENT OL - - (LI)+                 -- ordered list -->
  612. <!ATTLIST OL
  613.   %attrs;                              -- %coreattrs, %i18n, %events --
  614.   type        %OLStyle;      #IMPLIED  -- numbering style --
  615.   compact     (compact)      #IMPLIED  -- reduced interitem spacing --
  616.   start       NUMBER         #IMPLIED  -- starting sequence number --
  617.   >
  618.  
  619. <!-- Unordered Lists (UL) bullet styles -->
  620. <!ENTITY % ULStyle "(disc|square|circle)">
  621.  
  622. <!ELEMENT UL - - (LI)+                 -- unordered list -->
  623. <!ATTLIST UL
  624.   %attrs;                              -- %coreattrs, %i18n, %events --
  625.   type        %ULStyle;      #IMPLIED  -- bullet style --
  626.   compact     (compact)      #IMPLIED  -- reduced interitem spacing --
  627.   >
  628.  
  629. <!ELEMENT (DIR|MENU) - - (LI)+ -(%block;) -- directory list, menu list -->
  630. <!ATTLIST DIR
  631.   %attrs;                              -- %coreattrs, %i18n, %events --
  632.   compact     (compact)      #IMPLIED
  633.   >
  634. <!ATTLIST MENU
  635.   %attrs;                              -- %coreattrs, %i18n, %events --
  636.   compact     (compact)      #IMPLIED
  637.   >
  638.  
  639. <!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle;|%OLStyle;)" -->
  640.  
  641. <!ELEMENT LI - O (%flow;)*             -- list item -->
  642. <!ATTLIST LI
  643.   %attrs;                              -- %coreattrs, %i18n, %events --
  644.   type        %LIStyle;      #IMPLIED  -- list item style --
  645.   value       NUMBER         #IMPLIED  -- reset sequence number --
  646.   >
  647.  
  648. <!--================ Forms ===============================================-->
  649. <!ELEMENT FORM - - (%flow;)* -(FORM)   -- interactive form -->
  650. <!ATTLIST FORM
  651.   %attrs;                              -- %coreattrs, %i18n, %events --
  652.   action      %URI;          #REQUIRED -- server-side form handler --
  653.   method      (GET|POST)     GET       -- HTTP method used to submit the form--
  654.   enctype     %ContentType;  "application/x-www-form-urlencoded"
  655.   onsubmit    %Script;       #IMPLIED  -- the form was submitted --
  656.   onreset     %Script;       #IMPLIED  -- the form was reset --
  657.   target      %FrameTarget;  #IMPLIED  -- render in this frame --
  658.   accept-charset %Charsets;  #IMPLIED  -- list of supported charsets --
  659.   >
  660.  
  661. <!-- Each label must not contain more than ONE field -->
  662. <!ELEMENT LABEL - - (%inline;)* -(LABEL) -- form field label text -->
  663. <!ATTLIST LABEL
  664.   %attrs;                              -- %coreattrs, %i18n, %events --
  665.   for         IDREF          #IMPLIED  -- matches field ID value --
  666.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  667.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  668.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  669.   >
  670.  
  671. <!ENTITY % InputType
  672.   "(TEXT | PASSWORD | CHECKBOX |
  673.     RADIO | SUBMIT | RESET |
  674.     FILE | HIDDEN | IMAGE | BUTTON)"
  675.    >
  676.  
  677. <!-- attribute name required for all but submit & reset -->
  678. <!ELEMENT INPUT - O EMPTY              -- form control -->
  679. <!ATTLIST INPUT
  680.   %attrs;                              -- %coreattrs, %i18n, %events --
  681.   type        %InputType;    TEXT      -- what kind of widget is needed --
  682.   name        CDATA          #IMPLIED  -- submit as part of form --
  683.   value       CDATA          #IMPLIED  -- required for radio and checkboxes --
  684.   checked     (checked)      #IMPLIED  -- for radio buttons and check boxes --
  685.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  686.   readonly    (readonly)     #IMPLIED  -- for text and passwd --
  687.   size        CDATA          #IMPLIED  -- specific to each type of field --
  688.   maxlength   NUMBER         #IMPLIED  -- max chars for text fields --
  689.   src         %URI;          #IMPLIED  -- for fields with images --
  690.   alt         CDATA          #IMPLIED  -- short description --
  691.   usemap      %URI;          #IMPLIED  -- use client-side image map --
  692.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  693.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  694.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  695.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  696.   onselect    %Script;       #IMPLIED  -- some text was selected --
  697.   onchange    %Script;       #IMPLIED  -- the element value was changed --
  698.   accept      %ContentTypes; #IMPLIED  -- list of MIME types for file upload --
  699.   align       %IAlign;       #IMPLIED  -- vertical or horizontal alignment --
  700.   %reserved;                           -- reserved for possible future use --
  701.   >
  702.  
  703. <!ELEMENT SELECT - - (OPTGROUP|OPTION)+ -- option selector -->
  704. <!ATTLIST SELECT
  705.   %attrs;                              -- %coreattrs, %i18n, %events --
  706.   name        CDATA          #IMPLIED  -- field name --
  707.   size        NUMBER         #IMPLIED  -- rows visible --
  708.   multiple    (multiple)     #IMPLIED  -- default is single selection --
  709.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  710.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  711.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  712.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  713.   onchange    %Script;       #IMPLIED  -- the element value was changed --
  714.   %reserved;                           -- reserved for possible future use --
  715.   >
  716.  
  717. <!ELEMENT OPTGROUP - - (OPTION)+ -- option group -->
  718. <!ATTLIST OPTGROUP
  719.   %attrs;                              -- %coreattrs, %i18n, %events --
  720.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  721.   label       %Text;         #REQUIRED -- for use in hierarchical menus --
  722.   >
  723.  
  724. <!ELEMENT OPTION - O (#PCDATA)         -- selectable choice -->
  725. <!ATTLIST OPTION
  726.   %attrs;                              -- %coreattrs, %i18n, %events --
  727.   selected    (selected)     #IMPLIED
  728.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  729.   label       %Text;         #IMPLIED  -- for use in hierarchical menus --
  730.   value       CDATA          #IMPLIED  -- defaults to element content --
  731.   >
  732.  
  733. <!ELEMENT TEXTAREA - - (#PCDATA)       -- multi-line text field -->
  734. <!ATTLIST TEXTAREA
  735.   %attrs;                              -- %coreattrs, %i18n, %events --
  736.   name        CDATA          #IMPLIED
  737.   rows        NUMBER         #REQUIRED
  738.   cols        NUMBER         #REQUIRED
  739.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  740.   readonly    (readonly)     #IMPLIED
  741.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  742.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  743.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  744.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  745.   onselect    %Script;       #IMPLIED  -- some text was selected --
  746.   onchange    %Script;       #IMPLIED  -- the element value was changed --
  747.   %reserved;                           -- reserved for possible future use --
  748.   >
  749.  
  750. <!--
  751.   #PCDATA is to solve the mixed content problem,
  752.   per specification only whitespace is allowed there!
  753.  -->
  754. <!ELEMENT FIELDSET - - (#PCDATA,LEGEND,(%flow;)*) -- form control group -->
  755. <!ATTLIST FIELDSET
  756.   %attrs;                              -- %coreattrs, %i18n, %events --
  757.   >
  758.  
  759. <!ELEMENT LEGEND - - (%inline;)*       -- fieldset legend -->
  760. <!ENTITY % LAlign "(top|bottom|left|right)">
  761.  
  762. <!ATTLIST LEGEND
  763.   %attrs;                              -- %coreattrs, %i18n, %events --
  764.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  765.   align       %LAlign;       #IMPLIED  -- relative to fieldset --
  766.   >
  767.  
  768. <!ELEMENT BUTTON - -
  769.      (%flow;)* -(A|%formctrl;|FORM|ISINDEX|FIELDSET|IFRAME)
  770.      -- push button -->
  771. <!ATTLIST BUTTON
  772.   %attrs;                              -- %coreattrs, %i18n, %events --
  773.   name        CDATA          #IMPLIED
  774.   value       CDATA          #IMPLIED  -- sent to server when submitted --
  775.   type        (button|submit|reset) submit -- for use as form button --
  776.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  777.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  778.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  779.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  780.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  781.   %reserved;                           -- reserved for possible future use --
  782.   >
  783.  
  784. <!--======================= Tables =======================================-->
  785.  
  786. <!-- IETF HTML table standard, see [RFC1942] -->
  787.  
  788. <!--
  789.  The BORDER attribute sets the thickness of the frame around the
  790.  table. The default units are screen pixels.
  791.  
  792.  The FRAME attribute specifies which parts of the frame around
  793.  the table should be rendered. The values are not the same as
  794.  CALS to avoid a name clash with the VALIGN attribute.
  795.  
  796.  The value "border" is included for backwards compatibility with
  797.  <TABLE BORDER> which yields frame=border and border=implied
  798.  For <TABLE BORDER=1> you get border=1 and frame=implied. In this
  799.  case, it is appropriate to treat this as frame=border for backwards
  800.  compatibility with deployed browsers.
  801. -->
  802. <!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
  803.  
  804. <!--
  805.  The RULES attribute defines which rules to draw between cells:
  806.  
  807.  If RULES is absent then assume:
  808.      "none" if BORDER is absent or BORDER=0 otherwise "all"
  809. -->
  810.  
  811. <!ENTITY % TRules "(none | groups | rows | cols | all)">
  812.  
  813. <!-- horizontal placement of table relative to document -->
  814. <!ENTITY % TAlign "(left|center|right)">
  815.  
  816. <!-- horizontal alignment attributes for cell contents -->
  817. <!ENTITY % cellhalign
  818.   "align      (left|center|right|justify|char) #IMPLIED
  819.    char       %Character;    #IMPLIED  -- alignment char, e.g. char=':' --
  820.    charoff    %Length;       #IMPLIED  -- offset for alignment char --"
  821.   >
  822.  
  823. <!-- vertical alignment attributes for cell contents -->
  824. <!ENTITY % cellvalign
  825.   "valign     (top|middle|bottom|baseline) #IMPLIED"
  826.   >
  827.  
  828. <!ELEMENT TABLE - -
  829.      (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)>
  830. <!ELEMENT CAPTION  - - (%inline;)*     -- table caption -->
  831. <!ELEMENT THEAD    - O (TR)+           -- table header -->
  832. <!ELEMENT TFOOT    - O (TR)+           -- table footer -->
  833. <!ELEMENT TBODY    O O (TR)+           -- table body -->
  834. <!ELEMENT COLGROUP - O (col)*          -- table column group -->
  835. <!ELEMENT COL      - O EMPTY           -- table column -->
  836. <!ELEMENT TR       - O (TH|TD)+        -- table row -->
  837. <!ELEMENT (TH|TD)  - O (%flow;)*       -- table header cell, table data cell-->
  838.  
  839. <!ATTLIST TABLE                        -- table element --
  840.   %attrs;                              -- %coreattrs, %i18n, %events --
  841.   summary     %Text;         #IMPLIED  -- purpose/structure for speech output--
  842.   width       %Length;       #IMPLIED  -- table width --
  843.   border      %Pixels;       #IMPLIED  -- controls frame width around table --
  844.   frame       %TFrame;       #IMPLIED  -- which parts of frame to render --
  845.   rules       %TRules;       #IMPLIED  -- rulings between rows and cols --
  846.   cellspacing %Length;       #IMPLIED  -- spacing between cells --
  847.   cellpadding %Length;       #IMPLIED  -- spacing within cells --
  848.   align       %TAlign;       #IMPLIED  -- table position relative to window --
  849.   bgcolor     %Color;        #IMPLIED  -- background color for cells --
  850.   %reserved;                           -- reserved for possible future use --
  851.   datapagesize CDATA         #IMPLIED  -- reserved for possible future use --
  852.   >
  853.  
  854. <!ENTITY % CAlign "(top|bottom|left|right)">
  855.  
  856. <!ATTLIST CAPTION
  857.   %attrs;                              -- %coreattrs, %i18n, %events --
  858.   align       %CAlign;       #IMPLIED  -- relative to table --
  859.   >
  860.  
  861. <!--
  862. COLGROUP groups a set of COL elements. It allows you to group
  863. several semantically related columns together.
  864. -->
  865. <!ATTLIST COLGROUP
  866.   %attrs;                              -- %coreattrs, %i18n, %events --
  867.   span        NUMBER         1         -- default number of columns in group --
  868.   width       %MultiLength;  #IMPLIED  -- default width for enclosed COLs --
  869.   %cellhalign;                         -- horizontal alignment in cells --
  870.   %cellvalign;                         -- vertical alignment in cells --
  871.   >
  872.  
  873. <!--
  874.  COL elements define the alignment properties for cells in
  875.  one or more columns.
  876.  
  877.  The WIDTH attribute specifies the width of the columns, e.g.
  878.  
  879.      width=64        width in screen pixels
  880.      width=0.5*      relative width of 0.5
  881.  
  882.  The SPAN attribute causes the attributes of one
  883.  COL element to apply to more than one column.
  884. -->
  885. <!ATTLIST COL                          -- column groups and properties --
  886.   %attrs;                              -- %coreattrs, %i18n, %events --
  887.   span        NUMBER         1         -- COL attributes affect N columns --
  888.   width       %MultiLength;  #IMPLIED  -- column width specification --
  889.   %cellhalign;                         -- horizontal alignment in cells --
  890.   %cellvalign;                         -- vertical alignment in cells --
  891.   >
  892.  
  893. <!--
  894.     Use THEAD to duplicate headers when breaking table
  895.     across page boundaries, or for static headers when
  896.     TBODY sections are rendered in scrolling panel.
  897.  
  898.     Use TFOOT to duplicate footers when breaking table
  899.     across page boundaries, or for static footers when
  900.     TBODY sections are rendered in scrolling panel.
  901.  
  902.     Use multiple TBODY sections when rules are needed
  903.     between groups of table rows.
  904. -->
  905. <!ATTLIST (THEAD|TBODY|TFOOT)          -- table section --
  906.   %attrs;                              -- %coreattrs, %i18n, %events --
  907.   %cellhalign;                         -- horizontal alignment in cells --
  908.   %cellvalign;                         -- vertical alignment in cells --
  909.   >
  910.  
  911. <!ATTLIST TR                           -- table row --
  912.   %attrs;                              -- %coreattrs, %i18n, %events --
  913.   %cellhalign;                         -- horizontal alignment in cells --
  914.   %cellvalign;                         -- vertical alignment in cells --
  915.   bgcolor     %Color;        #IMPLIED  -- background color for row --
  916.   >
  917.  
  918.  
  919. <!-- Scope is simpler than axes attribute for common tables -->
  920. <!ENTITY % Scope "(row|col|rowgroup|colgroup)">
  921.  
  922. <!-- TH is for headers, TD for data, but for cells acting as both use TD -->
  923. <!ATTLIST (TH|TD)                      -- header or data cell --
  924.   %attrs;                              -- %coreattrs, %i18n, %events --
  925.   abbr        %Text;         #IMPLIED  -- abbreviation for header cell --
  926.   axis        CDATA          #IMPLIED  -- names groups of related headers--
  927.   headers     IDREFS         #IMPLIED  -- list of id's for header cells --
  928.   scope       %Scope;        #IMPLIED  -- scope covered by header cells --
  929.   rowspan     NUMBER         1         -- number of rows spanned by cell --
  930.   colspan     NUMBER         1         -- number of cols spanned by cell --
  931.   %cellhalign;                         -- horizontal alignment in cells --
  932.   %cellvalign;                         -- vertical alignment in cells --
  933.   nowrap      (nowrap)       #IMPLIED  -- suppress word wrap --
  934.   bgcolor     %Color;        #IMPLIED  -- cell background color --
  935.   width       %Pixels;       #IMPLIED  -- width for cell --
  936.   height      %Pixels;       #IMPLIED  -- height for cell --
  937.   >
  938.  
  939. <!--================== Document Frames ===================================-->
  940.  
  941. <!--
  942.   The content model for HTML documents depends on whether the HEAD is
  943.   followed by a FRAMESET or BODY element. The widespread omission of
  944.   the BODY start tag makes it impractical to define the content model
  945.   without the use of a marked section.
  946. -->
  947.  
  948. <!-- Feature Switch for frameset documents -->
  949. <!ENTITY % HTML.Frameset "IGNORE">
  950.  
  951. <![ %HTML.Frameset; [
  952. <!ELEMENT FRAMESET - - ((FRAMESET|FRAME)+ & NOFRAMES?) -- window subdivision-->
  953. <!ATTLIST FRAMESET
  954.   %coreattrs;                          -- id, class, style, title --
  955.   rows        %MultiLengths; #IMPLIED  -- list of lengths,
  956.                                           default: 100% (1 row) --
  957.   cols        %MultiLengths; #IMPLIED  -- list of lengths,
  958.                                           default: 100% (1 col) --
  959.   onload      %Script;       #IMPLIED  -- all the frames have been loaded  --
  960.   onunload    %Script;       #IMPLIED  -- all the frames have been removed --
  961.   >
  962. ]]>
  963.  
  964. <![ %HTML.Frameset; [
  965. <!-- reserved frame names start with "_" otherwise starts with letter -->
  966. <!ELEMENT FRAME - O EMPTY              -- subwindow -->
  967. <!ATTLIST FRAME
  968.   %coreattrs;                          -- id, class, style, title --
  969.   longdesc    %URI;          #IMPLIED  -- link to long description
  970.                                           (complements title) --
  971.   name        CDATA          #IMPLIED  -- name of frame for targetting --
  972.   src         %URI;          #IMPLIED  -- source of frame content --
  973.   frameborder (1|0)          1         -- request frame borders? --
  974.   marginwidth %Pixels;       #IMPLIED  -- margin widths in pixels --
  975.   marginheight %Pixels;      #IMPLIED  -- margin height in pixels --
  976.   noresize    (noresize)     #IMPLIED  -- allow users to resize frames? --
  977.   scrolling   (yes|no|auto)  auto      -- scrollbar or none --
  978.   >
  979. ]]>
  980.  
  981. <!ELEMENT IFRAME - - (%flow;)*         -- inline subwindow -->
  982. <!ATTLIST IFRAME
  983.   %coreattrs;                          -- id, class, style, title --
  984.   longdesc    %URI;          #IMPLIED  -- link to long description
  985.                                           (complements title) --
  986.   name        CDATA          #IMPLIED  -- name of frame for targetting --
  987.   src         %URI;          #IMPLIED  -- source of frame content --
  988.   frameborder (1|0)          1         -- request frame borders? --
  989.   marginwidth %Pixels;       #IMPLIED  -- margin widths in pixels --
  990.   marginheight %Pixels;      #IMPLIED  -- margin height in pixels --
  991.   scrolling   (yes|no|auto)  auto      -- scrollbar or none --
  992.   align       %IAlign;       #IMPLIED  -- vertical or horizontal alignment --
  993.   height      %Length;       #IMPLIED  -- frame height --
  994.   width       %Length;       #IMPLIED  -- frame width --
  995.   >
  996.  
  997. <![ %HTML.Frameset; [
  998. <!ENTITY % noframes.content "(BODY) -(NOFRAMES)">
  999. ]]>
  1000.  
  1001. <!ENTITY % noframes.content "(%flow;)*">
  1002.  
  1003. <!ELEMENT NOFRAMES - - %noframes.content;
  1004.  -- alternate content container for non frame-based rendering -->
  1005. <!ATTLIST NOFRAMES
  1006.   %attrs;                              -- %coreattrs, %i18n, %events --
  1007.   >
  1008.  
  1009. <!--================ Document Head =======================================-->
  1010. <!-- %head.misc; defined earlier on as "SCRIPT|STYLE|META|LINK|OBJECT" -->
  1011. <!ENTITY % head.content "TITLE & ISINDEX? & BASE?">
  1012.  
  1013. <!ELEMENT HEAD O O (%head.content;) +(%head.misc;) -- document head -->
  1014. <!ATTLIST HEAD
  1015.   %i18n;                               -- lang, dir --
  1016.   profile     %URI;          #IMPLIED  -- named dictionary of meta info --
  1017.   >
  1018.  
  1019. <!-- The TITLE element is not considered part of the flow of text.
  1020.        It should be displayed, for example as the page header or
  1021.        window title. Exactly one title is required per document.
  1022.     -->
  1023. <!ELEMENT TITLE - - (#PCDATA) -(%head.misc;) -- document title -->
  1024. <!ATTLIST TITLE %i18n>
  1025.  
  1026. <!ELEMENT ISINDEX - O EMPTY            -- single line prompt -->
  1027. <!ATTLIST ISINDEX
  1028.   %coreattrs;                          -- id, class, style, title --
  1029.   %i18n;                               -- lang, dir --
  1030.   prompt      %Text;         #IMPLIED  -- prompt message -->
  1031.  
  1032. <!ELEMENT BASE - O EMPTY               -- document base URI -->
  1033. <!ATTLIST BASE
  1034.   href        %URI;          #IMPLIED  -- URI that acts as base URI --
  1035.   target      %FrameTarget;  #IMPLIED  -- render in this frame --
  1036.   >
  1037.  
  1038. <!ELEMENT META - O EMPTY               -- generic metainformation -->
  1039. <!ATTLIST META
  1040.   %i18n;                               -- lang, dir, for use with content --
  1041.   http-equiv  NAME           #IMPLIED  -- HTTP response header name  --
  1042.   name        NAME           #IMPLIED  -- metainformation name --
  1043.   content     CDATA          #REQUIRED -- associated information --
  1044.   scheme      CDATA          #IMPLIED  -- select form of content --
  1045.   >
  1046.  
  1047. <!ELEMENT STYLE - - %StyleSheet        -- style info -->
  1048. <!ATTLIST STYLE
  1049.   %i18n;                               -- lang, dir, for use with title --
  1050.   type        %ContentType;  #REQUIRED -- content type of style language --
  1051.   media       %MediaDesc;    #IMPLIED  -- designed for use with these media --
  1052.   title       %Text;         #IMPLIED  -- advisory title --
  1053.   >
  1054.  
  1055. <!ELEMENT SCRIPT - - %Script;          -- script statements -->
  1056. <!ATTLIST SCRIPT
  1057.   charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
  1058.   type        %ContentType;  #REQUIRED -- content type of script language --
  1059.   language    CDATA          #IMPLIED  -- predefined script language name --
  1060.   src         %URI;          #IMPLIED  -- URI for an external script --
  1061.   defer       (defer)        #IMPLIED  -- UA may defer execution of script --
  1062.   event       CDATA          #IMPLIED  -- reserved for possible future use --
  1063.   for         %URI;          #IMPLIED  -- reserved for possible future use --
  1064.   >
  1065.  
  1066. <!ELEMENT NOSCRIPT - - (%flow;)*
  1067.   -- alternate content container for non script-based rendering -->
  1068. <!ATTLIST NOSCRIPT
  1069.   %attrs;                              -- %coreattrs, %i18n, %events --
  1070.   >
  1071.  
  1072. <!--================ Document Structure ==================================-->
  1073. <!ENTITY % version "version CDATA #FIXED '%HTML.Version;'">
  1074.  
  1075. <![ %HTML.Frameset; [
  1076. <!ENTITY % html.content "HEAD, FRAMESET">
  1077. ]]>
  1078.  
  1079. <!ENTITY % html.content "HEAD, BODY">
  1080.  
  1081. <!ELEMENT HTML O O (%html.content;)    -- document root element -->
  1082. <!ATTLIST HTML
  1083.   %i18n;                               -- lang, dir --
  1084.   %version;
  1085.   >
  1086.