21 Document Type Definition
(Document Type Definition)

 <! - This HTML 4.0 Strict DTD excluded attributes and elements of the representation, the use of which to determine the style of W3C plans to gradually stop.  Authors should where possible be used Strict DTD, but in case of the need to support the attributes and elements of presentation allowed Transitional DTD.  In HTML 4.0 includes support mechanisms for style sheets, scripts, embedding objects, improved support for text direction from right to left and mixed text and amended the forms in order to provide the convenience of users with disabilities.  Draft: $ Date: 1997/12/18 9:36:02 $ Authors: Dave Regett <[email protected]> Arnaud Le Ors <[email protected]> Ian Jacobs <[email protected]> For more information about HTML 4.0 can be found at: http://www.w3.org/TR/REC-html40 ! -> <- Example of typical use: <DOCTYPE HTML PUBLIC "- // W3C // DTD HTML 4.0 // EN! "" http://www.w3.org/TR/REC-html40/strict.dtd "> <html> <head> ... </ head> <body> ... </ body> </ html> the URI, is used as the system identifier that allows the user agent to load the necessary DTD and combinations of sets.  FPI for the Transitional HTML 4.0 DTD: "- // W3C // DTD HTML 4.0 Transitional // EN its URI: http://www.w3.org/TR/REC-html40/loose.dtd creating a document with frames, use the following FPI: "- // W3C // DTD HTML 4.0 Frameset // EN" and URI: http://www.w3.org/TR/REC-html40/frameset.dtd in relation to the HTML 4.0 supports the following the URI " http: //www.w3.org/TR/REC-html40/strict.dtd "(Strict is the DTD)" http://www.w3.org/TR/REC-html40/loose.dtd "(the Loose the DTD)" http: //www.w3.org/TR/REC-html40/frameset.dtd "(Frameset the DTD)" http://www.w3.org/TR/REC-html40/HTMLlat1.ent "(a combination of a set of Latin-1) " http://www.w3.org/TR/REC-html40/HTMLsymbol.ent " (Symbol combination set) " http://www.w3.org/TR/REC-html40/HTMLspecial.ent " (special combination ) These URI point to the latest version of each file to link to the special version, use the following URI:. " http://www.w3.org/TR/REC-html40-971218/strict.dtd " " http: //www.w3 .org / the TR / the REC-html40-971218 / loose.dtd "" http://www.w3.org/TR/REC-html40-971218/frameset.dtd "" http://www.w3.org/TR /REC-html40-971218/HTMLlat1.ent "" http://www.w3.org/TR/REC-html40-971218/HTMLsymbol.ent "" http://www.w3.org/TR/REC-html40 -971 218 / HTMLspecial.ent "-> <-! ================== Imported names ================ ==================== -> <the ENTITY%! the ContentType " a CDATA " - the type of device in accordance with [RFC2045] -> <the ENTITY%! ContentTypes " CDATA "- a comma-separated list of the types of devices in accordance with [RFC2045] -> <! ENTITY% charset" CDATA "- character encoding in accordance with [RFC2045] -> <! ENTITY% Charsets" CDATA "- divided space-separated list of character encodings, in accordance with [RFC2045] -> <the ENTITY%! LanguageCode " the NAME " - language code in accordance with [RFC1766] -> <the ENTITY%! the character " a CDATA " - a single character [ISO10646] - -> <the ENTITY%! LinkTypes " a CDATA " - a space-separated list of link types -> <the ENTITY%! MediaDesc " a CDATA " - a separate device descriptor or a comma-separated list -> <the ENTITY%! the URI " a CDATA " - Uniform resource identifier, see. [the URI] -> <the ENTITY%! Datetime " a CDATA " - information about the date and time.  ISO date format -> <the ENTITY%! The Script " a CDATA " - an expression of the script -> <the ENTITY%! The StyleSheet " a CDATA " - data stylesheet -> <the ENTITY%! The Text " a CDATA "> <-! Parameter combinations -> <the ENTITY%! head.misc " the SCRIPT | the STYLE | the META | the LINK | the OBJECT " - repeating header elements -> <the ENTITY%! heading " the H1 | the H2 | the H3 | the H4 | the H5 | the H6 "> <the ENTITY! % list " the UL | the OL "!> <the ENTITY% preformatted " the PRE !"> <- ================ ========== mnemonic character combinations =============== -> <the ENTITY%! HTMLlat1 the PUBLIC "- // the W3C // the ENTITIES Latin1 to EN // // the HTML" "http://www.w3.org /TR/REC-html40-971218/HTMLlat1.ent "> % HTMLlat1;
  <The ENTITY%! HTMLsymbol - the PUBLIC "the W3C // // // the ENTITIES the Symbols to EN // the HTML" "http://www.w3.org/TR/REC-html40-971218/HTMLsymbol.ent"> % HTMLsymbol;
  <The ENTITY%! HTMLspecial - the PUBLIC "the W3C // // // the ENTITIES Special to EN // the HTML" "http://www.w3.org/TR/REC-html40-971218/HTMLspecial.ent"> % HTMLspecial;
  <! - =================== General attributes ========================= ! ====== -> <the ENTITY% coreattrs " id ID #IMPLIED - a unique identifier within a document - class a CDATA #IMPLIED - comma probleami list of classes - style % the StyleSheet; #IMPLIED - related information style - title % the Text; #IMPLIED - the recommended title / amplification - "> <the ENTITY%! the i18n " the lang % LanguageCode; #IMPLIED - language code - the dir (ltr | rtl) #IMPLIED - the direction of the weak / neutral text - "> <the ENTITY%! events " the onclick % the Script; #IMPLIED - click the pointing device button - ondblclick % the Script; #IMPLIED - double-click the pointing device button - onmousedown % the Script; #IMPLIED - pressed pointing device - onmouseup % the Script; #IMPLIED - the button is released the pointing device - onmouseover % the Script; #IMPLIED - the pointer is moved to - onmousemove % the Script; #IMPLIED - the pointer is moved to the outside - onmouseout % the Script ; #IMPLIED - the pointer is moved beyond - onkeypress % the Script;
  #IMPLIED - The key is pressed and released - onkeydown % the Script;
  #IMPLIED - The key is pressed - onkeyup % the Script;
  #IMPLIED - The key is released - "> <! - Switch reserved capacity -> <the ENTITY%! HTML.Reserved " IGNORE is "> <! - The following attributes are reserved and may be used in the future -> <[! % HTML.Reserved; [<the ENTITY%! reserved "datasrc % the URI;
  #IMPLIED - One or multiple data sources - datafld a CDATA #IMPLIED - name of the property or column - dataformatas (plaintext | html) plaintext - text or html - ">]]> < ENTITY% reserved!" "> < ! the ENTITY% attrs " % coreattrs;
  % i18n;
  % events;
  "> <! - Text markup =================== ======================= =============== -> <the ENTITY%! fontstyle " the TT |  I |  Bed and |  of BIG |  Of SMALL "> <the ENTITY%! The phrase " the EM |  the STRONG |  the DFN |  the CODE |  the SAMP |  the KBD |  the VAR |  CITE |  the ABBR |  ACRONYM "> <the ENTITY%! Special " A |  IMG |  OBJECT |  BR |  SCRIPT |  MAP |  Q |  SUB |  SUP |  SPAN |  Of BDO "> <the ENTITY%! Formctrl " the INPUT |  SELECT |  TEXTAREA |  LABEL |  To BUTTON "> <-! % The inline; embedded elements or elements" text level "-> <the ENTITY%! The inline " #PCDATA |  % fontstyle;
  |  % phrase;
  |  % special;
  |  % formctrl;
  "> <The ELEMENT (! % Fontstyle; | % the phrase; ) - - ( % the inline; ) *> <ATTLIST (! % Fontstyle; | % the phrase; ) % attrs; - % coreattrs , % the i18n , % events - > <the ELEMENT (! the SUB | the SUP ) - - ( % the inline; ) * - upper and lower index -> <ATTLIST (the SUB | the SUP)! % attrs; - % coreattrs , % the i18n , % events -> <! ELEMENT SPAN - (% inline;) * - the overall container language / style -> <! ATTLIST SPAN% attrs; -% coreattrs,% i18n,% events -% reserved; - reserved for use in future -> <the ELEMENT! of BDO - - ( % the inline; ) * - redefinition BiDi interntsionalizatsii -> <ATTLIST of BDO! % coreattrs; - id, class, style, title - the lang % LanguageCode; #IMPLIED - the language code - the dir (ltr | rtl) #REQUIRED - direction -> <the ELEMENT! the BR - About EMPTY The - a forced move to the next line -> <ATTLIST the BR! % coreattrs; - id, class, style, title -> <-! ================== Models content HTML ===================== ! ========== -> <! - HTML has two models soderzhmogo: % the inline; character-level elements and text strings % block;
  block-type elements, such as paragraphs and lists -> <the ENTITY%! block "the P | % heading; | % list; | % preformatted; | the DL | the DIV | a NOSCRIPT | the BLOCKQUOTE | the FORM | the HR | TABLE statement | the FIELDSET | the ADDRESS"> <the ENTITY%! flow " % block; | % the inline; ">! <- The body of a document =================== ========== ========================== -> <the ELEMENT! the bODY OO ( % block; | the SCRIPT) + + (the INS | the DEL) - a body document -> <ATTLIST the BODY! % attrs;
  - % Coreattrs , % the i18n , % events - the onload % the Script;
  #IMPLIED - Doument loaded - onunload % the Script;
  #IMPLIED - The document has been deleted -> <the ELEMENT the ADDRESS - - (! % The inline; ) * - Information about the author -> <ATTLIST the ADDRESS! % Attrs;
  -% Coreattrs,% i18n,% events -> <! ELEMENT DIV - (% flow;) * - the overall container language / style -> <! ATTLIST DIV% attrs;
  - % Coreattrs , % the i18n , % events - % reserved;
  - Reserved for future use -> <! - Element anchor ================== ================ ================ -> <the ENTITY%! the Shape "(the rect | circle | the poly | the default)"!> <the ENTITY% Coords " a CDATA " - comma-separated list of lengths - -> <the ELEMENT! A - - ( % the inline; ) * - (A) - the anchor -> <ATTLIST A! % attrs;
  - % Coreattrs , % the i18n , % events - the charset % Charset;
  #IMPLIED - Simvlov encoding of linked resource - of the type % the ContentType;
  #IMPLIED - Content type is recommended - name a CDATA #IMPLIED - named link end - the href % the URI;
  #IMPLIED - URI for linked resource - the hreflang % LanguageCode;
  #IMPLIED - The language code - the rel % LinkTypes;
  #IMPLIED - Direct reference types - the rev % LinkTypes;
  #IMPLIED - The types of backlinks - accesskey % the Character;
  #IMPLIED - Access key - shape % the Shape;
  rect - for ispolzvoaniya with client navigation maps - coords % Coords;
  #IMPLIED - For use with server-based navigation charts - the tabindex NUMBER #IMPLIED - position in tabbing order - the onfocus % the Script;
  #IMPLIED - The focus moved to the element - the onblur % the Script;
  #IMPLIED - The focus stepped element -> <! - ================== Client navigation maps ============== ============== -> <! - they can be placed in the same document or grouped in a separate document, although they are not yet supported by all -> <the ELEMENT! the MAP - - (( % block; ) + | + the AREA) - klientsaya navigational chart -> <ATTLIST the mAP! % attrs;
  - % Coreattrs , % the i18n , % events - name a CDATA #REQUIRED - only the usemap -> <the ELEMENT! The AREA - About EMPTY The - area navigation map client -> <ATTLIST the AREA! % Attrs;
  - % Coreattrs , % the i18n , % events - shape % the Shape;
  rect - controls the coordinate representation - coords % Coords;
  #IMPLIED - Comma-separated list of lengths - the href % the URI;
  #IMPLIED - URI for linked resource - nohref (nohref) #IMPLIED - this area of action is not connected - the alt % the Text;
  #REQUIRED - Short description - the tabindex NUMBER #IMPLIED - position in tabbing order - accesskey % the Character;
  #IMPLIED - Access ulavisha - the onfocus % the Script;
  #IMPLIED - The focus moved to the element - the onblur % the Script;
  #IMPLIED - The focus stepped element -> <! - Element links ================== =============== ! =================== -> <- values ​​relationships can be used mainly: a) toolbar / menu in the document when used with the LINK element in the document header for example, the beginning of the content, back, forth, index, end, reference b) to refer to a separate style sheet (rel = stylesheet) in) to set the reference to the script (rel = script) g) style sheets to control sets of presentation html nodes in the printed versions of documents etc.) to refer to the printed version of this document, such as a version of postscript or pdf format (the rel = alternate media = the print) -> <the ELEMENT! the lINK - About EMPTY The - independent of the reference device - -> <ATTLIST the LINK! % attrs;
  - % Coreattrs , % the i18n , % events - the charset % Charset;
  #IMPLIED - The encoding of linked resource - the href % the URI;
  #IMPLIED - URI for linked resource - the hreflang % LanguageCode;
  #IMPLIED - The language code - of the type % the ContentType;
  #IMPLIED - Content type rekomendumy - the rel % LinkTypes;
  #IMPLIED - Direct reference types - the rev % LinkTypes;
  #IMPLIED - The types of backlinks - media % MediaDesc;
  #IMPLIED - For submission to these devices -> <! - =================== ============== Images ============================= -> <! - The length defined in the DTD for cellpadding / cellspacing -> <! % the ENTITY the Length " a CDATA " - in pixels or nn nn% Percentage -> <the ENTITY%! MultiLength " a CDATA " - pixels, percentages, or relative -> <the ENTITY%! MultiLengths " a CDATA " - comma-separated list MultiLength - -> <the eNTITY%! the pixels " a CDATA " - whole view of the length in pixels -> <! - to avoid problems with text-only user agents, as well as to make the images available and useful for users with non-visual user agents, necessary to determine the descriptions in the ALT attribute and do not use server-side image maps -> <the ELEMENT! images IMG - About EMPTY The - embedded image -> <ATTLIST images IMG! % attrs;
  - % Coreattrs , % the i18n , % events - the src % the URI;
  #REQUIRED - URI the introduced image - the alt % the Text;
  #REQUIRED - Short description - the longdesc % the URI;
  #IMPLIED - Link to long description (complements the alt) - height % the Length;
  #IMPLIED - The redefinition of height - the width % the Length;
  #IMPLIED - The width of the redefinition - the usemap % the URI;
  #IMPLIED - Use client-side image map - ismap (ismap) #IMPLIED - use server-side image map -> <-! USEMAP indicates the MAP element, which may be the same or an external document, although the latter option is not always supported -> <-! ==================== OBJECT ====================== ================ -> <-! oBJECT is used to embed objects as part of HTML pages, other content elements must precede PARAM.  Model SGML mixed content technically prevent this formal task ... -> <the ELEMENT! The OBJECT - - (the PARAM | % flow; ) * - total embedded object -> <ATTLIST the OBJECT! % Attrs;
  - % Coreattrs , % the i18n , % events - the declare (the declare) #IMPLIED - declare but do not initiate the flag - the classid % the URI;
  #IMPLIED - The definition of the implementation - the codebase % the URI;
  #IMPLIED - The base URI for the classid, the data, archive-- the data % URI;
  #IMPLIED - Reference to object's data - of the type % the ContentType;
  #IMPLIED - Content type of data - codetype % the ContentType;
  #IMPLIED - Content type for code - the archive % the URI;
  #IMPLIED - Comma probleami list archives - standby % the Text;
  #IMPLIED - The message displayed when loading - height % the Length;
  #IMPLIED - The redefinition of height - the width % the Length;
  #IMPLIED - The width of the redefinition - the usemap % the URI;
  #IMPLIED - Use client-side image map - name a CDATA #IMPLIED - passed as part of the form - the tabindex NUMBER #IMPLIED - position in tabbing order - % reserved;
  - Reserved for future use -> <the ELEMENT! The PARAM - About EMPTY The - named property value -> <ATTLIST the PARAM! Id ID #IMPLIED - a unique identifier within a document - name a CDATA #REQUIRED - the property name - of value a CDATA #IMPLIED - property value - the valuetype (the DATA | the REF | the OBJECT) the DATA - how to interpret the value - of the type % the ContentType;
  #IMPLIED - Content type for value when valuetype = ref -> <-! =================== ========= Horizontal separator ! ========================= -> <the ELEMENT the HR - About EMPTY The - horizontal line -> <ATTLIST the HR! % coreattrs;
  - Id, class, style, title - % events;
  > <! - =================== Abaztsy ========================= ======== -> <the ELEMENT! the P - About ( % the inline; ) * - paragraph <ATTLIST the P! % attrs;
  - % Coreattrs , % the i18n , % events -> <-! =================== ============= Headlines ! ================== -> <! - There are six levels of headings from H1 to H6 (the least important).  ! -> <The ELEMENT ( % heading; ) - - ( % the inline; ) * - header -> <ATTLIST (! % Heading; ) % attrs;
  - % Coreattrs , % the i18n , % events -> <-! =================== Formatted Text ============ ! ==================== -> <- eliminates the layout for the images and changing font size -> <the ENTITY%! pre.exclusion "images IMG | the OBJECT | of BIG | of SMALL | the SUB | the SUP "> <the ELEMENT! the PRE - - ( % the inline; ) * - ( % pre.exclusion; ) - rich text -> <ATTLIST the PRE! % attrs;
  - % Coreattrs , % the i18n , % events -> <-! ===================== ========== Embedded Quotes ======================== -> <the ELEMENT! the Q - - ( % the inline; ) * - short inline quotation -> <ATTLIST! the Q % attrs;
  - % Coreattrs , % the i18n , % events - the cite % the URI;
  #IMPLIED - URI for source document or message -> <! - =================== Block type =========== Quotes ===================== -> <the ELEMENT! the BLOCKQUOTE - - ( % block; | the SCRIPT) + - long quotation -> <ATTLIST the BLOCKQUOTE! % attrs;
  - % Coreattrs , % the i18n , % events - the cite % the URI;
  #IMPLIED - URI of the source document or message -> <! - =================== Inserted / deleted text =========== ================= -> <- the INS / the DEL are Handled by inclusion on the BODY -> <the ELEMENT (!! the INS | the DEL ) - - ( % flow; ) * - inserted text, deleted text -> <ATTLIST (the INS | the DEL)! % attrs;
  - % Coreattrs , % the i18n , % events - the cite % the URI;
  #IMPLIED - Information about the causes of change - a datetime % Datetime;
  #IMPLIED - Date and time of change -> <! - Lists =================== =============== ============================= -> <! - list of definitions - the DT - term, DD - definition -> < ! the ELEMENT the DL - - (the DT | the DD) + - definition list -> <ATTLIST the DL! % attrs;
  - % Coreattrs , % the i18n , % events -> <the ELEMENT! The DT - About ( % the inline; ) * - the term being defined -> <the ELEMENT! The DD - About ( % flow; ) * - determination -> <ATTLIST (the DT | the DD)! % attrs;
  - % Coreattrs , % the i18n , % events ! -> <The ELEMENT the OL - - (the LI) + - ordered list -> <ATTLIST the OL! % Attrs;
  - % Coreattrs , % the i18n , % events -> <-! Unordered Lists About Me About (the UL) bullet The styles -> <the ELEMENT! The UL - - (the LI) + - unordered list -> <ATTLIST the UL! % Attrs ;
  - % Coreattrs , % the i18n , % events -> <the ELEMENT! The LI - About ( % flow; ) * - list item -> <ATTLIST the LI! % Attrs;
  - % Coreattrs , % the i18n , % events -> <-! ================ ================ Forms =============================== -> <the ELEMENT! the FORM - - ( % block; | the SCRIPT) + - ( fORM) - interactive form -> <ATTLIST the fORM! % attrs;
  - % Coreattrs , % the i18n , % events - the action % the URI;
  #REQUIRED - Server deksriptor form - method (the GET | the POST) the GET - the HTTP method used to submit the form - the enctype % the ContentType;
  "application / x-the www-The form-urlencoded" the onsubmit % the Script;
  #IMPLIED - The form was submitted - onreset % the Script;
  #IMPLIED - The form is reset - the accept-the charset % Charsets;
  #IMPLIED - List of supported charsets -> <- Each the label a must the contain not more than ONE field -> <the ELEMENT!! The LABEL - - ( % the inline; ) * - (the LABEL) - text form field labels - -> <ATTLIST the LABEL! % attrs;
  - % Coreattrs , % the i18n , % events - for IDREF, #IMPLIED - the same as the value of the field ID - accesskey % the Character;
  #IMPLIED - Access key - the onfocus % the Script;
  #IMPLIED - The focus moved to the element - the onblur % the Script;
  #IMPLIED - The focus stepped element -> <the ENTITY%! InputType "(the TEXT | the PASSWORD | CHECKBOX | the RADIO | the SUBMIT | the RESET | the FILE | a HIDDEN | the IMAGE | to BUTTON)"!> <- Name of the attribute is required for all !, & the reset except the submit -> <the eLEMENT the INPUT - About EMPTY The - the control element form -> <ATTLIST the INPUT! % attrs;
  - % Coreattrs , % the i18n , % events - of the type % InputType;
  TEXT - that must be entered - name a CDATA #IMPLIED - submit as part of form - of value a CDATA #IMPLIED - required for radio buttons and checkboxes - checked Only (checked Only) #IMPLIED - for radio buttons and flags - the disabled (the disabled) #IMPLIED - unavailable in this context - the readonly (the readonly) #IMPLIED - for text and passwords - size bed a CDATA #IMPLIED - for each field type is different - the maxlength NUMBER #IMPLIED - the maximum number of ismvolov for text fields - the src % the URI;
  #IMPLIED - For fields with images - the alt a CDATA #IMPLIED - short description - the usemap % the URI;
  #IMPLIED - Use client naviagtsionnuyu map - the tabindex NUMBER #IMPLIED - position in tabbing order - accesskey % the Character;
  #IMPLIED - Access key - the onfocus % the Script;
  #IMPLIED - The focus moved to the element - the onblur % the Script;
  #IMPLIED - The element with the focus left - onselect % the Script;
  #IMPLIED - Some text is highlighted - the onchange % the Script;
  #IMPLIED - Changed znchenie element - the accept % ContentTypes;
  #IMPLIED - List of MIME types for file upload - % reserved;
  - Reserved for future use -> <the ELEMENT! The SELECT - - (the OPTGROUP | the OPTION) + - choice of options -> <ATTLIST the SELECT! % Attrs;
  - % Coreattrs , % the i18n , % events - name a CDATA #IMPLIED - name of the field - size bed NUMBER #IMPLIED - visible rows - the multiple (the multiple) #IMPLIED - default in single choosing - the disabled (the disabled ) #IMPLIED - unavailable in this context - the tabindex NUMBER #IMPLIED - position in tabbing order - the onfocus % the Script;
  #IMPLIED - The focus moved to the element - the onblur % the Script;
  #IMPLIED - The focus stepped element - the onchange % the Script;
  #IMPLIED - The element value changed - % reserved;
  - Reserved for future use -> <the ELEMENT! The OPTGROUP - - (the OPTION) + - group settings -> <ATTLIST the OPTGROUP! % Attrs;
  - % Coreattrs , % the i18n , % events - the disabled (the disabled) #IMPLIED - unavailable in this context - the label % the Text;
  ! #REQUIRED - For use in hierarchical menus -> <the ELEMENT the OPTION - About (#PCDATA) - selectable option -> <ATTLIST the OPTION! % Attrs;
  - % Coreattrs , % the i18n , % events - selected (selected) #IMPLIED the disabled (the disabled) #IMPLIED - unavailable in this context - the label % the Text;
  #IMPLIED - For use in hierarchical menus - of value a CDATA #IMPLIED - default - content element -> <the ELEMENT! The TEXTAREA - - (#PCDATA) - text field of several lines -> <ATTLIST the TEXTAREA! % attrs;
  - % Coreattrs , % the i18n , % events - name a CDATA #IMPLIED rows NUMBER #REQUIRED the cols NUMBER #REQUIRED the disabled (the disabled) #IMPLIED - unavailable in this context - the readonly (the readonly) #IMPLIED the tabindex NUMBER #IMPLIED - position in tabbing order - accesskey % the Character;
  #IMPLIED - Access key - the onfocus % the Script;
  #IMPLIED - The focus moved to the element - the onblur % the Script;
  #IMPLIED - The element with the focus left - onselect % the Script;
  #IMPLIED - Some text is highlighted - the onchange % the Script;
  #IMPLIED - The element value changed - % reserved;
  - Reserved for future use -> <-! #PCDATA Is used to solve the mixed content is allowed only whitespace!  -> <The ELEMENT! The FIELDSET - - (# PCDATA, LEGEND, ( % flow; ) *) - a group of form control -> <ATTLIST the FIELDSET! % Attrs;
  - % Coreattrs , % the i18n , % events ! -> <The ELEMENT LEGEND - - ( % the inline; ) * - Description of the field -> <the ENTITY%! LAlign "(top | bottom | left | right)"> <ATTLIST LEGEND! % attrs;
  - % Coreattrs , % the i18n , % events - accesskey % the Character;
  #IMPLIED - The access key -> <the ELEMENT! To BUTTON - - ( % flow; ) * - (A | % formctrl; | the FORM | the FIELDSET) - button -> <ATTLIST to BUTTON! % Attrs;
  - % Coreattrs , % the i18n , % events - name a CDATA #IMPLIED of value a CDATA #IMPLIED - the transfer to the server otpravlyaetya - of the type (button | the submit | the reset) the submit - is used as a key in the form of - the disabled ( disabled) #IMPLIED - unavailable in this context - the tabindex NUMBER #IMPLIED - position in the funnel - accesskey % the Character;
  #IMPLIED - Access key - the onfocus % the Script;
  #IMPLIED - The focus moved to the element - the onblur % the Script;
  #IMPLIED - The element with the focus left - % reserved;
  - Reserved for future use -> <! - Table ======================= ============ =========================== -> <! - Standard IETF HTML tables, see. [RFC1942] -> <! - - Attribute BORDER sets the thickness of the border around the table.  By default, pixels are used.  FRAME attribute specifies which part of the frame around the table should be submitted.  The values ​​do not coincide with CALS to avoid name conflicts with the attribute VALIGN.  The value "border" is included for compatibility with previous versions of the <TABLE BORDER>, giving way to frame = border and border = implied for <TABLE BORDER = 1> = 1 introduced and border frame = implied. В этом случае оно может обрабатываться как frame=border для совместимости с браузерами более старых версий. --> <!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)"> <!-- Атрибут RULES определяет, какие rules между ячейками будут отображаться: Если атрибут RULES отсутстввует, предполагается: "none", если атрибут BORDER отсутствует или BORDER=0, в противном случае "all" --> <!ENTITY % TRules "(none | groups | rows | cols | all)"> <!-- горизонтальное размещение таблицы относительно документа --> <!ENTITY % TAlign "(left|center|right)"> <!-- атрибуты горизонтального вырвнивания содержимого ячеек --> <!ENTITY % cellhalign " align (left|center|right|justify|char) #IMPLIED char %Character; #IMPLIED -- символ выравнивания, например, char=':' -- charoff %Length; #IMPLIED -- смещение для символа выравнивания --" > <!-- атрибуты вертикального выравнивания содержимого ячеек --> <!ENTITY % cellvalign " valign (top|middle|bottom|baseline) #IMPLIED" > <!ELEMENT TABLE - - (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)> <!ELEMENT CAPTION - - ( %inline; )* -- caption таблицы --> <!ELEMENT THEAD - O (TR)+ -- заголовок таблицы --> <!ELEMENT TFOOT - O (TR)+ -- нижний заголовок таблицы --> <!ELEMENT TBODY OO (TR)+ -- тело таблицы --> <!ELEMENT COLGROUP - O (col)* -- группа столбцов таблицы --> <!ELEMENT COL - O EMPTY -- столбец таблицы --> <!ELEMENT TR - O (TH|TD)+ -- строка таблицы --> <!ELEMENT ( TH | TD ) - O ( %flow; )* -- ячейка заголовка таблицы, ячейка данных таблицы--> <!ATTLIST TABLE -- элемент таблицы -- %attrs; -- %coreattrs , %i18n , %events -- summary %Text; #IMPLIED -- назнчение/структура для речевого вывода-- width %Length; #IMPLIED -- ширина таблицы -- border %Pixels; #IMPLIED -- управляет толщиной рамки вокруг таблицы -- frame %TFrame; #IMPLIED -- какие части рамки нужно представлять -- rules %TRules; #IMPLIED -- разделители между строками и столбцами -- cellspacing %Length; #IMPLIED -- расстояние между ячейками -- cellpadding %Length; #IMPLIED -- расстояние в ячейках -- %reserved; -- зарезервировано для использовния в будущем -- datapagesize CDATA #IMPLIED -- зарезервировано для использовния в будущем -- > <!ENTITY % CAlign "(top|bottom|left|right)"> <!ATTLIST CAPTION %attrs; -- %coreattrs , %i18n , %events -- > <!-- COLGROUP объяединяет ряд элементов COL. В можете группировать несколько семантически связанных столбцов. --> <!ATTLIST COLGROUP %attrs; -- %coreattrs , %i18n , %events -- span NUMBER 1 -- число столбцов в группе по умолчанию -- width %MultiLength; #IMPLIED -- ширина вложенных COL по умолчанию -- %cellhalign; -- горизонтальное выравнивание в ячейках -- %cellvalign; -- вертикальное вырвнивание в ячейках -- > <!-- Элементы COL определяют свойства выраванивания для ячеек в одном или нескольких столбцах. Атрибут WIDTH определяет ширину столбцов, например, width=64 ширина в пикселах width=0.5* относительная ширина 0.5 Атрибут SPAN приводит к тому, что атрибуты одного элемента COL приеняются к нскольким столбцам. --> <!ATTLIST COL -- группы и свойства столбцов -- %attrs; -- %coreattrs , %i18n , %events -- span NUMBER 1 -- атрибуты COL влияют на N столбцов -- width %MultiLength; #IMPLIED -- задание ширины столбца -- %cellhalign; -- горизонтальное выравнивание в ячейках -- %cellvalign; -- вертикальное выравнивание в ячейках -- > <!-- Используйте THEAD для дублирования заголовков при разрые таблицы на страницах ли для представления статических заголовков, когда разделы TBODY представляются на прокручиваемой панели. Используйте TFOOT для дублирования нижних заголовков при разрые таблицы на страницах ли для представления статических заголовков, когда разделы TBODY представляются на прокручиваемой панели. Используйте несколько разделов TBODY, если между группами строк таблицы необходимы rules. --> <!ATTLIST (THEAD|TBODY|TFOOT) -- раздел таблицы -- %attrs; -- %coreattrs , %i18n , %events -- %cellhalign; -- горизонтальное выравнивание в ячейках -- %cellvalign; -- вертикальное выравнивание в ячейках -- > <!ATTLIST TR -- строка таблицы -- %attrs; -- %coreattrs , %i18n , %events -- %cellhalign; -- горизонтальное выравнивание в ячейках -- %cellvalign; -- вертикальное выраванивание в ячейках -- > <!-- Атрибут Scope проще атрибута axes для большинства таблиц --> <!ENTITY % Scope "(row|col|rowgroup|colgroup)"> <!-- TH - для заголовков, TD - для данных, но для ячеек, действующих как то и другое используйте TD --> <!ATTLIST (TH|TD) -- ячейка заголовка или данных -- %attrs; -- %coreattrs , %i18n , %events -- abbr %Text; #IMPLIED -- сокращение ячейки заголовка -- axis CDATA #IMPLIED -- группы имен связанных заголовков-- headers IDREFS #IMPLIED -- списко идентификаторов ячеек заголовков -- scope %Scope; #IMPLIED -- область действия ячеек заголовков -- rowspan NUMBER 1 -- число строк, которые занимает ячейка -- colspan NUMBER 1 -- число столбцов, которые занимает ячейка -- %cellhalign; -- горизонтальное выравнивание в ячейках -- %cellvalign; -- вертикальное выравнивание в ячейках -- > <!--================ Заголовок документа =======================================--> <!-- %head.misc; определен ранее как "SCRIPT|STYLE|META|LINK|OBJECT" --> <!ENTITY % head.content "TITLE & BASE?"> <!ELEMENT HEAD OO ( %head.content; ) +( %head.misc; ) - заголовок документа --> <!ATTLIST HEAD %i18n; -- lang, dir -- profile %URI; #IMPLIED -- именованный словарь метаинформации -- > <!-- Элемент TITLE не считается частью потока текста. Он должен отображаться, например, в виде заголовка страницы или окна. У кажого документа должен быть ровно один заголовок. --> <!ELEMENT TITLE - - (#PCDATA) -( %head.misc; ) - заголовок документа --> <!ATTLIST TITLE %i18n > <!ELEMENT BASE - O EMPTY -- базовый URI документа --> <!ATTLIST BASE href %URI; #REQUIRED -- URI, служащий базовым -- > <!ELEMENT META - O EMPTY -- общая метаинформация --> <!ATTLIST META %i18n; -- lang, dir, для использования с содержимым -- http-equiv NAME #IMPLIED -- имя заголовка ответа HTTP -- name NAME #IMPLIED -- имя метаинформации -- content CDATA #REQUIRED - связанная инфомрация -- scheme CDATA #IMPLIED -- выбор формы содержимого -- > <!ELEMENT STYLE - - %StyleSheet -- информация о стиле --> <!ATTLIST STYLE %i18n; -- lang, dir, для использвоания с заголовком -- type %ContentType; #REQUIRED -- тип содержимого языка стиля -- media %MediaDesc; #IMPLIED -- для использования с данными устройствами -- title %Text; #IMPLIED -- необязательный заголовок -- > <!ELEMENT SCRIPT - - %Script; -- выражения скрипта --> <!ATTLIST SCRIPT charset %Charset; #IMPLIED -- кодировка связанного ресурса -- type %ContentType; #REQUIRED -- тип содержимого языка скрипта -- language CDATA #IMPLIED -- предопределенное имя языка скрипта -- src %URI; #IMPLIED -- URI внешнего скрипта -- defer (defer) #IMPLIED -- агент пользователя может отложить выполнение скрипта -- event CDATA #IMPLIED -- зарезервировано для использования в будущем -- for %URI; #IMPLIED -- зарезервировано для использования в будущем -- > <!ELEMENT NOSCRIPT - - ( %block; )+ -- контейнер альтернативного содержимого для представления без использования скриптов --> <!ATTLIST NOSCRIPT %attrs; -- %coreattrs , %i18n , %events -- > <!--================ Структура документа ==================================--> <!ENTITY % html.content "HEAD, BODY"> <!ELEMENT HTML OO ( %html.content; ) -- корневой элмент документа --> <!ATTLIST HTML %i18n; -- lang, dir -- >