Movatterモバイル変換


[0]ホーム

URL:


 previous next  contents  elements  attributes  index

21DocumentType Definition

<!--    This is HTML 4.01 Strict DTD, which excludes the presentation     attributes and elements that W3C expects to phase out as     support for style sheets matures. Authors should use the Strict    DTD when possible, but may use the Transitional DTD when support    for presentation attribute and elements is required.        HTML 4 includes mechanisms for style sheets, scripting,    embedding objects, improved support for right to left and mixed    direction text, and enhancements to forms for improved    accessibility for people with disabilities.          Draft: $Date: 2018/03/20 02:36:52 $          Authors:              Dave Raggett <dsr@w3.org>              Arnaud Le Hors <lehors@w3.org>              Ian Jacobs <ij@w3.org>    Further information about HTML 4.01 is available at:http://www.w3.org/TR/1999/REC-html401-19991224    The HTML 4.01 specification includes additional    syntactic constraints that cannot be expressed within    the DTDs.--><!--    Typical usage:    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"            "http://www.w3.org/TR/html4/strict.dtd">    <html>    <head>    ...    </head>    <body>    ...    </body>    </html>    The URI used as a system identifier with the public identifier allows    the user agent to download the DTD and entity sets as needed.    The FPI for the Transitional HTML 4.01 DTD is:        "-//W3C//DTD HTML 4.01 Transitional//EN"    This version of the transitional DTD is:        http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd    If you are writing a document that includes frames, use     the following FPI:        "-//W3C//DTD HTML 4.01 Frameset//EN"    This version of the frameset DTD is:        http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd    Use the following (relative) URIs to refer to     the DTDs and entity definitions of this specification:    "strict.dtd"    "loose.dtd"    "frameset.dtd"    "HTMLlat1.ent"    "HTMLsymbol.ent"    "HTMLspecial.ent"--><!--================== Imported Names ====================================--><!-- Feature Switch for frameset documents --><!ENTITY %HTML.Frameset "IGNORE"><!ENTITY %ContentType "CDATA"    -- media type, as per[RFC2045]    --><!ENTITY %ContentTypes "CDATA"    -- comma-separated list of media types, as per[RFC2045]    --><!ENTITY %Charset "CDATA"    -- a character encoding, as per[RFC2045]    --><!ENTITY %Charsets "CDATA"    -- a space-separated list of character encodings, as per[RFC2045]    --><!ENTITY %LanguageCode "NAME"    -- a language code, as per[RFC1766]    --><!ENTITY %Character "CDATA"    -- a single character from[ISO10646]     --><!ENTITY %LinkTypes "CDATA"    -- space-separated list of link types    --><!ENTITY %MediaDesc "CDATA"    -- single or comma-separated list of media descriptors    --><!ENTITY %URI "CDATA"    -- a Uniform Resource Identifier,       see[URI]    --><!ENTITY %Datetime "CDATA" -- date and time information. ISO date format --><!ENTITY %Script "CDATA" -- script expression --><!ENTITY %StyleSheet "CDATA" -- style sheet data --><!ENTITY %Text "CDATA"><!-- Parameter Entities --><!ENTITY %head.misc "SCRIPT|STYLE|META|LINK|OBJECT" -- repeatable head elements --><!ENTITY %heading "H1|H2|H3|H4|H5|H6"><!ENTITY %list "UL |OL"><!ENTITY %preformatted "PRE"><!--================ Character mnemonic entities =========================--><!ENTITY %HTMLlat1 PUBLIC   "-//W3C//ENTITIES Latin1//EN//HTML"   "HTMLlat1.ent">%HTMLlat1;<!ENTITY %HTMLsymbol PUBLIC   "-//W3C//ENTITIES Symbols//EN//HTML"   "HTMLsymbol.ent">%HTMLsymbol;<!ENTITY %HTMLspecial PUBLIC   "-//W3C//ENTITIES Special//EN//HTML"   "HTMLspecial.ent">%HTMLspecial;<!--=================== Generic Attributes ===============================--><!ENTITY %coreattrs "idID             #IMPLIED  -- document-wide unique id --classCDATA          #IMPLIED  -- space-separated list of classes --style%StyleSheet;   #IMPLIED  -- associated style info --title%Text;         #IMPLIED  -- advisory title --"  ><!ENTITY %i18n "lang%LanguageCode; #IMPLIED  -- language code --dir         (ltr|rtl)      #IMPLIED  -- direction for weak/neutral text --"  ><!ENTITY %events "onclick%Script;       #IMPLIED  -- a pointer button was clicked --ondblclick%Script;       #IMPLIED  -- a pointer button was double clicked--onmousedown%Script;       #IMPLIED  -- a pointer button was pressed down --onmouseup%Script;       #IMPLIED  -- a pointer button was released --onmouseover%Script;       #IMPLIED  -- a pointer was moved onto --onmousemove%Script;       #IMPLIED  -- a pointer was moved within --onmouseout%Script;       #IMPLIED  -- a pointer was moved away --onkeypress%Script;       #IMPLIED  -- a key was pressed and released --onkeydown%Script;       #IMPLIED  -- a key was pressed down --onkeyup%Script;       #IMPLIED  -- a key was released --"  ><!-- Reserved Feature Switch --><!ENTITY %HTML.Reserved "IGNORE"><!-- The following attributes are reserved for possible future use --><![%HTML.Reserved; [<!ENTITY %reserved "datasrc%URI;          #IMPLIED  -- a single or tabular Data Source --datafldCDATA          #IMPLIED  -- the property or column name --dataformatas (plaintext|html) plaintext -- text or html --"  >]]><!ENTITY % reserved ""><!ENTITY %attrs "%coreattrs;%i18n;%events;"><!--=================== Text Markup ======================================--><!ENTITY %fontstyle "TT |I |B |BIG |SMALL"><!ENTITY %phrase "EM |STRONG |DFN |CODE |SAMP |KBD |VAR |CITE |ABBR |ACRONYM" ><!ENTITY %special   "A | IMG | OBJECT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO"><!ENTITY %formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON"><!--%inline; covers inline or "text-level" elements --><!ENTITY %inline "#PCDATA |%fontstyle; |%phrase; |%special; |%formctrl;"><!ELEMENT (%fontstyle;|%phrase;) - - (%inline;)*><!ATTLIST (%fontstyle;|%phrase;)%attrs;                              --%coreattrs,%i18n,%events --  ><!ELEMENT (SUB|SUP) - - (%inline;)*    -- subscript, superscript --><!ATTLIST (SUB|SUP)%attrs;                              --%coreattrs,%i18n,%events --  ><!ELEMENTSPAN - - (%inline;)*         -- generic language/style container --><!ATTLIST SPAN%attrs;                              --%coreattrs,%i18n,%events --%reserved;                   -- reserved for possible future use --  ><!ELEMENTBDO - - (%inline;)*          -- I18N BiDi over-ride --><!ATTLIST BDO%coreattrs;                          -- id, class, style, title --lang%LanguageCode; #IMPLIED  -- language code --dir         (ltr|rtl)      #REQUIRED -- directionality --  ><!ELEMENTBR - O EMPTY                 -- forced line break --><!ATTLIST BR%coreattrs;                          -- id, class, style, title --  ><!--================== HTML content models ===============================--><!--    HTML has two basic content models:%inline;     character level elements and text strings%block;      block-like elements e.g. paragraphs and lists--><!ENTITY %block     "P |%heading; |%list; |%preformatted; | DL | DIV | NOSCRIPT |      BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS"><!ENTITY %flow "%block; |%inline;"><!--=================== Document Body ====================================--><!ELEMENTBODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body --><!ATTLIST BODY%attrs;                              --%coreattrs,%i18n,%events --onload%Script;   #IMPLIED  -- the document has been loaded --onunload%Script;   #IMPLIED  -- the document has been removed --  ><!ELEMENT ADDRESS - - (%inline;)* -- information on author --><!ATTLIST ADDRESS%attrs;                              --%coreattrs,%i18n,%events --  ><!ELEMENTDIV - - (%flow;)*            -- generic language/style container --><!ATTLIST DIV%attrs;                              --%coreattrs,%i18n,%events --%reserved;                           -- reserved for possible future use --  ><!--================== The Anchor Element ================================--><!ENTITY %Shape "(rect|circle|poly|default)"><!ENTITY %Coords "CDATA" -- comma-separated list of lengths --><!ELEMENTA - - (%inline;)* -(A)       -- anchor --><!ATTLIST A%attrs;                              --%coreattrs,%i18n,%events --charset%Charset;      #IMPLIED  -- char encoding of linked resource --type%ContentType;  #IMPLIED  -- advisory content type --nameCDATA          #IMPLIED  -- named link end --href%URI;          #IMPLIED  -- URI for linked resource --hreflang%LanguageCode; #IMPLIED  -- language code --rel%LinkTypes;    #IMPLIED  -- forward link types --rev%LinkTypes;    #IMPLIED  -- reverse link types --accesskey%Character;    #IMPLIED  -- accessibility key character --shape%Shape;        rect      -- for use with client-side image maps --coords%Coords;       #IMPLIED  -- for use with client-side image maps --tabindexNUMBER         #IMPLIED  -- position in tabbing order --onfocus%Script;       #IMPLIED  -- the element got the focus --onblur%Script;       #IMPLIED  -- the element lost the focus --  ><!--================== Client-side image maps ============================--><!-- These can be placed in the same document or grouped in a     separate document although this isn't yet widely supported --><!ELEMENTMAP - - ((%block;) | AREA)+ -- client-side image map --><!ATTLIST MAP%attrs;                              --%coreattrs,%i18n,%events --nameCDATA          #REQUIRED -- for reference by usemap --  ><!ELEMENTAREA - O EMPTY               -- client-side image map area --><!ATTLIST AREA%attrs;                              --%coreattrs,%i18n,%events --shape%Shape;        rect      -- controls interpretation of coords --coords%Coords;       #IMPLIED  -- comma-separated list of lengths --href%URI;          #IMPLIED  -- URI for linked resource --nohref      (nohref)       #IMPLIED  -- this region has no action --alt%Text;         #REQUIRED -- short description --tabindexNUMBER         #IMPLIED  -- position in tabbing order --accesskey%Character;    #IMPLIED  -- accessibility key character --onfocus%Script;       #IMPLIED  -- the element got the focus --onblur%Script;       #IMPLIED  -- the element lost the focus --  ><!--================== The LINK Element ==================================--><!--  Relationship values can be used in principle:   a) for document specific toolbars/menus when used      with the LINK element in document head e.g.        start, contents, previous, next, index, end, help   b) to link to a separate style sheet (rel=stylesheet)   c) to make a link to a script (rel=script)   d) by stylesheets to control how collections of      html nodes are rendered into printed documents   e) to make a link to a printable version of this document      e.g. a postscript or pdf version (rel=alternate media=print)--><!ELEMENTLINK - O EMPTY               -- a media-independent link --><!ATTLIST LINK%attrs;                              --%coreattrs,%i18n,%events --charset%Charset;      #IMPLIED  -- char encoding of linked resource --href%URI;          #IMPLIED  -- URI for linked resource --hreflang%LanguageCode; #IMPLIED  -- language code --type%ContentType;  #IMPLIED  -- advisory content type --rel%LinkTypes;    #IMPLIED  -- forward link types --rev%LinkTypes;    #IMPLIED  -- reverse link types --media%MediaDesc;    #IMPLIED  -- for rendering on these media --  ><!--=================== Images ===========================================--><!-- Length defined in strict DTD for cellpadding/cellspacing --><!ENTITY %Length "CDATA" -- nn for pixels or nn% for percentage length --><!ENTITY %MultiLength "CDATA" -- pixel, percentage, or relative --><![%HTML.Frameset; [<!ENTITY %MultiLengths "CDATA" -- comma-separated list of MultiLength -->]]><!ENTITY %Pixels "CDATA" -- integer representing length in pixels --><!-- To avoid problems with text-only UAs as well as    to make image content understandable and navigable    to users of non-visual UAs, you need to provide   a description with ALT, and avoid server-side image maps --><!ELEMENTIMG - O EMPTY                -- Embedded image --><!ATTLIST IMG%attrs;                              --%coreattrs,%i18n,%events --src%URI;          #REQUIRED -- URI of image to embed --alt%Text;         #REQUIRED -- short description --longdesc%URI;          #IMPLIED  -- link to long description                                          (complements alt) --nameCDATA          #IMPLIED  -- name of image for scripting --height%Length;       #IMPLIED  -- override height --width%Length;       #IMPLIED  -- override width --usemap%URI;          #IMPLIED  -- use client-side image map --ismap       (ismap)        #IMPLIED  -- use server-side image map --  ><!-- USEMAP points to a MAP element which may be in this document  or an external document, although the latter is not widely supported --><!--==================== OBJECT ======================================--><!--  OBJECT is used to embed objects as part of HTML pages   PARAM elements should precede other content. SGML mixed content  model technicality precludes specifying this formally ...--><!ELEMENTOBJECT - - (PARAM |%flow;)* -- generic embedded object --><!ATTLIST OBJECT%attrs;                              --%coreattrs,%i18n,%events --declare     (declare)      #IMPLIED  -- declare but don't instantiate flag --classid%URI;          #IMPLIED  -- identifies an implementation --codebase%URI;          #IMPLIED  -- base URI for classid, data, archive--data%URI;          #IMPLIED  -- reference to object's data --type%ContentType;  #IMPLIED  -- content type for data --codetype%ContentType;  #IMPLIED  -- content type for code --archiveCDATA          #IMPLIED  -- space-separated list of URIs --standby%Text;         #IMPLIED  -- message to show while loading --height%Length;       #IMPLIED  -- override height --width%Length;       #IMPLIED  -- override width --usemap%URI;          #IMPLIED  -- use client-side image map --nameCDATA          #IMPLIED  -- submit as part of form --tabindexNUMBER         #IMPLIED  -- position in tabbing order --%reserved;                           -- reserved for possible future use --  ><!ELEMENTPARAM - O EMPTY              -- named property value --><!ATTLIST PARAMidID             #IMPLIED  -- document-wide unique id --nameCDATA          #REQUIRED -- property name --valueCDATA          #IMPLIED  -- property value --valuetype   (DATA|REF|OBJECT) DATA   -- How to interpret value --type%ContentType;  #IMPLIED  -- content type for value                                          when valuetype=ref --  ><!--=================== Horizontal Rule ==================================--><!ELEMENTHR - O EMPTY -- horizontal rule --><!ATTLIST HR%attrs;                              --%coreattrs,%i18n,%events --  ><!--=================== Paragraphs =======================================--><!ELEMENTP - O (%inline;)*            -- paragraph --><!ATTLIST P%attrs;                              --%coreattrs,%i18n,%events --  ><!--=================== Headings =========================================--><!--  There are six levels of headings from H1 (the most important)  to H6 (the least important).--><!ELEMENT (%heading;)  - - (%inline;)* -- heading --><!ATTLIST (%heading;)%attrs;                              --%coreattrs,%i18n,%events --  ><!--=================== Preformatted Text ================================--><!-- excludes markup for images and changes in font size --><!ENTITY %pre.exclusion "IMG|OBJECT|BIG|SMALL|SUB|SUP"><!ELEMENTPRE - - (%inline;)* -(%pre.exclusion;) -- preformatted text --><!ATTLIST PRE%attrs;                              --%coreattrs,%i18n,%events --  ><!--===================== Inline Quotes ==================================--><!ELEMENTQ - - (%inline;)*            -- short inline quotation --><!ATTLIST Q%attrs;                              --%coreattrs,%i18n,%events --cite%URI;          #IMPLIED  -- URI for source document or msg --  ><!--=================== Block-like Quotes ================================--><!ELEMENTBLOCKQUOTE - - (%block;|SCRIPT)+ -- long quotation --><!ATTLIST BLOCKQUOTE%attrs;                              --%coreattrs,%i18n,%events --cite%URI;          #IMPLIED  -- URI for source document or msg --  ><!--=================== Inserted/Deleted Text ============================--><!-- INS/DEL are handled by inclusion on BODY --><!ELEMENT (INS|DEL) - - (%flow;)*      -- inserted text, deleted text --><!ATTLIST (INS|DEL)%attrs;                              --%coreattrs,%i18n,%events --cite%URI;          #IMPLIED  -- info on reason for change --datetime%Datetime;     #IMPLIED  -- date and time of change --  ><!--=================== Lists ============================================--><!-- definition lists - DT for term, DD for its definition --><!ELEMENTDL - - (DT|DD)+              -- definition list --><!ATTLIST DL%attrs;                              --%coreattrs,%i18n,%events --  ><!ELEMENTDT - O (%inline;)*           -- definition term --><!ELEMENTDD - O (%flow;)*             -- definition description --><!ATTLIST (DT|DD)%attrs;                              --%coreattrs,%i18n,%events --  ><!ELEMENTOL - - (LI)+                 -- ordered list --><!ATTLIST OL%attrs;                              --%coreattrs,%i18n,%events --  ><!-- Unordered Lists (UL) bullet styles --><!ELEMENTUL - - (LI)+                 -- unordered list --><!ATTLIST UL%attrs;                              --%coreattrs,%i18n,%events --  ><!ELEMENTLI - O (%flow;)*             -- list item --><!ATTLIST LI%attrs;                              --%coreattrs,%i18n,%events --  ><!--================ Forms ===============================================--><!ELEMENTFORM - - (%block;|SCRIPT)+ -(FORM) -- interactive form --><!ATTLIST FORM%attrs;                              --%coreattrs,%i18n,%events --action%URI;          #REQUIRED -- server-side form handler --method      (GET|POST)     GET       -- HTTP method used to submit the form--enctype%ContentType;  "application/x-www-form-urlencoded"accept%ContentTypes; #IMPLIED  -- list of MIME types for file upload --nameCDATA          #IMPLIED  -- name of form for scripting --onsubmit%Script;       #IMPLIED  -- the form was submitted --onreset%Script;       #IMPLIED  -- the form was reset --accept-charset%Charsets;  #IMPLIED  -- list of supported charsets --  ><!-- Each label must not contain more than ONE field --><!ELEMENTLABEL - - (%inline;)* -(LABEL) -- form field label text --><!ATTLIST LABEL%attrs;                              --%coreattrs,%i18n,%events --forIDREF          #IMPLIED  -- matches field ID value --accesskey%Character;    #IMPLIED  -- accessibility key character --onfocus%Script;       #IMPLIED  -- the element got the focus --onblur%Script;       #IMPLIED  -- the element lost the focus --  ><!ENTITY %InputType  "(TEXT | PASSWORD | CHECKBOX |    RADIO | SUBMIT | RESET |    FILE | HIDDEN | IMAGE | BUTTON)"   ><!-- attribute name required for all but submit and reset --><!ELEMENTINPUT - O EMPTY              -- form control --><!ATTLIST INPUT%attrs;                              --%coreattrs,%i18n,%events --type%InputType;    TEXT      -- what kind of widget is needed --nameCDATA          #IMPLIED  -- submit as part of form --valueCDATA          #IMPLIED  -- Specify for radio buttons and checkboxes --checked     (checked)      #IMPLIED  -- for radio buttons and check boxes --disabled    (disabled)     #IMPLIED  -- unavailable in this context --readonly    (readonly)     #IMPLIED  -- for text and passwd --sizeCDATA          #IMPLIED  -- specific to each type of field --maxlengthNUMBER         #IMPLIED  -- max chars for text fields --src%URI;          #IMPLIED  -- for fields with images --altCDATA          #IMPLIED  -- short description --usemap%URI;          #IMPLIED  -- use client-side image map --ismap       (ismap)        #IMPLIED  -- use server-side image map --tabindexNUMBER         #IMPLIED  -- position in tabbing order --accesskey%Character;    #IMPLIED  -- accessibility key character --onfocus%Script;       #IMPLIED  -- the element got the focus --onblur%Script;       #IMPLIED  -- the element lost the focus --onselect%Script;       #IMPLIED  -- some text was selected --onchange%Script;       #IMPLIED  -- the element value was changed --accept%ContentTypes; #IMPLIED  -- list of MIME types for file upload --%reserved;                           -- reserved for possible future use --  ><!ELEMENTSELECT - - (OPTGROUP|OPTION)+ -- option selector --><!ATTLIST SELECT%attrs;                              --%coreattrs,%i18n,%events --nameCDATA          #IMPLIED  -- field name --sizeNUMBER         #IMPLIED  -- rows visible --multiple    (multiple)     #IMPLIED  -- default is single selection --disabled    (disabled)     #IMPLIED  -- unavailable in this context --tabindexNUMBER         #IMPLIED  -- position in tabbing order --onfocus%Script;       #IMPLIED  -- the element got the focus --onblur%Script;       #IMPLIED  -- the element lost the focus --onchange%Script;       #IMPLIED  -- the element value was changed --%reserved;                           -- reserved for possible future use --  ><!ELEMENTOPTGROUP - - (OPTION)+ -- option group --><!ATTLIST OPTGROUP%attrs;                              --%coreattrs,%i18n,%events --disabled    (disabled)     #IMPLIED  -- unavailable in this context --label%Text;         #REQUIRED -- for use in hierarchical menus --  ><!ELEMENTOPTION - O (#PCDATA)         -- selectable choice --><!ATTLIST OPTION%attrs;                              --%coreattrs,%i18n,%events --selected    (selected)     #IMPLIEDdisabled    (disabled)     #IMPLIED  -- unavailable in this context --label%Text;         #IMPLIED  -- for use in hierarchical menus --valueCDATA          #IMPLIED  -- defaults to element content --  ><!ELEMENTTEXTAREA - - (#PCDATA)       -- multi-line text field --><!ATTLIST TEXTAREA%attrs;                              --%coreattrs,%i18n,%events --nameCDATA          #IMPLIEDrowsNUMBER         #REQUIREDcolsNUMBER         #REQUIREDdisabled    (disabled)     #IMPLIED  -- unavailable in this context --readonly    (readonly)     #IMPLIEDtabindexNUMBER         #IMPLIED  -- position in tabbing order --accesskey%Character;    #IMPLIED  -- accessibility key character --onfocus%Script;       #IMPLIED  -- the element got the focus --onblur%Script;       #IMPLIED  -- the element lost the focus --onselect%Script;       #IMPLIED  -- some text was selected --onchange%Script;       #IMPLIED  -- the element value was changed --%reserved;                           -- reserved for possible future use --  ><!--  #PCDATA is to solve the mixed content problem,  per specification only whitespace is allowed there! --><!ELEMENTFIELDSET - - (#PCDATA,LEGEND,(%flow;)*) -- form control group --><!ATTLIST FIELDSET%attrs;                              --%coreattrs,%i18n,%events --  ><!ELEMENTLEGEND - - (%inline;)*       -- fieldset legend --><!ATTLIST LEGEND%attrs;                              --%coreattrs,%i18n,%events --accesskey%Character;    #IMPLIED  -- accessibility key character --  ><!ELEMENTBUTTON - -     (%flow;)* -(A|%formctrl;|FORM|FIELDSET)     -- push button --><!ATTLIST BUTTON%attrs;                              --%coreattrs,%i18n,%events --nameCDATA          #IMPLIEDvalueCDATA          #IMPLIED  -- sent to server when submitted --type        (button|submit|reset) submit -- for use as form button --disabled    (disabled)     #IMPLIED  -- unavailable in this context --tabindexNUMBER         #IMPLIED  -- position in tabbing order --accesskey%Character;    #IMPLIED  -- accessibility key character --onfocus%Script;       #IMPLIED  -- the element got the focus --onblur%Script;       #IMPLIED  -- the element lost the focus --%reserved;                           -- reserved for possible future use --  ><!--======================= Tables =======================================--><!-- IETF HTML table standard, see[RFC1942] --><!-- The BORDER attribute sets the thickness of the frame around the table. The default units are screen pixels. The FRAME attribute specifies which parts of the frame around the table should be rendered. The values are not the same as CALS to avoid a name clash with the VALIGN attribute. The value "border" is included for backwards compatibility with <TABLE BORDER> which yields frame=border and border=implied For <TABLE BORDER=1> you get border=1 and frame=implied. In this case, it is appropriate to treat this as frame=border for backwards compatibility with deployed browsers.--><!ENTITY %TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)"><!-- The RULES attribute defines which rules to draw between cells: If RULES is absent then assume:     "none" if BORDER is absent or BORDER=0 otherwise "all"--><!ENTITY %TRules "(none | groups | rows | cols | all)">  <!-- horizontal placement of table relative to document --><!ENTITY %TAlign "(left|center|right)"><!-- horizontal alignment attributes for cell contents --><!ENTITY %cellhalign  "align      (left|center|right|justify|char) #IMPLIEDchar%Character;    #IMPLIED  -- alignment char, e.g. char=':' --charoff%Length;       #IMPLIED  -- offset for alignment char --"  ><!-- vertical alignment attributes for cell contents --><!ENTITY %cellvalign  "valign     (top|middle|bottom|baseline) #IMPLIED"  ><!ELEMENTTABLE - -     (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)><!ELEMENTCAPTION  - - (%inline;)*     -- table caption --><!ELEMENTTHEAD    - O (TR)+           -- table header --><!ELEMENTTFOOT    - O (TR)+           -- table footer --><!ELEMENTTBODY    O O (TR)+           -- table body --><!ELEMENTCOLGROUP - O (COL)*          -- table column group --><!ELEMENTCOL      - O EMPTY           -- table column --><!ELEMENTTR       - O (TH|TD)+        -- table row --><!ELEMENT (TH|TD)  - O (%flow;)*       -- table header cell, table data cell--><!ATTLIST TABLE                        -- table element --%attrs;                              --%coreattrs,%i18n,%events --summary%Text;         #IMPLIED  -- purpose/structure for speech output--width%Length;       #IMPLIED  -- table width --border%Pixels;       #IMPLIED  -- controls frame width around table --frame%TFrame;       #IMPLIED  -- which parts of frame to render --rules%TRules;       #IMPLIED  -- rulings between rows and cols --cellspacing%Length;       #IMPLIED  -- spacing between cells --cellpadding%Length;       #IMPLIED  -- spacing within cells --%reserved;                           -- reserved for possible future use --datapagesizeCDATA         #IMPLIED  -- reserved for possible future use --  ><!ATTLIST CAPTION%attrs;                              --%coreattrs,%i18n,%events --  ><!--COLGROUP groups a set of COL elements. It allows you to groupseveral semantically related columns together.--><!ATTLIST COLGROUP%attrs;                              --%coreattrs,%i18n,%events --spanNUMBER         1         -- default number of columns in group --width%MultiLength;  #IMPLIED  -- default width for enclosed COLs --%cellhalign;                         -- horizontal alignment in cells --%cellvalign;                         -- vertical alignment in cells --  ><!-- COL elements define the alignment properties for cells in one or more columns. The WIDTH attribute specifies the width of the columns, e.g.     width=64        width in screen pixels     width=0.5*      relative width of 0.5 The SPAN attribute causes the attributes of one COL element to apply to more than one column.--><!ATTLIST COL                          -- column groups and properties --%attrs;                              --%coreattrs,%i18n,%events --spanNUMBER         1         -- COL attributes affect N columns --width%MultiLength;  #IMPLIED  -- column width specification --%cellhalign;                         -- horizontal alignment in cells --%cellvalign;                         -- vertical alignment in cells --  ><!--    Use THEAD to duplicate headers when breaking table    across page boundaries, or for static headers when    TBODY sections are rendered in scrolling panel.    Use TFOOT to duplicate footers when breaking table    across page boundaries, or for static footers when    TBODY sections are rendered in scrolling panel.    Use multiple TBODY sections when rules are needed    between groups of table rows.--><!ATTLIST (THEAD|TBODY|TFOOT)          -- table section --%attrs;                              --%coreattrs,%i18n,%events --%cellhalign;                         -- horizontal alignment in cells --%cellvalign;                         -- vertical alignment in cells --  ><!ATTLIST TR                           -- table row --%attrs;                              --%coreattrs,%i18n,%events --%cellhalign;                         -- horizontal alignment in cells --%cellvalign;                         -- vertical alignment in cells --  ><!-- Scope is simpler than headers attribute for common tables --><!ENTITY %Scope "(row|col|rowgroup|colgroup)"><!-- TH is for headers, TD for data, but for cells acting as both use TD --><!ATTLIST (TH|TD)                      -- header or data cell --%attrs;                              --%coreattrs,%i18n,%events --abbr%Text;         #IMPLIED  -- abbreviation for header cell --axisCDATA          #IMPLIED  -- comma-separated list of related headers--headersIDREFS         #IMPLIED  -- list of id's for header cells --scope%Scope;        #IMPLIED  -- scope covered by header cells --rowspanNUMBER         1         -- number of rows spanned by cell --colspanNUMBER         1         -- number of cols spanned by cell --%cellhalign;                         -- horizontal alignment in cells --%cellvalign;                         -- vertical alignment in cells --  ><!--================ Document Head =======================================--><!--%head.misc; defined earlier on as "SCRIPT|STYLE|META|LINK|OBJECT" --><!ENTITY %head.content "TITLE & BASE?"><!ELEMENTHEAD O O (%head.content;) +(%head.misc;) -- document head --><!ATTLIST HEAD%i18n;                               -- lang, dir --profile%URI;          #IMPLIED  -- named dictionary of meta info --  ><!-- The TITLE element is not considered part of the flow of text.       It should be displayed, for example as the page header or       window title. Exactly one title is required per document.    --><!ELEMENTTITLE - - (#PCDATA) -(%head.misc;) -- document title --><!ATTLIST TITLE%i18n><!ELEMENTBASE - O EMPTY               -- document base URI --><!ATTLIST BASEhref%URI;          #REQUIRED -- URI that acts as base URI --  ><!ELEMENTMETA - O EMPTY               -- generic metainformation --><!ATTLIST META%i18n;                               -- lang, dir, for use with content --http-equivNAME           #IMPLIED  -- HTTP response header name  --nameNAME           #IMPLIED  -- metainformation name --contentCDATA          #REQUIRED -- associated information --schemeCDATA          #IMPLIED  -- select form of content --  ><!ELEMENTSTYLE - -%StyleSheet        -- style info --><!ATTLIST STYLE%i18n;                               -- lang, dir, for use with title --type%ContentType;  #REQUIRED -- content type of style language --media%MediaDesc;    #IMPLIED  -- designed for use with these media --title%Text;         #IMPLIED  -- advisory title --  ><!ELEMENTSCRIPT - -%Script;          -- script statements --><!ATTLIST SCRIPTcharset%Charset;      #IMPLIED  -- char encoding of linked resource --type%ContentType;  #REQUIRED -- content type of script language --src%URI;          #IMPLIED  -- URI for an external script --defer       (defer)        #IMPLIED  -- UA may defer execution of script --eventCDATA          #IMPLIED  -- reserved for possible future use --for%URI;          #IMPLIED  -- reserved for possible future use --  ><!ELEMENTNOSCRIPT - - (%block;)+  -- alternate content container for non script-based rendering --><!ATTLIST NOSCRIPT%attrs;                              --%coreattrs,%i18n,%events --  ><!--================ Document Structure ==================================--><!ENTITY %html.content "HEAD, BODY"><!ELEMENTHTML O O (%html.content;)    -- document root element --><!ATTLIST HTML%i18n;                               -- lang, dir --  >

previous  next  contents  elements  attributes  index

[8]ページ先頭

©2009-2025 Movatter.jp