strict.dtd
上传用户:jingke1993
上传日期:2022-06-08
资源大小:140k
文件大小:35k
源码类别:

xml/soap/webservice

开发平台:

Visual C++

  1. <!--
  2.     This is HTML 4.01 Strict DTD, which excludes the presentation 
  3.     attributes and elements that W3C expects to phase out as 
  4.     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 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.           Draft: $Date: 1999/12/24 23:37:48 $
  13.           Authors:
  14.               Dave Raggett <dsr@w3.org>
  15.               Arnaud Le Hors <lehors@w3.org>
  16.               Ian Jacobs <ij@w3.org>
  17.     Further information about HTML 4.01 is available at:
  18.         http://www.w3.org/TR/1999/REC-html401-19991224
  19.     The HTML 4.01 specification includes additional
  20.     syntactic constraints that cannot be expressed within
  21.     the DTDs.
  22. -->
  23. <!--
  24.     Typical usage:
  25.     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  26.             "http://www.w3.org/TR/html4/strict.dtd">
  27.     <html>
  28.     <head>
  29.     ...
  30.     </head>
  31.     <body>
  32.     ...
  33.     </body>
  34.     </html>
  35.     The URI used as a system identifier with the public identifier allows
  36.     the user agent to download the DTD and entity sets as needed.
  37.     The FPI for the Transitional HTML 4.01 DTD is:
  38.         "-//W3C//DTD HTML 4.01 Transitional//EN"
  39.     This version of the transitional DTD is:
  40.         http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd
  41.     If you are writing a document that includes frames, use 
  42.     the following FPI:
  43.         "-//W3C//DTD HTML 4.01 Frameset//EN"
  44.     This version of the frameset DTD is:
  45.         http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd
  46.     Use the following (relative) URIs to refer to 
  47.     the DTDs and entity definitions of this specification:
  48.     "strict.dtd"
  49.     "loose.dtd"
  50.     "frameset.dtd"
  51.     "HTMLlat1.ent"
  52.     "HTMLsymbol.ent"
  53.     "HTMLspecial.ent"
  54. -->
  55. <!--================== Imported Names ====================================-->
  56. <!-- Feature Switch for frameset documents -->
  57. <!ENTITY % HTML.Frameset "IGNORE">
  58. <!ENTITY % ContentType "CDATA"
  59.     -- media type, as per [RFC2045]
  60.     -->
  61. <!ENTITY % ContentTypes "CDATA"
  62.     -- comma-separated list of media types, as per [RFC2045]
  63.     -->
  64. <!ENTITY % Charset "CDATA"
  65.     -- a character encoding, as per [RFC2045]
  66.     -->
  67. <!ENTITY % Charsets "CDATA"
  68.     -- a space-separated list of character encodings, as per [RFC2045]
  69.     -->
  70. <!ENTITY % LanguageCode "NAME"
  71.     -- a language code, as per [RFC1766]
  72.     -->
  73. <!ENTITY % Character "CDATA"
  74.     -- a single character from [ISO10646] 
  75.     -->
  76. <!ENTITY % LinkTypes "CDATA"
  77.     -- space-separated list of link types
  78.     -->
  79. <!ENTITY % MediaDesc "CDATA"
  80.     -- single or comma-separated list of media descriptors
  81.     -->
  82. <!ENTITY % URI "CDATA"
  83.     -- a Uniform Resource Identifier,
  84.        see [URI]
  85.     -->
  86. <!ENTITY % Datetime "CDATA" -- date and time information. ISO date format -->
  87. <!ENTITY % Script "CDATA" -- script expression -->
  88. <!ENTITY % StyleSheet "CDATA" -- style sheet data -->
  89. <!ENTITY % Text "CDATA">
  90. <!-- Parameter Entities -->
  91. <!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|OBJECT" -- repeatable head elements -->
  92. <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
  93. <!ENTITY % list "UL | OL">
  94. <!ENTITY % preformatted "PRE">
  95. <!--================ Character mnemonic entities =========================-->
  96. <!ENTITY % HTMLlat1 PUBLIC
  97.    "-//W3C//ENTITIES Latin1//EN//HTML"
  98.    "HTMLlat1.ent">
  99. %HTMLlat1;
  100. <!ENTITY % HTMLsymbol PUBLIC
  101.    "-//W3C//ENTITIES Symbols//EN//HTML"
  102.    "HTMLsymbol.ent">
  103. %HTMLsymbol;
  104. <!ENTITY % HTMLspecial PUBLIC
  105.    "-//W3C//ENTITIES Special//EN//HTML"
  106.    "HTMLspecial.ent">
  107. %HTMLspecial;
  108. <!--=================== Generic Attributes ===============================-->
  109. <!ENTITY % coreattrs
  110.  "id          ID             #IMPLIED  -- document-wide unique id --
  111.   class       CDATA          #IMPLIED  -- space-separated list of classes --
  112.   style       %StyleSheet;   #IMPLIED  -- associated style info --
  113.   title       %Text;         #IMPLIED  -- advisory title --"
  114.   >
  115. <!ENTITY % i18n
  116.  "lang        %LanguageCode; #IMPLIED  -- language code --
  117.   dir         (ltr|rtl)      #IMPLIED  -- direction for weak/neutral text --"
  118.   >
  119. <!ENTITY % events
  120.  "onclick     %Script;       #IMPLIED  -- a pointer button was clicked --
  121.   ondblclick  %Script;       #IMPLIED  -- a pointer button was double clicked--
  122.   onmousedown %Script;       #IMPLIED  -- a pointer button was pressed down --
  123.   onmouseup   %Script;       #IMPLIED  -- a pointer button was released --
  124.   onmouseover %Script;       #IMPLIED  -- a pointer was moved onto --
  125.   onmousemove %Script;       #IMPLIED  -- a pointer was moved within --
  126.   onmouseout  %Script;       #IMPLIED  -- a pointer was moved away --
  127.   onkeypress  %Script;       #IMPLIED  -- a key was pressed and released --
  128.   onkeydown   %Script;       #IMPLIED  -- a key was pressed down --
  129.   onkeyup     %Script;       #IMPLIED  -- a key was released --"
  130.   >
  131. <!-- Reserved Feature Switch -->
  132. <!ENTITY % HTML.Reserved "IGNORE">
  133. <!-- The following attributes are reserved for possible future use -->
  134. <![ %HTML.Reserved; [
  135. <!ENTITY % reserved
  136.  "datasrc     %URI;          #IMPLIED  -- a single or tabular Data Source --
  137.   datafld     CDATA          #IMPLIED  -- the property or column name --
  138.   dataformatas (plaintext|html) plaintext -- text or html --"
  139.   >
  140. ]]>
  141. <!ENTITY % reserved "">
  142. <!ENTITY % attrs "%coreattrs; %i18n; %events;">
  143. <!--=================== Text Markup ======================================-->
  144. <!ENTITY % fontstyle
  145.  "TT | I | B | BIG | SMALL">
  146. <!ENTITY % phrase "EM | STRONG | DFN | CODE |
  147.                    SAMP | KBD | VAR | CITE | ABBR | ACRONYM" >
  148. <!ENTITY % special
  149.    "A | IMG | OBJECT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO">
  150. <!ENTITY % formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON">
  151. <!-- %inline; covers inline or "text-level" elements -->
  152. <!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;">
  153. <!ELEMENT (%fontstyle;|%phrase;) - - (%inline;)*>
  154. <!ATTLIST (%fontstyle;|%phrase;)
  155.   %attrs;                              -- %coreattrs, %i18n, %events --
  156.   >
  157. <!ELEMENT (SUB|SUP) - - (%inline;)*    -- subscript, superscript -->
  158. <!ATTLIST (SUB|SUP)
  159.   %attrs;                              -- %coreattrs, %i18n, %events --
  160.   >
  161. <!ELEMENT SPAN - - (%inline;)*         -- generic language/style container -->
  162. <!ATTLIST SPAN
  163.   %attrs;                              -- %coreattrs, %i18n, %events --
  164.   %reserved;        -- reserved for possible future use --
  165.   >
  166. <!ELEMENT BDO - - (%inline;)*          -- I18N BiDi over-ride -->
  167. <!ATTLIST BDO
  168.   %coreattrs;                          -- id, class, style, title --
  169.   lang        %LanguageCode; #IMPLIED  -- language code --
  170.   dir         (ltr|rtl)      #REQUIRED -- directionality --
  171.   >
  172. <!ELEMENT BR - O EMPTY                 -- forced line break -->
  173. <!ATTLIST BR
  174.   %coreattrs;                          -- id, class, style, title --
  175.   >
  176. <!--================== HTML content models ===============================-->
  177. <!--
  178.     HTML has two basic content models:
  179.         %inline;     character level elements and text strings
  180.         %block;      block-like elements e.g. paragraphs and lists
  181. -->
  182. <!ENTITY % block
  183.      "P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT |
  184.       BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">
  185. <!ENTITY % flow "%block; | %inline;">
  186. <!--=================== Document Body ====================================-->
  187. <!ELEMENT BODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body -->
  188. <!ATTLIST BODY
  189.   %attrs;                              -- %coreattrs, %i18n, %events --
  190.   onload          %Script;   #IMPLIED  -- the document has been loaded --
  191.   onunload        %Script;   #IMPLIED  -- the document has been removed --
  192.   >
  193. <!ELEMENT ADDRESS - - (%inline;)* -- information on author -->
  194. <!ATTLIST ADDRESS
  195.   %attrs;                              -- %coreattrs, %i18n, %events --
  196.   >
  197. <!ELEMENT DIV - - (%flow;)*            -- generic language/style container -->
  198. <!ATTLIST DIV
  199.   %attrs;                              -- %coreattrs, %i18n, %events --
  200.   %reserved;                           -- reserved for possible future use --
  201.   >
  202. <!--================== The Anchor Element ================================-->
  203. <!ENTITY % Shape "(rect|circle|poly|default)">
  204. <!ENTITY % Coords "CDATA" -- comma-separated list of lengths -->
  205. <!ELEMENT A - - (%inline;)* -(A)       -- anchor -->
  206. <!ATTLIST A
  207.   %attrs;                              -- %coreattrs, %i18n, %events --
  208.   charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
  209.   type        %ContentType;  #IMPLIED  -- advisory content type --
  210.   name        CDATA          #IMPLIED  -- named link end --
  211.   href        %URI;          #IMPLIED  -- URI for linked resource --
  212.   hreflang    %LanguageCode; #IMPLIED  -- language code --
  213.   rel         %LinkTypes;    #IMPLIED  -- forward link types --
  214.   rev         %LinkTypes;    #IMPLIED  -- reverse link types --
  215.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  216.   shape       %Shape;        rect      -- for use with client-side image maps --
  217.   coords      %Coords;       #IMPLIED  -- for use with client-side image maps --
  218.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  219.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  220.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  221.   >
  222. <!--================== Client-side image maps ============================-->
  223. <!-- These can be placed in the same document or grouped in a
  224.      separate document although this isn't yet widely supported -->
  225. <!ELEMENT MAP - - ((%block;) | AREA)+ -- client-side image map -->
  226. <!ATTLIST MAP
  227.   %attrs;                              -- %coreattrs, %i18n, %events --
  228.   name        CDATA          #REQUIRED -- for reference by usemap --
  229.   >
  230. <!ELEMENT AREA - O EMPTY               -- client-side image map area -->
  231. <!ATTLIST AREA
  232.   %attrs;                              -- %coreattrs, %i18n, %events --
  233.   shape       %Shape;        rect      -- controls interpretation of coords --
  234.   coords      %Coords;       #IMPLIED  -- comma-separated list of lengths --
  235.   href        %URI;          #IMPLIED  -- URI for linked resource --
  236.   nohref      (nohref)       #IMPLIED  -- this region has no action --
  237.   alt         %Text;         #REQUIRED -- short description --
  238.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  239.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  240.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  241.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  242.   >
  243. <!--================== The LINK Element ==================================-->
  244. <!--
  245.   Relationship values can be used in principle:
  246.    a) for document specific toolbars/menus when used
  247.       with the LINK element in document head e.g.
  248.         start, contents, previous, next, index, end, help
  249.    b) to link to a separate style sheet (rel=stylesheet)
  250.    c) to make a link to a script (rel=script)
  251.    d) by stylesheets to control how collections of
  252.       html nodes are rendered into printed documents
  253.    e) to make a link to a printable version of this document
  254.       e.g. a postscript or pdf version (rel=alternate media=print)
  255. -->
  256. <!ELEMENT LINK - O EMPTY               -- a media-independent link -->
  257. <!ATTLIST LINK
  258.   %attrs;                              -- %coreattrs, %i18n, %events --
  259.   charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
  260.   href        %URI;          #IMPLIED  -- URI for linked resource --
  261.   hreflang    %LanguageCode; #IMPLIED  -- language code --
  262.   type        %ContentType;  #IMPLIED  -- advisory content type --
  263.   rel         %LinkTypes;    #IMPLIED  -- forward link types --
  264.   rev         %LinkTypes;    #IMPLIED  -- reverse link types --
  265.   media       %MediaDesc;    #IMPLIED  -- for rendering on these media --
  266.   >
  267. <!--=================== Images ===========================================-->
  268. <!-- Length defined in strict DTD for cellpadding/cellspacing -->
  269. <!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length -->
  270. <!ENTITY % MultiLength "CDATA" -- pixel, percentage, or relative -->
  271. <![ %HTML.Frameset; [
  272. <!ENTITY % MultiLengths "CDATA" -- comma-separated list of MultiLength -->
  273. ]]>
  274. <!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->
  275. <!-- To avoid problems with text-only UAs as well as 
  276.    to make image content understandable and navigable 
  277.    to users of non-visual UAs, you need to provide
  278.    a description with ALT, and avoid server-side image maps -->
  279. <!ELEMENT IMG - O EMPTY                -- Embedded image -->
  280. <!ATTLIST IMG
  281.   %attrs;                              -- %coreattrs, %i18n, %events --
  282.   src         %URI;          #REQUIRED -- URI of image to embed --
  283.   alt         %Text;         #REQUIRED -- short description --
  284.   longdesc    %URI;          #IMPLIED  -- link to long description
  285.                                           (complements alt) --
  286.   name        CDATA          #IMPLIED  -- name of image for scripting --
  287.   height      %Length;       #IMPLIED  -- override height --
  288.   width       %Length;       #IMPLIED  -- override width --
  289.   usemap      %URI;          #IMPLIED  -- use client-side image map --
  290.   ismap       (ismap)        #IMPLIED  -- use server-side image map --
  291.   >
  292. <!-- USEMAP points to a MAP element which may be in this document
  293.   or an external document, although the latter is not widely supported -->
  294. <!--==================== OBJECT ======================================-->
  295. <!--
  296.   OBJECT is used to embed objects as part of HTML pages 
  297.   PARAM elements should precede other content. SGML mixed content
  298.   model technicality precludes specifying this formally ...
  299. -->
  300. <!ELEMENT OBJECT - - (PARAM | %flow;)*
  301.  -- generic embedded object -->
  302. <!ATTLIST OBJECT
  303.   %attrs;                              -- %coreattrs, %i18n, %events --
  304.   declare     (declare)      #IMPLIED  -- declare but don't instantiate flag --
  305.   classid     %URI;          #IMPLIED  -- identifies an implementation --
  306.   codebase    %URI;          #IMPLIED  -- base URI for classid, data, archive--
  307.   data        %URI;          #IMPLIED  -- reference to object's data --
  308.   type        %ContentType;  #IMPLIED  -- content type for data --
  309.   codetype    %ContentType;  #IMPLIED  -- content type for code --
  310.   archive     CDATA          #IMPLIED  -- space-separated list of URIs --
  311.   standby     %Text;         #IMPLIED  -- message to show while loading --
  312.   height      %Length;       #IMPLIED  -- override height --
  313.   width       %Length;       #IMPLIED  -- override width --
  314.   usemap      %URI;          #IMPLIED  -- use client-side image map --
  315.   name        CDATA          #IMPLIED  -- submit as part of form --
  316.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  317.   %reserved;                           -- reserved for possible future use --
  318.   >
  319. <!ELEMENT PARAM - O EMPTY              -- named property value -->
  320. <!ATTLIST PARAM
  321.   id          ID             #IMPLIED  -- document-wide unique id --
  322.   name        CDATA          #REQUIRED -- property name --
  323.   value       CDATA          #IMPLIED  -- property value --
  324.   valuetype   (DATA|REF|OBJECT) DATA   -- How to interpret value --
  325.   type        %ContentType;  #IMPLIED  -- content type for value
  326.                                           when valuetype=ref --
  327.   >
  328. <!--=================== Horizontal Rule ==================================-->
  329. <!ELEMENT HR - O EMPTY -- horizontal rule -->
  330. <!ATTLIST HR
  331.   %attrs;                              -- %coreattrs, %i18n, %events --
  332.   >
  333. <!--=================== Paragraphs =======================================-->
  334. <!ELEMENT P - O (%inline;)*            -- paragraph -->
  335. <!ATTLIST P
  336.   %attrs;                              -- %coreattrs, %i18n, %events --
  337.   >
  338. <!--=================== Headings =========================================-->
  339. <!--
  340.   There are six levels of headings from H1 (the most important)
  341.   to H6 (the least important).
  342. -->
  343. <!ELEMENT (%heading;)  - - (%inline;)* -- heading -->
  344. <!ATTLIST (%heading;)
  345.   %attrs;                              -- %coreattrs, %i18n, %events --
  346.   >
  347. <!--=================== Preformatted Text ================================-->
  348. <!-- excludes markup for images and changes in font size -->
  349. <!ENTITY % pre.exclusion "IMG|OBJECT|BIG|SMALL|SUB|SUP">
  350. <!ELEMENT PRE - - (%inline;)* -(%pre.exclusion;) -- preformatted text -->
  351. <!ATTLIST PRE
  352.   %attrs;                              -- %coreattrs, %i18n, %events --
  353.   >
  354. <!--===================== Inline Quotes ==================================-->
  355. <!ELEMENT Q - - (%inline;)*            -- short inline quotation -->
  356. <!ATTLIST Q
  357.   %attrs;                              -- %coreattrs, %i18n, %events --
  358.   cite        %URI;          #IMPLIED  -- URI for source document or msg --
  359.   >
  360. <!--=================== Block-like Quotes ================================-->
  361. <!ELEMENT BLOCKQUOTE - - (%block;|SCRIPT)+ -- long quotation -->
  362. <!ATTLIST BLOCKQUOTE
  363.   %attrs;                              -- %coreattrs, %i18n, %events --
  364.   cite        %URI;          #IMPLIED  -- URI for source document or msg --
  365.   >
  366. <!--=================== Inserted/Deleted Text ============================-->
  367. <!-- INS/DEL are handled by inclusion on BODY -->
  368. <!ELEMENT (INS|DEL) - - (%flow;)*      -- inserted text, deleted text -->
  369. <!ATTLIST (INS|DEL)
  370.   %attrs;                              -- %coreattrs, %i18n, %events --
  371.   cite        %URI;          #IMPLIED  -- info on reason for change --
  372.   datetime    %Datetime;     #IMPLIED  -- date and time of change --
  373.   >
  374. <!--=================== Lists ============================================-->
  375. <!-- definition lists - DT for term, DD for its definition -->
  376. <!ELEMENT DL - - (DT|DD)+              -- definition list -->
  377. <!ATTLIST DL
  378.   %attrs;                              -- %coreattrs, %i18n, %events --
  379.   >
  380. <!ELEMENT DT - O (%inline;)*           -- definition term -->
  381. <!ELEMENT DD - O (%flow;)*             -- definition description -->
  382. <!ATTLIST (DT|DD)
  383.   %attrs;                              -- %coreattrs, %i18n, %events --
  384.   >
  385. <!ELEMENT OL - - (LI)+                 -- ordered list -->
  386. <!ATTLIST OL
  387.   %attrs;                              -- %coreattrs, %i18n, %events --
  388.   >
  389. <!-- Unordered Lists (UL) bullet styles -->
  390. <!ELEMENT UL - - (LI)+                 -- unordered list -->
  391. <!ATTLIST UL
  392.   %attrs;                              -- %coreattrs, %i18n, %events --
  393.   >
  394. <!ELEMENT LI - O (%flow;)*             -- list item -->
  395. <!ATTLIST LI
  396.   %attrs;                              -- %coreattrs, %i18n, %events --
  397.   >
  398. <!--================ Forms ===============================================-->
  399. <!ELEMENT FORM - - (%block;|SCRIPT)+ -(FORM) -- interactive form -->
  400. <!ATTLIST FORM
  401.   %attrs;                              -- %coreattrs, %i18n, %events --
  402.   action      %URI;          #REQUIRED -- server-side form handler --
  403.   method      (GET|POST)     GET       -- HTTP method used to submit the form--
  404.   enctype     %ContentType;  "application/x-www-form-urlencoded"
  405.   accept      %ContentTypes; #IMPLIED  -- list of MIME types for file upload --
  406.   name        CDATA          #IMPLIED  -- name of form for scripting --
  407.   onsubmit    %Script;       #IMPLIED  -- the form was submitted --
  408.   onreset     %Script;       #IMPLIED  -- the form was reset --
  409.   accept-charset %Charsets;  #IMPLIED  -- list of supported charsets --
  410.   >
  411. <!-- Each label must not contain more than ONE field -->
  412. <!ELEMENT LABEL - - (%inline;)* -(LABEL) -- form field label text -->
  413. <!ATTLIST LABEL
  414.   %attrs;                              -- %coreattrs, %i18n, %events --
  415.   for         IDREF          #IMPLIED  -- matches field ID value --
  416.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  417.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  418.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  419.   >
  420. <!ENTITY % InputType
  421.   "(TEXT | PASSWORD | CHECKBOX |
  422.     RADIO | SUBMIT | RESET |
  423.     FILE | HIDDEN | IMAGE | BUTTON)"
  424.    >
  425. <!-- attribute name required for all but submit and reset -->
  426. <!ELEMENT INPUT - O EMPTY              -- form control -->
  427. <!ATTLIST INPUT
  428.   %attrs;                              -- %coreattrs, %i18n, %events --
  429.   type        %InputType;    TEXT      -- what kind of widget is needed --
  430.   name        CDATA          #IMPLIED  -- submit as part of form --
  431.   value       CDATA          #IMPLIED  -- Specify for radio buttons and checkboxes --
  432.   checked     (checked)      #IMPLIED  -- for radio buttons and check boxes --
  433.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  434.   readonly    (readonly)     #IMPLIED  -- for text and passwd --
  435.   size        CDATA          #IMPLIED  -- specific to each type of field --
  436.   maxlength   NUMBER         #IMPLIED  -- max chars for text fields --
  437.   src         %URI;          #IMPLIED  -- for fields with images --
  438.   alt         CDATA          #IMPLIED  -- short description --
  439.   usemap      %URI;          #IMPLIED  -- use client-side image map --
  440.   ismap       (ismap)        #IMPLIED  -- use server-side image map --
  441.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  442.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  443.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  444.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  445.   onselect    %Script;       #IMPLIED  -- some text was selected --
  446.   onchange    %Script;       #IMPLIED  -- the element value was changed --
  447.   accept      %ContentTypes; #IMPLIED  -- list of MIME types for file upload --
  448.   %reserved;                           -- reserved for possible future use --
  449.   >
  450. <!ELEMENT SELECT - - (OPTGROUP|OPTION)+ -- option selector -->
  451. <!ATTLIST SELECT
  452.   %attrs;                              -- %coreattrs, %i18n, %events --
  453.   name        CDATA          #IMPLIED  -- field name --
  454.   size        NUMBER         #IMPLIED  -- rows visible --
  455.   multiple    (multiple)     #IMPLIED  -- default is single selection --
  456.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  457.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  458.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  459.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  460.   onchange    %Script;       #IMPLIED  -- the element value was changed --
  461.   %reserved;                           -- reserved for possible future use --
  462.   >
  463. <!ELEMENT OPTGROUP - - (OPTION)+ -- option group -->
  464. <!ATTLIST OPTGROUP
  465.   %attrs;                              -- %coreattrs, %i18n, %events --
  466.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  467.   label       %Text;         #REQUIRED -- for use in hierarchical menus --
  468.   >
  469. <!ELEMENT OPTION - O (#PCDATA)         -- selectable choice -->
  470. <!ATTLIST OPTION
  471.   %attrs;                              -- %coreattrs, %i18n, %events --
  472.   selected    (selected)     #IMPLIED
  473.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  474.   label       %Text;         #IMPLIED  -- for use in hierarchical menus --
  475.   value       CDATA          #IMPLIED  -- defaults to element content --
  476.   >
  477. <!ELEMENT TEXTAREA - - (#PCDATA)       -- multi-line text field -->
  478. <!ATTLIST TEXTAREA
  479.   %attrs;                              -- %coreattrs, %i18n, %events --
  480.   name        CDATA          #IMPLIED
  481.   rows        NUMBER         #REQUIRED
  482.   cols        NUMBER         #REQUIRED
  483.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  484.   readonly    (readonly)     #IMPLIED
  485.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  486.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  487.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  488.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  489.   onselect    %Script;       #IMPLIED  -- some text was selected --
  490.   onchange    %Script;       #IMPLIED  -- the element value was changed --
  491.   %reserved;                           -- reserved for possible future use --
  492.   >
  493. <!--
  494.   #PCDATA is to solve the mixed content problem,
  495.   per specification only whitespace is allowed there!
  496.  -->
  497. <!ELEMENT FIELDSET - - (#PCDATA,LEGEND,(%flow;)*) -- form control group -->
  498. <!ATTLIST FIELDSET
  499.   %attrs;                              -- %coreattrs, %i18n, %events --
  500.   >
  501. <!ELEMENT LEGEND - - (%inline;)*       -- fieldset legend -->
  502. <!ATTLIST LEGEND
  503.   %attrs;                              -- %coreattrs, %i18n, %events --
  504.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  505.   >
  506. <!ELEMENT BUTTON - -
  507.      (%flow;)* -(A|%formctrl;|FORM|FIELDSET)
  508.      -- push button -->
  509. <!ATTLIST BUTTON
  510.   %attrs;                              -- %coreattrs, %i18n, %events --
  511.   name        CDATA          #IMPLIED
  512.   value       CDATA          #IMPLIED  -- sent to server when submitted --
  513.   type        (button|submit|reset) submit -- for use as form button --
  514.   disabled    (disabled)     #IMPLIED  -- unavailable in this context --
  515.   tabindex    NUMBER         #IMPLIED  -- position in tabbing order --
  516.   accesskey   %Character;    #IMPLIED  -- accessibility key character --
  517.   onfocus     %Script;       #IMPLIED  -- the element got the focus --
  518.   onblur      %Script;       #IMPLIED  -- the element lost the focus --
  519.   %reserved;                           -- reserved for possible future use --
  520.   >
  521. <!--======================= Tables =======================================-->
  522. <!-- IETF HTML table standard, see [RFC1942] -->
  523. <!--
  524.  The BORDER attribute sets the thickness of the frame around the
  525.  table. The default units are screen pixels.
  526.  The FRAME attribute specifies which parts of the frame around
  527.  the table should be rendered. The values are not the same as
  528.  CALS to avoid a name clash with the VALIGN attribute.
  529.  The value "border" is included for backwards compatibility with
  530.  <TABLE BORDER> which yields frame=border and border=implied
  531.  For <TABLE BORDER=1> you get border=1 and frame=implied. In this
  532.  case, it is appropriate to treat this as frame=border for backwards
  533.  compatibility with deployed browsers.
  534. -->
  535. <!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
  536. <!--
  537.  The RULES attribute defines which rules to draw between cells:
  538.  If RULES is absent then assume:
  539.      "none" if BORDER is absent or BORDER=0 otherwise "all"
  540. -->
  541. <!ENTITY % TRules "(none | groups | rows | cols | all)">
  542.   
  543. <!-- horizontal placement of table relative to document -->
  544. <!ENTITY % TAlign "(left|center|right)">
  545. <!-- horizontal alignment attributes for cell contents -->
  546. <!ENTITY % cellhalign
  547.   "align      (left|center|right|justify|char) #IMPLIED
  548.    char       %Character;    #IMPLIED  -- alignment char, e.g. char=':' --
  549.    charoff    %Length;       #IMPLIED  -- offset for alignment char --"
  550.   >
  551. <!-- vertical alignment attributes for cell contents -->
  552. <!ENTITY % cellvalign
  553.   "valign     (top|middle|bottom|baseline) #IMPLIED"
  554.   >
  555. <!ELEMENT TABLE - -
  556.      (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)>
  557. <!ELEMENT CAPTION  - - (%inline;)*     -- table caption -->
  558. <!ELEMENT THEAD    - O (TR)+           -- table header -->
  559. <!ELEMENT TFOOT    - O (TR)+           -- table footer -->
  560. <!ELEMENT TBODY    O O (TR)+           -- table body -->
  561. <!ELEMENT COLGROUP - O (COL)*          -- table column group -->
  562. <!ELEMENT COL      - O EMPTY           -- table column -->
  563. <!ELEMENT TR       - O (TH|TD)+        -- table row -->
  564. <!ELEMENT (TH|TD)  - O (%flow;)*       -- table header cell, table data cell-->
  565. <!ATTLIST TABLE                        -- table element --
  566.   %attrs;                              -- %coreattrs, %i18n, %events --
  567.   summary     %Text;         #IMPLIED  -- purpose/structure for speech output--
  568.   width       %Length;       #IMPLIED  -- table width --
  569.   border      %Pixels;       #IMPLIED  -- controls frame width around table --
  570.   frame       %TFrame;       #IMPLIED  -- which parts of frame to render --
  571.   rules       %TRules;       #IMPLIED  -- rulings between rows and cols --
  572.   cellspacing %Length;       #IMPLIED  -- spacing between cells --
  573.   cellpadding %Length;       #IMPLIED  -- spacing within cells --
  574.   %reserved;                           -- reserved for possible future use --
  575.   datapagesize CDATA         #IMPLIED  -- reserved for possible future use --
  576.   >
  577. <!ATTLIST CAPTION
  578.   %attrs;                              -- %coreattrs, %i18n, %events --
  579.   >
  580. <!--
  581. COLGROUP groups a set of COL elements. It allows you to group
  582. several semantically related columns together.
  583. -->
  584. <!ATTLIST COLGROUP
  585.   %attrs;                              -- %coreattrs, %i18n, %events --
  586.   span        NUMBER         1         -- default number of columns in group --
  587.   width       %MultiLength;  #IMPLIED  -- default width for enclosed COLs --
  588.   %cellhalign;                         -- horizontal alignment in cells --
  589.   %cellvalign;                         -- vertical alignment in cells --
  590.   >
  591. <!--
  592.  COL elements define the alignment properties for cells in
  593.  one or more columns.
  594.  The WIDTH attribute specifies the width of the columns, e.g.
  595.      width=64        width in screen pixels
  596.      width=0.5*      relative width of 0.5
  597.  The SPAN attribute causes the attributes of one
  598.  COL element to apply to more than one column.
  599. -->
  600. <!ATTLIST COL                          -- column groups and properties --
  601.   %attrs;                              -- %coreattrs, %i18n, %events --
  602.   span        NUMBER         1         -- COL attributes affect N columns --
  603.   width       %MultiLength;  #IMPLIED  -- column width specification --
  604.   %cellhalign;                         -- horizontal alignment in cells --
  605.   %cellvalign;                         -- vertical alignment in cells --
  606.   >
  607. <!--
  608.     Use THEAD to duplicate headers when breaking table
  609.     across page boundaries, or for static headers when
  610.     TBODY sections are rendered in scrolling panel.
  611.     Use TFOOT to duplicate footers when breaking table
  612.     across page boundaries, or for static footers when
  613.     TBODY sections are rendered in scrolling panel.
  614.     Use multiple TBODY sections when rules are needed
  615.     between groups of table rows.
  616. -->
  617. <!ATTLIST (THEAD|TBODY|TFOOT)          -- table section --
  618.   %attrs;                              -- %coreattrs, %i18n, %events --
  619.   %cellhalign;                         -- horizontal alignment in cells --
  620.   %cellvalign;                         -- vertical alignment in cells --
  621.   >
  622. <!ATTLIST TR                           -- table row --
  623.   %attrs;                              -- %coreattrs, %i18n, %events --
  624.   %cellhalign;                         -- horizontal alignment in cells --
  625.   %cellvalign;                         -- vertical alignment in cells --
  626.   >
  627. <!-- Scope is simpler than headers attribute for common tables -->
  628. <!ENTITY % Scope "(row|col|rowgroup|colgroup)">
  629. <!-- TH is for headers, TD for data, but for cells acting as both use TD -->
  630. <!ATTLIST (TH|TD)                      -- header or data cell --
  631.   %attrs;                              -- %coreattrs, %i18n, %events --
  632.   abbr        %Text;         #IMPLIED  -- abbreviation for header cell --
  633.   axis        CDATA          #IMPLIED  -- comma-separated list of related headers--
  634.   headers     IDREFS         #IMPLIED  -- list of id's for header cells --
  635.   scope       %Scope;        #IMPLIED  -- scope covered by header cells --
  636.   rowspan     NUMBER         1         -- number of rows spanned by cell --
  637.   colspan     NUMBER         1         -- number of cols spanned by cell --
  638.   %cellhalign;                         -- horizontal alignment in cells --
  639.   %cellvalign;                         -- vertical alignment in cells --
  640.   >
  641. <!--================ Document Head =======================================-->
  642. <!-- %head.misc; defined earlier on as "SCRIPT|STYLE|META|LINK|OBJECT" -->
  643. <!ENTITY % head.content "TITLE & BASE?">
  644. <!ELEMENT HEAD O O (%head.content;) +(%head.misc;) -- document head -->
  645. <!ATTLIST HEAD
  646.   %i18n;                               -- lang, dir --
  647.   profile     %URI;          #IMPLIED  -- named dictionary of meta info --
  648.   >
  649. <!-- The TITLE element is not considered part of the flow of text.
  650.        It should be displayed, for example as the page header or
  651.        window title. Exactly one title is required per document.
  652.     -->
  653. <!ELEMENT TITLE - - (#PCDATA) -(%head.misc;) -- document title -->
  654. <!ATTLIST TITLE %i18n>
  655. <!ELEMENT BASE - O EMPTY               -- document base URI -->
  656. <!ATTLIST BASE
  657.   href        %URI;          #REQUIRED -- URI that acts as base URI --
  658.   >
  659. <!ELEMENT META - O EMPTY               -- generic metainformation -->
  660. <!ATTLIST META
  661.   %i18n;                               -- lang, dir, for use with content --
  662.   http-equiv  NAME           #IMPLIED  -- HTTP response header name  --
  663.   name        NAME           #IMPLIED  -- metainformation name --
  664.   content     CDATA          #REQUIRED -- associated information --
  665.   scheme      CDATA          #IMPLIED  -- select form of content --
  666.   >
  667. <!ELEMENT STYLE - - %StyleSheet        -- style info -->
  668. <!ATTLIST STYLE
  669.   %i18n;                               -- lang, dir, for use with title --
  670.   type        %ContentType;  #REQUIRED -- content type of style language --
  671.   media       %MediaDesc;    #IMPLIED  -- designed for use with these media --
  672.   title       %Text;         #IMPLIED  -- advisory title --
  673.   >
  674. <!ELEMENT SCRIPT - - %Script;          -- script statements -->
  675. <!ATTLIST SCRIPT
  676.   charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
  677.   type        %ContentType;  #REQUIRED -- content type of script language --
  678.   src         %URI;          #IMPLIED  -- URI for an external script --
  679.   defer       (defer)        #IMPLIED  -- UA may defer execution of script --
  680.   event       CDATA          #IMPLIED  -- reserved for possible future use --
  681.   for         %URI;          #IMPLIED  -- reserved for possible future use --
  682.   >
  683. <!ELEMENT NOSCRIPT - - (%block;)+
  684.   -- alternate content container for non script-based rendering -->
  685. <!ATTLIST NOSCRIPT
  686.   %attrs;                              -- %coreattrs, %i18n, %events --
  687.   >
  688. <!--================ Document Structure ==================================-->
  689. <!ENTITY % html.content "HEAD, BODY">
  690. <!ELEMENT HTML O O (%html.content;)    -- document root element -->
  691. <!ATTLIST HTML
  692.   %i18n;                               -- lang, dir --
  693.   >