Path: blob/master/make/data/dtdbuilder/html32.dtd
40914 views
<!--1Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.2DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.34This code is free software; you can redistribute it and/or modify it5under the terms of the GNU General Public License version 2 only, as6published by the Free Software Foundation. Oracle designates this7particular file as subject to the "Classpath" exception as provided8by Oracle in the LICENSE file that accompanied this code.910This code is distributed in the hope that it will be useful, but WITHOUT11ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13version 2 for more details (a copy is included in the LICENSE file that14accompanied this code).1516You should have received a copy of the GNU General Public License version172 along with this work; if not, write to the Free Software Foundation,18Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.1920Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21or visit www.oracle.com if you need additional information or have any22questions.23-->2425<!--26W3C Document Type Definition for the HyperText Markup Language27This version is code named Wilbur, and also as "HTML 3.2".2829Draft: Tuesday August 21st 19963031Author: Dave Raggett <[email protected]>3233This is subject to change, pending final approval by the W3C34member companies.3536HTML 3.2 aims to capture recommended practice as of early '9637and as such to be used as a replacement for HTML 2.0 (RFC 1866).38Widely deployed rendering attributes are included where they39have been shown to be interoperable. SCRIPT and STYLE are40included to smooth the introduction of client-side scripts41and style sheets. Browsers must avoid showing the contents42of these element Otherwise support for them is not required.43ID, CLASS and STYLE attributes are not included in this version44of HTML.4546The next version of HTML after Wilbur is code named Cougar and47will add support for <OBJECT>, client-side scripting, style48sheets, and extensions to fill-out forms.49-->5051<!-- HotJava modifications by Steve Byrne, 9/13/1996 -->5253<!ENTITY % HTML.Version54"-//HotJava//DTD HotJava 1.0 HTML 3.2 Draft 19960821//EN"5556-- Typical usage:5758<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft 19960821//EN">59<html>60...61</html>62--63>6465<!--================== Deprecated Features Switch =========================-->6667<!ENTITY % HTML.Deprecated "INCLUDE">6869<!--================== Feature Test Entities ==============================-->7071<!ENTITY % HTML.Recommended "IGNORE"72-- Certain features of the language are necessary for compatibility73with widespread usage, but they may compromise the structural74integrity of a document. This feature test entity enables75a more prescriptive document type definition that eliminates76the above features.77-->7879<!ENTITY % HTML.HotJava "INCLUDE"80-- HotJava specific extensions to the default HTML 3.2 DTD -->8182<!-- Currently we are using the the HTML.3.2.Conflict entity to work around83a bug in the DTD parser where the first declaration of an ENTITY/ELEMENT84or ATTLIST is not taking precedence over subsequent declarations of the same85item. Therefore we need to explicitly "IGNORE" subsequent declarations86in order for HotJava specific extensions to take effect.87-->88<!ENTITY % HTML.3.2.Conflict "IGNORE"89-- 3.2 features to be ignored -->909192<!--================== Imported Names =====================================-->9394<!ENTITY % Content-Type "CDATA"95-- meaning a MIME content type, as per RFC152196-->9798<!ENTITY % HTTP-Method "GET | POST"99-- as per HTTP specification100-->101102<!ENTITY % URL "CDATA"103-- The term URL means a CDATA attribute104whose value is a Uniform Resource Locator,105See RFC1808 (June 95) and RFC1738 (Dec 94).106-->107108<!-- Parameter Entities -->109110<!ENTITY % head.misc "NOSCRIPT|SCRIPT|STYLE|META|LINK" -- repeatable head elements -->111112<!ENTITY % heading "H1|H2|H3|H4|H5|H6">113114<!ENTITY % list "UL | OL | DIR | MENU">115116<![ %HTML.Deprecated [117<!ENTITY % preformatted "PRE | XMP | LISTING | PLAINTEXT">118]]>119120<!ENTITY % preformatted "PRE">121122<!--================ Character mnemonic entities ==========================-->123124<!ENTITY % HTMLlat1 PUBLIC125"-//W3C//ENTITIES Latin 1//EN//HTML">126%HTMLlat1;127128<!ENTITY % HTMLsymbol PUBLIC129"-//W3C//ENTITIES Symbols//EN//HTML">130%HTMLsymbol;131132<!ENTITY % HTMLspecial PUBLIC133"-//W3C//ENTITIES Special//EN//HTML">134%HTMLspecial;135136137<!--=================== Text Markup =======================================-->138139<!ENTITY % font "TT | I | B | U | STRIKE | S | BIG | SMALL | SUB | SUP">140141<!ENTITY % phrase "EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE">142143<![ %HTML.HotJava [144<!ENTITY % special "A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT | MAP145| NOBR | WBR | BLINK | SPAN">146]]>147148<![ %HTML.3.2.Conflict [149<!ENTITY % special "A | IMG | APPLET | FONT | BASEFONT | BR | SCRIPT | MAP">150]]>151152<!ENTITY % form "INPUT | SELECT | TEXTAREA">153154<!ENTITY % text "#PCDATA | %font | %phrase | %special | %form">155156<![ %HTML.HotJava [157<!ELEMENT (%font|%phrase) - - (%text | CENTER | P | DL | UL | OL)*>158]]>159<![ %HTML.3.2.Conflict [160<!ELEMENT (%font|%phrase) - - (%text)*>161]]>162163164<!-- there are also 16 widely known color names although165the resulting colors are implementation dependent:166167aqua, black, blue, fuchsia, gray, green, lime, maroon,168navy, olive, purple, red, silver, teal, white, and yellow169170These colors were originally picked as being the standard17116 colors supported with the Windows VGA palette.172-->173174<![ %HTML.HotJava [175<!ELEMENT FONT - - (%text | CENTER | P | DL | UL | OL)* -- local change to font -->176]]>177<![ %HTML.3.2.Conflict [178<!ELEMENT FONT - - (%text)* -- local change to font -->179]]>180<!ATTLIST FONT181size CDATA #IMPLIED -- [+]nn e.g. size="+1", size=4 --182color CDATA #IMPLIED -- #RRGGBB in hex, e.g. red: color="#FF0000" --183>184185<!ELEMENT BASEFONT - O EMPTY -- base font size (1 to 7)-->186<!ATTLIST BASEFONT187size CDATA #IMPLIED -- e.g. size=3 --188>189190<!ELEMENT BR - O EMPTY -- forced line break -->191<!ATTLIST BR192clear (left|all|right|none) none -- control of text flow --193>194195196<!--================== HTML content models ================================-->197<!--198HTML has three basic content models:199200%text character level elements and text strings201%flow block-like elements e.g. paragraphs and lists202%bodytext as (b) plus headers and ADDRESS203-->204205<!ENTITY % block206"P | %list | %preformatted | DL | DIV | CENTER | NOSCRIPT |207BLOCKQUOTE | FORM | ISINDEX | HR | TABLE | OBJECT">208209<!-- %flow is used for DD and LI -->210211<!ENTITY % flow "(%block | %text)*">212213<!--=================== Document Body =====================================-->214215216<![ %HTML.HotJava [217<!ENTITY % body.content "(%heading | %block | %text | ADDRESS | FRAMESET |218NOFRAMES | NOHOTJAVA | ANIMATE)*">219220]]>221222<![ %HTML.3.2.Conflict [223<!ENTITY % body.content "(%heading | %text | %block | ADDRESS)*">224]]>225226<!ENTITY % color "CDATA" -- a color specification: #HHHHHH @@ details? -->227228<!ENTITY % body-color-attrs "229bgcolor %color #IMPLIED230text %color #IMPLIED231link %color #IMPLIED232vlink %color #IMPLIED233alink %color #IMPLIED234">235236<!ELEMENT BODY O O %body.content>237<![ %HTML.HotJava [238<!ATTLIST BODY239background %URL #IMPLIED -- texture tile for document background --240%body-color-attrs; -- bgcolor, text, link, vlink, alink --241width NUTOKEN #IMPLIED242height NUTOKEN #IMPLIED243>244]]>245246<![ %HTML.3.2.Conflict [247<!ATTLIST BODY248background %URL #IMPLIED -- texture tile for document background --249%body-color-attrs; -- bgcolor, text, link, vlink, alink --250>251]]>252253254<!ENTITY % address.content "((%text;) | P)*">255256<!ELEMENT ADDRESS - - %address.content>257258<!ELEMENT DIV - - %body.content>259<![ %HTML.HotJava [260<!ATTLIST DIV261align (left|center|right) left -- alignment of following text --262>263]]>264265<![ %HTML.3.2.Conflict [266<!ATTLIST DIV267align (left|center|right) #IMPLIED -- alignment of following text --268>269]]>270271<!-- CENTER is a shorthand for DIV with ALIGN=CENTER -->272<!ELEMENT center - - %body.content>273274<!--================== The Anchor Element =================================-->275276<!ENTITY % SHAPE "(rect|circle|poly|default)">277<!ENTITY % COORDS "CDATA" -- comma separated list of numbers -->278279<![ %HTML.HotJava [280<!ELEMENT A - - (%text|%heading|PRE)* -(A)>281<!ATTLIST A282name CDATA #IMPLIED -- named link end --283href %URL #IMPLIED -- URL for linked resource --284rel CDATA #IMPLIED -- forward link types --285rev CDATA #IMPLIED -- reverse link types --286title CDATA #IMPLIED -- advisory title string --287target CDATA #IMPLIED288shape %SHAPE #IMPLIED -- (OBJECT tag specific) --289coords %COORDS #IMPLIED -- always needed except for shape=default (OBJECT tag specific)--290ismap (ismap) #IMPLIED -- (OBJECT tag specific) --291>292]]>293294<![ %HTML.3.2.Conflict [295<!ELEMENT A - - (%text)* -(A)>296<!ATTLIST A297name CDATA #IMPLIED -- named link end --298href %URL #IMPLIED -- URL for linked resource --299rel CDATA #IMPLIED -- forward link types --300rev CDATA #IMPLIED -- reverse link types --301title CDATA #IMPLIED -- advisory title string --302>303]]>304305<!--================== Client-side image maps ============================-->306307<!-- These can be placed in the same document or grouped in a308separate document although this isn't yet widely supported -->309310311<![ %HTML.HotJava [312<!ELEMENT MAP - - (BASE|AREA)*>313]]>314315<![ %HTML.3.2.Conflict [316<!ELEMENT MAP - - (AREA)*>317]]>318319<!ATTLIST MAP320name CDATA #IMPLIED321>322323<!ELEMENT AREA - O EMPTY>324325<![ %HTML.HotJava [326<!ATTLIST AREA327shape %SHAPE rect328coords %COORDS #IMPLIED -- always needed except for shape=default --329href %URL #IMPLIED -- this region acts as hypertext link --330nohref (nohref) #IMPLIED -- this region has no action --331alt CDATA #IMPLIED -- make HotJava more forgiving --332target CDATA #IMPLIED333>334]]>335336337<![ %HTML.3.2.Conflict [338<!ATTLIST AREA339shape %SHAPE rect340coords %COORDS #IMPLIED -- always needed except for shape=default --341href %URL #IMPLIED -- this region acts as hypertext link --342nohref (nohref) #IMPLIED -- this region has no action --343alt CDATA #REQUIRED344>345]]>346347<!--================== The LINK Element ==================================-->348349<!ENTITY % Types "CDATA"350-- See Internet Draft: draft-ietf-html-relrev-00.txt351LINK has been part of HTML since the early days352although few browsers as yet take advantage of it.353354Relationship values can be used in principle:355356a) for document specific toolbars/menus when used357with the LINK element in document head:358b) to link to a separate style sheet (rel=stylesheet)359c) to make a link to a script (rel=script)360d) by stylesheets to control how collections of361html nodes are rendered into printed documents362e) to make a link to a printable version of this document363e.g. a postscript or pdf version (rel=print)364-->365366<!ELEMENT LINK - O EMPTY>367<!ATTLIST LINK368id ID #IMPLIED -- SGML ID attribute --369href %URL #IMPLIED -- URL for linked resource --370rel %Types #IMPLIED -- forward link types --371rev %Types #IMPLIED -- reverse link types --372title CDATA #IMPLIED -- advisory title string --373>374375<!--=================== Images ============================================-->376377<!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length -->378<!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->379380<!-- Suggested widths are used for negotiating image size381with the module responsible for painting the image.382align=left or right cause image to float to margin383and for subsequent text to wrap around image -->384385<![ %HTML.HotJava [386<!ENTITY % IAlign "top|middle|bottom|left|right387|texttop|absmiddle|baseline|absbottom">388]]>389390<![ %HTML.3.2.Conflict [391<!ENTITY % IAlign "top|middle|bottom|left|right">392]]>393394<!ENTITY % ImgAlign "( %IAlign | center)">395396<!ELEMENT IMG - O EMPTY -- Embedded image -->397<![ %HTML.HotJava [398<!ATTLIST IMG399src %URL #REQUIRED -- URL of image to embed --400alt CDATA #IMPLIED -- for display in place of image --401align %ImgAlign baseline -- vertical or horizontal alignment --402height %Pixels #IMPLIED -- suggested height in pixels --403width %Pixels #IMPLIED -- suggested width in pixels --404border %Pixels #IMPLIED -- suggested link border width --405hspace %Pixels #IMPLIED -- suggested horizontal gutter --406vspace %Pixels #IMPLIED -- suggested vertical gutter --407usemap %URL #IMPLIED -- use client-side image map --408ismap (ismap) #IMPLIED -- use server image map --409lowsrc %URL #IMPLIED410>411]]>412413<![ %HTML.3.2.Conflict [414<!ATTLIST IMG415src %URL #REQUIRED -- URL of image to embed --416alt CDATA #IMPLIED -- for display in place of image --417align (%IAlign) #IMPLIED -- vertical or horizontal alignment --418height %Pixels #IMPLIED -- suggested height in pixels --419width %Pixels #IMPLIED -- suggested width in pixels --420border %Pixels #IMPLIED -- suggested link border width --421hspace %Pixels #IMPLIED -- suggested horizontal gutter --422vspace %Pixels #IMPLIED -- suggested vertical gutter --423usemap %URL #IMPLIED -- use client-side image map --424ismap (ismap) #IMPLIED -- use server image map --425>426]]>427428<!-- USEMAP points to a MAP element which may be in this document429or an external document, although the latter is not widely supported -->430431<!--=================== Java APPLET tag ===================================-->432<!--433This tag is supported by all java enabled browsers. Applet resources434(including their classes) are normally loaded relative to the document435URL (or <BASE> element if it is defined). The CODEBASE attribute is used436to change this default behavior. If the CODEBASE attribute is defined then437it specifies a different location to find applet resources. The value438can be an absolute URL or a relative URL. The absolute URL is used as is439without modification and is not effected by the documents <BASE> element.440When the codebase attribute is relative, then it is relative to the441document URL (or <BASE> tag if defined).442-->443<![ %HTML.HotJava [444<!ELEMENT APPLET - - (%flow|%heading|%form|TR|TD)* +(PARAM)>445<!ATTLIST APPLET446codebase %URL #IMPLIED -- code base --447code CDATA #IMPLIED -- class file --448alt CDATA #IMPLIED -- for display in place of applet --449name CDATA #IMPLIED -- applet name --450archive CDATA #IMPLIED -- archive attribute for jar files --451width %Pixels #REQUIRED -- suggested width in pixels --452height %Pixels #REQUIRED -- suggested height in pixels --453align (%IAlign) baseline -- vertical or horizontal alignment --454hspace %Pixels #IMPLIED -- suggested horizontal gutter --455vspace %Pixels #IMPLIED -- suggested vertical gutter --456>457]]>458459<![ %HTML.3.2.Conflict [460<!ELEMENT APPLET - - (%text)* +(PARAM)>461<!ATTLIST APPLET462codebase %URL #IMPLIED -- code base --463code CDATA #REQUIRED -- class file --464alt CDATA #IMPLIED -- for display in place of applet --465name CDATA #IMPLIED -- applet name --466width %Pixels #REQUIRED -- suggested width in pixels --467height %Pixels #REQUIRED -- suggested height in pixels --468align (%IAlign) #IMPLIED -- vertical or horizontal alignment --469hspace %Pixels #IMPLIED -- suggested horizontal gutter --470vspace %Pixels #IMPLIED -- suggested vertical gutter --471>472]]>473474475<!-- This tag is used by both the APPLET tag and the OBJECT tag. -->476<!ELEMENT PARAM - O EMPTY>477<!ATTLIST PARAM478name NAME #REQUIRED -- The name of the parameter --479value CDATA #IMPLIED -- The value of the parameter --480valuetype (DATA|REF|OBJECT) DATA -- How to interpret value (OBJECT tag specific) --481type CDATA #IMPLIED -- Internet media type (OBJECT tag specific) --482>483484<!--485Here is an example:486487<applet codebase="applets/NervousText"488code=NervousText.class489width=300490height=50>491<param name=text value="Java is Cool!">492<img src=sorry.gif alt="This looks better with Java support">493</applet>494-->495<!--=================== Object Tag ===================================-->496497<!--498The OBJECT element is used to insert an object into an HTML document.499It requires both start and end tags. The OBJECT element has the same500content model as the HTML BODY element, except that one or more optional501PARAM elements can be placed immediately after the OBJECT start tag and502used to initialize the inserted object. The content of the OBJECT503element is rendered if the object specified by the CLASSID, CODEBASE and504DATA attributes can't be rendered (user agents may choose to display the505content of the OBJECT element if displaying the actual element will take506a long time to render). This provides for backwards compatibility with507existing browsers, and allows authors to specify alternative media via508nested OBJECT elements.509-->510511<!-- This is identical to the HMTL3.2 body.content entity.512It differs from the HotJava body.content in that it doesnt513have FRAMESET and NOFRAMES elements.514-->515<!ENTITY % bodytext "(%heading | %flow | ADDRESS)*">516517<!-- OBJECT is a character-like element for inserting objects -->518519<![ %HTML.3.2.Conflict [520<!ELEMENT OBJECT - - (param | %bodytext)*>521]]>522523<![ %HTML.HotJava [524<!ELEMENT OBJECT - - (param | %bodytext | %form)*>525]]>526527528<!ATTLIST OBJECT529id ID #IMPLIED -- document wide unique id --530class CDATA #IMPLIED -- comma list of class values --531style CDATA #IMPLIED -- associated style info --532lang NAME #IMPLIED -- RFC 1766 language value --533dir (ltr|rtl) #IMPLIED -- default directionality --534declare (declare) #IMPLIED -- declare but don't instantiate flag --535classid %URL #IMPLIED -- identifies an implementation --536codebase %URL #IMPLIED -- some systems need an additional URL --537data %URL #IMPLIED -- reference to object's data --538type CDATA #IMPLIED -- Internet media type for data --539codetype CDATA #IMPLIED -- Internet media type for code --540standby CDATA #IMPLIED -- message to show while loading --541align (%IAlign) #IMPLIED -- positioning inside document --542height %Length #IMPLIED -- suggested height --543width %Length #IMPLIED -- suggested width --544border %Length #IMPLIED -- suggested link border width --545hspace %Length #IMPLIED -- suggested horizontal gutter --546vspace %Length #IMPLIED -- suggested vertical gutter --547usemap %URL #IMPLIED -- reference to image map --548shapes (shapes) #IMPLIED -- object has shaped hypertext links --549name %URL #IMPLIED -- submit as part of form --550>551552553<!--=================== Horizontal Rule ===================================-->554555<!ELEMENT HR - O EMPTY>556<!ATTLIST HR557align (left|right|center) #IMPLIED558noshade (noshade) #IMPLIED559size %Pixels #IMPLIED560width %Length #IMPLIED561>562<!--=================== Paragraphs=========================================-->563564<!ELEMENT P - O (%text)*>565<!ATTLIST P566align (left|center|right) #IMPLIED567>568569<!--=================== Headings ==========================================-->570571<!--572There are six levels of headers from H1 (the most important)573to H6 (the least important).574-->575576<![ %HTML.HotJava [577<!ELEMENT ( %heading ) - - (IMG|br|hr|center|%text;)*>578]]>579580581<![ %HTML.3.2.Conflict [582<!ELEMENT ( %heading ) - - (%text;)*>583]]>584585<!ATTLIST ( %heading )586align (left|center|right) #IMPLIED587>588589<!--=================== Preformatted Text =================================-->590591<!-- excludes images and changes in font size -->592593<![ %HTML.HotJava [594<!ENTITY % pre.exclusions "BIG|SMALL|SUB|SUP">595]]>596597<![ %HTML.3.2.Conflict [598<!ENTITY % pre.exclusions "IMG|BIG|SMALL|SUB|SUP|FONT">599]]>600601<![ %HTML.HotJava [602<!ELEMENT PRE - - (%text)* +(HR|P)>603]]>604605<![ %HTML.3.2.Conflict [606<!ELEMENT PRE - - (%text)* -(%pre.exclusion)>607]]>608609<!ATTLIST PRE610width NUMBER #implied -- is this widely supported? --611>612613<![ %HTML.Deprecated [614615<!ENTITY % literal "CDATA"616-- historical, non-conforming parsing mode where617the only markup signal is the end tag618in full619-->620621<!ELEMENT (XMP|LISTING) - - %literal>622<!ELEMENT PLAINTEXT - O %literal>623624]]>625626<!--=================== Block-like Quotes =================================-->627628<!ELEMENT BLOCKQUOTE - - %body.content>629630<!--=================== Lists =============================================-->631632<!--633HTML 3.2 allows you to control the sequence number for ordered lists.634You can set the sequence number with the START and VALUE attributes.635The TYPE attribute may be used to specify the rendering of ordered636and unordered lists.637-->638639<!-- definition lists - DT for term, DD for its definition -->640641642<!--643Changed to enable hotjava to read netscape bookmarks.644-->645<![ %HTML.HotJava [646<!ELEMENT DL - - (P|DL|DT|DD)*>647]]>648649<![ %HTML.3.2.Conflict [650<!ELEMENT DL - - (DT|DD)*>651]]>652653<!ATTLIST DL654compact (compact) #IMPLIED -- more compact style --655>656<!--657Changed to enable hotjava to read netscape bookmarks.658Also hotjava's hotlist uses the same format to save its659bookmarks.660-->661<![ %HTML.HotJava [662<!ELEMENT DT - O (%heading|%text)*>663]]>664665<![ %HTML.3.2.Conflict [666<!ELEMENT DT - O (%text)*>667]]>668669<!ELEMENT DD - O %flow;>670671<!-- Ordered lists OL, and unordered lists UL -->672<![ %HTML.3.2.Conflict [673<!ELEMENT (OL|UL) - - (LI)*>674]]>675676<!-- Ordered lists OL, and unordered lists UL -->677<![ %HTML.HotJava [678<!ELEMENT (OL|UL) - - (P|BR|%text|OL|UL|LI)*>679]]>680681<!--682Numbering style6831 arablic numbers 1, 2, 3, ...684a lower alpha a, b, c, ...685A upper alpha A, B, C, ...686i lower roman i, ii, iii, ...687I upper roman I, II, III, ...688689The style is applied to the sequence number which by default690is reset to 1 for the first list item in an ordered list.691692This can't be expressed directly in SGML due to case folding.693-->694695<!ENTITY % OLStyle "CDATA" -- constrained to: [1|a|A|i|I] -->696697<![ %HTML.HotJava [698<!ATTLIST OL -- ordered lists --699type %OLStyle "1" -- numbering style --700start NUMBER #IMPLIED -- starting sequence number --701compact (compact) #IMPLIED -- reduced interitem spacing --702>703]]>704705<![ %HTML.3.2.Conflict [706<!ATTLIST OL -- ordered lists --707type %OLStyle #IMPLIED -- numbering style --708start NUMBER #IMPLIED -- starting sequence number --709compact (compact) #IMPLIED -- reduced interitem spacing --710>711]]>712713<!-- bullet styles -->714715<!ENTITY % ULStyle "disc|square|circle">716717<!ATTLIST UL -- unordered lists --718type (%ULStyle) #IMPLIED -- bullet style --719compact (compact) #IMPLIED -- reduced interitem spacing --720>721722<![ %HTML.HotJava [723<!ELEMENT (DIR|MENU) - - (%list|%text|LI)* -(%preformatted | DL | DIV | CENTER |724BLOCKQUOTE | FORM | ISINDEX | HR | TABLE | OBJECT) +(P)>725]]>726727<![ %HTML.3.2.Conflict [728<!ELEMENT (DIR|MENU) - - (LI)* -(%block)>729]]>730731<!ATTLIST DIR732compact (compact) #IMPLIED733>734<!ATTLIST MENU735compact (compact) #IMPLIED736>737738<!-- <DIR> Directory list -->739<!-- <DIR COMPACT> Compact list style -->740<!-- <MENU> Menu list -->741<!-- <MENU COMPACT> Compact list style -->742743<!-- The type attribute can be used to change the bullet style744in unordered lists and the numbering style in ordered lists -->745746<!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle|%OLStyle)" -->747748<![ %HTML.HotJava [749<!ELEMENT LI - O (%flow|%heading)* -- list item -->750]]>751752<![ %HTML.3.2.Conflict [753<!ELEMENT LI - O %flow -- list item -->754]]>755756<!ATTLIST LI757type %LIStyle #IMPLIED -- list item style --758value NUMBER #IMPLIED -- reset sequence number --759>760761<!--================ Forms ===============================================-->762763<!ELEMENT FORM - - %body.content -(FORM)>764<!ATTLIST FORM765action %URL #IMPLIED -- server-side form handler --766method (%HTTP-Method) GET -- see HTTP specification --767enctype %Content-Type; "application/x-www-form-urlencoded"768>769770<!ENTITY % InputType771"(TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT772| RESET | FILE | HIDDEN | IMAGE)">773774<!ELEMENT INPUT - O EMPTY>775776<![ %HTML.HotJava [777<!ATTLIST INPUT778type %InputType TEXT -- what kind of widget is needed --779name CDATA #IMPLIED -- required for all but submit and reset --780value CDATA #IMPLIED -- required for radio and checkboxes --781border %Pixels #IMPLIED -- suggested image border width --782checked (checked) #IMPLIED -- for radio buttons and check boxes --783size CDATA #IMPLIED -- specific to each type of field --784maxlength NUMBER #IMPLIED785src %URL #IMPLIED -- for fields with background images --786align (top|middle|bottom|left|right) top -- image alignment --787>788]]>789790791<![ %HTML.3.2.Conflict [792<!ATTLIST INPUT793type %InputType TEXT -- what kind of widget is needed --794name CDATA #IMPLIED -- required for all but submit and reset --795value CDATA #IMPLIED -- required for radio and checkboxes --796checked (checked) #IMPLIED -- for radio buttons and check boxes --797size CDATA #IMPLIED -- specific to each type of field --798maxlength NUMBER #IMPLIED799src %URL #IMPLIED -- for fields with background images --800align (top|middle|bottom|left|right) top -- image alignment --801>802]]>803804805<!ELEMENT SELECT - - (OPTION+)>806<!ATTLIST SELECT807name CDATA #REQUIRED808size NUMBER #IMPLIED809multiple (multiple) #IMPLIED810>811812<!ELEMENT OPTION - O (#PCDATA)*>813<!ATTLIST OPTION814selected (selected) #IMPLIED815value CDATA #IMPLIED -- defaults to element content --816>817818<!-- Multi-line text input field. -->819820<!ELEMENT TEXTAREA - - (#PCDATA)*>821<!ATTLIST TEXTAREA822name CDATA #REQUIRED823rows NUMBER #REQUIRED824cols NUMBER #REQUIRED825>826827<!--======================= Tables ========================================-->828829<!-- Widely deployed subset of the full table standard, see RFC 1942830e.g. at http://www.ics.uci.edu/pub/ietf/html/rfc1942.txt -->831832<!-- horizontal placement of table relative to window -->833<!ENTITY % Where "(left|center|right)">834835<!-- horizontal alignment attributes for cell contents -->836<!ENTITY % cell.halign837"align (left|center|right) #IMPLIED"838>839840<!-- vertical alignment attributes for cell contents -->841<!ENTITY % cell.valign842"valign (top|middle|bottom|baseline) #IMPLIED"843>844845<![ %HTML.HotJava [846<!ELEMENT table - - (tr|caption)* -- a little more forgiving -->847]]>848849<![ %HTML.3.2.Conflict [850<!ELEMENT table - - (caption?, tr+)>851]]>852853<!-- added to enable some pages like the nbc and apple pages to display correctly -->854<![ %HTML.HotJava [855<!ELEMENT tr - O (td|th|SCRIPT|MAP)*>856]]>857858<![ %HTML.3.2.Conflict [859<!ELEMENT tr - O (td|th)*>860]]>861862<!ELEMENT (th|td) - O %body.content>863864865<![ %HTML.HotJava [866867<!ATTLIST table -- table element --868align %Where; #IMPLIED -- table position relative to window --869width %Length #IMPLIED -- table width relative to window --870border %Pixels #IMPLIED -- controls frame width around table --871cellspacing %Pixels #IMPLIED -- spacing between cells --872cellpadding %Pixels #IMPLIED -- spacing within cells --873bgcolor %color #IMPLIED -- def background color of all cells --874>875]]>876877<![ %HTML.3.2.Conflict [878<!ATTLIST table -- table element --879align %Where; #IMPLIED -- table position relative to window --880width %Length #IMPLIED -- table width relative to window --881border %Pixels #IMPLIED -- controls frame width around table --882cellspacing %Pixels #IMPLIED -- spacing between cells --883cellpadding %Pixels #IMPLIED -- spacing within cells --884>885]]>886887<![ %HTML.HotJava [888<!ELEMENT CAPTION - - %body.content -- table or figure caption -->889]]>890891892<![ %HTML.3.2.Conflict [893<!ELEMENT CAPTION - - (%text;)* -- table or figure caption -->894]]>895896<![ %HTML.HotJava [897<!ATTLIST CAPTION898align (top|bottom) top899>900]]>901902<![ %HTML.3.2.Conflict [903<!ATTLIST CAPTION904align (top|bottom) #IMPLIED905>906]]>907908<![ %HTML.HotJava [909<!ATTLIST tr -- table row --910%cell.halign; -- horizontal alignment in cells --911%cell.valign; -- vertical alignment in cells --912bgcolor %color #IMPLIED -- def bkg color for cells in row --913>914]]>915916<![ %HTML.3.2.Conflict [917<!ATTLIST tr -- table row --918%cell.halign; -- horizontal alignment in cells --919%cell.valign; -- vertical alignment in cells --920>921]]>922923<![ %HTML.HotJava [924925<!ATTLIST (th|td) -- header or data cell --926nowrap (nowrap) #IMPLIED -- suppress word wrap --927bgcolor %color #IMPLIED -- cell background color --928rowspan NUMBER 1 -- number of rows spanned by cell --929colspan NUMBER 1 -- number of cols spanned by cell --930%cell.halign; -- horizontal alignment in cell --931%cell.valign; -- vertical alignment in cell --932width %Length #IMPLIED -- suggested width for cell --933height %Length #IMPLIED -- suggested height for cell --934>935]]>936937<![ %HTML.3.2.Conflict [938<!ATTLIST (th|td) -- header or data cell --939nowrap (nowrap) #IMPLIED -- suppress word wrap --940rowspan NUMBER 1 -- number of rows spanned by cell --941colspan NUMBER 1 -- number of cols spanned by cell --942%cell.halign; -- horizontal alignment in cell --943%cell.valign; -- vertical alignment in cell --944width %Pixels #IMPLIED -- suggested width for cell --945height %Pixels #IMPLIED -- suggested height for cell --946>947]]>948949950951<!--================ Document Head ========================================-->952953<!-- %head.misc defined earlier on as "SCRIPT|STYLE|META|LINK" -->954955<![ %HTML.HotJava [956<!ENTITY % head.content "TITLE? & ISINDEX? & BASE? & NEXTID?">957]]>958959<![ %HTML.3.2.Conflict [960<!ENTITY % head.content "TITLE & ISINDEX? & BASE?">961]]>962963<!ELEMENT HEAD O O (%head.content) +(%head.misc)>964965<!ELEMENT TITLE - - (#PCDATA)* -(%head.misc)966-- The TITLE element is not considered part of the flow of text.967It should be displayed, for example as the page header or968window title.969-->970971<!ELEMENT ISINDEX - O EMPTY>972<!ATTLIST ISINDEX973prompt CDATA #IMPLIED -- prompt message -->974975976977<!--978The BASE element gives an absolute URL for dereferencing relative979URLs, e.g.980981<BASE href="http://foo.com/index.html">982...983<IMG SRC="images/bar.gif">984985The image is deferenced to986987http://foo.com/images/bar.gif988989In the absence of a BASE element the document URL should be used.990Note that this is not necessarily the same as the URL used to991request the document, as the base URL may be overridden by an HTTP992header accompanying the document.993-->994995<!ELEMENT BASE - O EMPTY>996997<![ %HTML.3.2.Conflict [998<!ATTLIST BASE href %URL #REQUIRED>999]]>10001001<![ %HTML.HotJava [1002<!ATTLIST BASE1003href %URL #IMPLIED1004target CDATA #IMPLIED1005>1006]]>10071008<!ELEMENT META - O EMPTY -- Generic Metainformation -->1009<!ATTLIST META1010http-equiv NAME #IMPLIED -- HTTP response header name --1011name NAME #IMPLIED -- metainformation name --1012content CDATA #REQUIRED -- associated information --1013>10141015<!-- SCRIPT/STYLE are place holders for transition to next version of HTML -->10161017<!ELEMENT STYLE - - (#PCDATA)* -(%head.misc) -- style info -->10181019<![ %HTML.3.2.Conflict [1020<!ELEMENT SCRIPT - - (#PCDATA)* -(%head.misc) -- script statements -->1021]]>10221023<!-- this definition of script for hotjava is done so that all html tags1024that occur within the script tags can be ignored - given that1025currently hotjava does not support javascript. -->10261027<![ %HTML.HotJava [1028<!ELEMENT SCRIPT - - %body.content -(%head.misc) -- script statements -->1029]]>10301031<![ %HTML.HotJava [1032<!ATTLIST SCRIPT1033language CDATA #IMPLIED1034>1035]]>10361037<!--================ Document Structure ===================================-->10381039<!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'">10401041<![ %HTML.Deprecated [1042<!ENTITY % html.content "HEAD, BODY, PLAINTEXT?">1043]]>1044<!ENTITY % html.content "HEAD, BODY">10451046<!ELEMENT HTML O O (%html.content)>1047<!ATTLIST HTML1048%version.attr;1049>10501051<!--================ HotJava Specials =====================================-->10521053<!ELEMENT THEAD - O (TR)+>1054<!ELEMENT TFOOT - O (TR)+>1055<!ELEMENT TBODY O O (TR)+>10561057<!ELEMENT SPAN - - (%text)*>10581059<!ELEMENT BLINK - - ANY>10601061<!ELEMENT NOBR - - (%text)+>1062<!ELEMENT WBR - O EMPTY>10631064<!ELEMENT NEXTID - O EMPTY>1065<!ATTLIST NEXTID1066n CDATA #REQUIRED>10671068<!ELEMENT FRAMESET - O (FRAMESET|FRAME|NOFRAMES)*>1069<!ATTLIST FRAMESET1070rows CDATA #IMPLIED1071cols CDATA #IMPLIED1072>10731074<!ELEMENT FRAME - O EMPTY>1075<!ATTLIST FRAME1076src CDATA #IMPLIED1077name CDATA #IMPLIED1078frameborder NUMBER 1 -- the DTD says (1|0) --1079marginwidth NUMBER #IMPLIED1080marginheight NUMBER #IMPLIED1081scrolling (yes|no|auto) AUTO1082noresize (noresize) #IMPLIED1083>10841085<!ELEMENT NOFRAMES - - CDATA>10861087<!ELEMENT NOHOTJAVA - - CDATA>10881089<!ELEMENT ANIMATE - - CDATA>10901091<!ELEMENT NOSCRIPT - - (%block)+>109210931094