📄 html-4trans.dtd
字号:
<!-- This is the HTML 4.0 Transitional DTD, which includes 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.0 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: 1998/04/02 00:17:00 $ Authors: Dave Raggett <dsr@w3.org> Arnaud Le Hors <lehors@w3.org> Ian Jacobs <ij@w3.org> Further information about HTML 4.0 is available at: http://www.w3.org/TR/REC-html40--><!ENTITY % HTML.Version "-//W3C//DTD HTML 4.0 Transitional//EN" -- Typical usage: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.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 Strict HTML 4.0 DTD is: "-//W3C//DTD HTML 4.0//EN" and its URI is: http://www.w3.org/TR/REC-html40/strict.dtd Authors should use the Strict DTD unless they need the presentation control for user agents that don't (adequately) support style sheets. If you are writing a document that includes frames, use the following FPI: "-//W3C//DTD HTML 4.0 Frameset//EN" with the URI: http://www.w3.org/TR/REC-html40/frameset.dtd The following URIs are supported in relation to HTML 4.0 "http://www.w3.org/TR/REC-html40/strict.dtd" (Strict DTD) "http://www.w3.org/TR/REC-html40/loose.dtd" (Loose DTD) "http://www.w3.org/TR/REC-html40/frameset.dtd" (Frameset DTD) "http://www.w3.org/TR/REC-html40/HTMLlat1.ent" (Latin-1 entities) "http://www.w3.org/TR/REC-html40/HTMLsymbol.ent" (Symbol entities) "http://www.w3.org/TR/REC-html40/HTMLspecial.ent" (Special entities) These URIs point to the latest version of each file. To reference this specific revision use the following URIs: "http://www.w3.org/TR/1998/REC-html40-19980424/strict.dtd" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd" "http://www.w3.org/TR/1998/REC-html40-19980424/frameset.dtd" "http://www.w3.org/TR/1998/REC-html40-19980424/HTMLlat1.ent" "http://www.w3.org/TR/1998/REC-html40-19980424/HTMLsymbol.ent" "http://www.w3.org/TR/1998/REC-html40-19980424/HTMLspecial.ent"--><!--================== Imported Names ====================================--><!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 % FrameTarget "CDATA" -- render in this frame --><!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 | DIR | MENU"><!ENTITY % preformatted "PRE"><!ENTITY % Color "CDATA" -- a color using sRGB: #RRGGBB as Hex values --><!-- There are also 16 widely known color names with their sRGB values: Black = #000000 Green = #008000 Silver = #C0C0C0 Lime = #00FF00 Gray = #808080 Olive = #808000 White = #FFFFFF Yellow = #FFFF00 Maroon = #800000 Navy = #000080 Red = #FF0000 Blue = #0000FF Purple = #800080 Teal = #008080 Fuchsia= #FF00FF Aqua = #00FFFF --><!ENTITY % bodycolors " bgcolor %Color; #IMPLIED -- document background color -- text %Color; #IMPLIED -- document text color -- link %Color; #IMPLIED -- color of links -- vlink %Color; #IMPLIED -- color of visited links -- alink %Color; #IMPLIED -- color of selected links -- "><!--================ Character mnemonic entities =========================--><!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin1//EN//HTML" "http://www.w3.org/TR/1998/REC-html40-19980424/HTMLlat1.ent">%HTMLlat1;<!ENTITY % HTMLsymbol PUBLIC "-//W3C//ENTITIES Symbols//EN//HTML" "http://www.w3.org/TR/1998/REC-html40-19980424/HTMLsymbol.ent">%HTMLsymbol;<!ENTITY % HTMLspecial PUBLIC "-//W3C//ENTITIES Special//EN//HTML" "http://www.w3.org/TR/1998/REC-html40-19980424/HTMLspecial.ent">%HTMLspecial;<!--=================== Generic Attributes ===============================--><!ENTITY % coreattrs "id ID #IMPLIED -- document-wide unique id -- class CDATA #IMPLIED -- space separated list of classes -- style %StyleSheet; #IMPLIED -- associated style info -- title %Text; #IMPLIED -- advisory title/amplification --" ><!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 -- datafld CDATA #IMPLIED -- the property or column name -- dataformatas (plaintext|html) plaintext -- text or html --" >]]><!ENTITY % reserved ""><!ENTITY % attrs "%coreattrs; %i18n; %events;"><!ENTITY % align "align (left|center|right|justify) #IMPLIED" -- default is left for ltr paragraphs, right for rtl -- ><!--=================== Text Markup ======================================--><!ENTITY % fontstyle "TT | I | B | U | S | STRIKE | BIG | SMALL"><!ENTITY % phrase "EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | ABBR | ACRONYM" ><!ENTITY % special "A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT | MAP | Q | SUB | SUP | SPAN | BDO | IFRAME"><!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 -- ><!ELEMENT SPAN - - (%inline;)* -- generic language/style container --><!ATTLIST SPAN %attrs; -- %coreattrs, %i18n, %events -- %reserved; -- reserved for possible future use -- ><!ELEMENT BDO - - (%inline;)* -- I18N BiDi over-ride --><!ATTLIST BDO %coreattrs; -- id, class, style, title -- lang %LanguageCode; #IMPLIED -- language code -- dir (ltr|rtl) #REQUIRED -- directionality -- ><!ELEMENT BASEFONT - O EMPTY -- base font size --><!ATTLIST BASEFONT id ID #IMPLIED -- document-wide unique id -- size CDATA #REQUIRED -- base font size for FONT elements -- color %Color; #IMPLIED -- text color -- face CDATA #IMPLIED -- comma separated list of font names -- ><!ELEMENT FONT - - (%inline;)* -- local change to font --><!ATTLIST FONT %coreattrs; -- id, class, style, title -- %i18n; -- lang, dir -- size CDATA #IMPLIED -- [+|-]nn e.g. size="+1", size="4" -- color %Color; #IMPLIED -- text color -- face CDATA #IMPLIED -- comma separated list of font names -- ><!ELEMENT BR - O EMPTY -- forced line break --><!ATTLIST BR %coreattrs; -- id, class, style, title -- clear (left|all|right|none) none -- control of text flow -- ><!--================== 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 | CENTER | NOSCRIPT | NOFRAMES | BLOCKQUOTE | FORM | ISINDEX | HR | TABLE | FIELDSET | ADDRESS"><!ENTITY % flow "%block; | %inline;"><!--=================== Document Body ====================================--><!ELEMENT BODY O O (%flow;)* +(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 -- background %URI; #IMPLIED -- texture tile for document background -- %bodycolors; -- bgcolor, text, link, vlink, alink -- ><!ELEMENT ADDRESS - - ((%inline;)|P)* -- information on author --><!ATTLIST ADDRESS %attrs; -- %coreattrs, %i18n, %events -- ><!ELEMENT DIV - - (%flow;)* -- generic language/style container --><!ATTLIST DIV %attrs; -- %coreattrs, %i18n, %events -- %align; -- align, text alignment -- %reserved; -- reserved for possible future use -- ><!ELEMENT CENTER - - (%flow;)* -- shorthand for DIV align=center --><!ATTLIST CENTER %attrs; -- %coreattrs, %i18n, %events -- ><!--================== The Anchor Element ================================--><!ENTITY % Shape "(rect|circle|poly|default)"><!ENTITY % Coords "CDATA" -- comma separated list of lengths --><!ELEMENT A - - (%inline;)* -(A) -- anchor --><!ATTLIST A %attrs; -- %coreattrs, %i18n, %events -- charset %Charset; #IMPLIED -- char encoding of linked resource -- type %ContentType; #IMPLIED -- advisory content type -- name CDATA #IMPLIED -- named link end -- href %URI; #IMPLIED -- URI for linked resource -- hreflang %LanguageCode; #IMPLIED -- language code -- target %FrameTarget; #IMPLIED -- render in this frame -- 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 -- tabindex NUMBER #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 -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -