?? html32.dtd
字號:
<!-- W3C Document Type Definition for the HyperText Markup Language version 3.2 as ratified by a vote of W3C member companies. For more information on W3C look at URL http://www.w3.org/ Date: Tuesday January 14th 1997 Author: Dave Raggett <dsr@w3.org> HTML 3.2 aims to capture recommended practice as of early '96 and as such to be used as a replacement for HTML 2.0 (RFC 1866). Widely deployed rendering attributes are included where they have been shown to be interoperable. SCRIPT and STYLE are included to smooth the introduction of client-side scripts and style sheets. Browsers must avoid showing the contents of these element Otherwise support for them is not required. ID, CLASS and STYLE attributes are not included in this version of HTML.--><!ENTITY % HTML.Version "-//W3C//DTD HTML 3.2 Final//EN" -- Typical usage: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> ... </html> -- ><!--================== Deprecated Features Switch =========================--><!ENTITY % HTML.Deprecated "INCLUDE"><!--================== Imported Names =====================================--><!ENTITY % Content-Type "CDATA" -- meaning a MIME content type, as per RFC1521 --><!ENTITY % HTTP-Method "GET | POST" -- as per HTTP specification --><!ENTITY % URL "CDATA" -- The term URL means a CDATA attribute whose value is a Uniform Resource Locator, See RFC1808 (June 95) and RFC1738 (Dec 94). --><!-- Parameter Entities --><!ENTITY % head.misc "SCRIPT|STYLE|META|LINK" -- repeatable head elements --><!ENTITY % heading "H1|H2|H3|H4|H5|H6"><!ENTITY % list "UL | OL | DIR | MENU"><![ %HTML.Deprecated [ <!ENTITY % preformatted "PRE | XMP | LISTING">]]><!ENTITY % preformatted "PRE"><!--================ Character mnemonic entities ==========================--><!ENTITY % ISOlat1 PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">%ISOlat1;<!--================ Entities for special symbols =========================--><!-- &trade and &cbsp are not widely deployed and so not included here --><!ENTITY amp CDATA "&" -- ampersand --><!ENTITY gt CDATA ">" -- greater than --><!ENTITY lt CDATA "<" -- less than --><!--=================== Text Markup =======================================--><!ENTITY % font "TT | I | B | U | STRIKE | BIG | SMALL | SUB | SUP"><!ENTITY % phrase "EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE"><!ENTITY % special "A | IMG | APPLET | FONT | BASEFONT | BR | SCRIPT | MAP"><!ENTITY % form "INPUT | SELECT | TEXTAREA"><!ENTITY % text "#PCDATA | %font | %phrase | %special | %form"><!ELEMENT (%font|%phrase) - - (%text)*><!-- there are also 16 widely known color names although the resulting colors are implementation dependent: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow These colors were originally picked as being the standard 16 colors supported with the Windows VGA palette. --><!ELEMENT FONT - - (%text)* -- local change to font --><!ATTLIST FONT size CDATA #IMPLIED -- [+]nn e.g. size="+1", size=4 -- color CDATA #IMPLIED -- #RRGGBB in hex, e.g. red: color="#FF0000" -- ><!ELEMENT BASEFONT - O EMPTY -- base font size (1 to 7)--><!ATTLIST BASEFONT size CDATA #IMPLIED -- e.g. size=3 -- ><!ELEMENT BR - O EMPTY -- forced line break --><!ATTLIST BR clear (left|all|right|none) none -- control of text flow -- ><!--================== HTML content models ================================--><!-- HTML has three basic content models: %text character level elements and text strings %flow block-like elements e.g. paragraphs and lists %bodytext as %flow plus headers H1-H6 and ADDRESS--><!ENTITY % block "P | %list | %preformatted | DL | DIV | CENTER | BLOCKQUOTE | FORM | ISINDEX | HR | TABLE"><!-- %flow is used for DD and LI --><!ENTITY % flow "(%text | %block)*"><!--=================== Document Body =====================================--><!ENTITY % body.content "(%heading | %text | %block | ADDRESS)*"><!ENTITY % color "CDATA" -- a color specification: #HHHHHH @@ details? --><!ENTITY % body-color-attrs " bgcolor %color #IMPLIED text %color #IMPLIED link %color #IMPLIED vlink %color #IMPLIED alink %color #IMPLIED "><!ELEMENT BODY O O %body.content><!ATTLIST BODY background %URL #IMPLIED -- texture tile for document background -- %body-color-attrs; -- bgcolor, text, link, vlink, alink -- ><!ENTITY % address.content "((%text;) | P)*"><!ELEMENT ADDRESS - - %address.content><!ELEMENT DIV - - %body.content><!ATTLIST DIV align (left|center|right) #IMPLIED -- alignment of following text -- ><!-- CENTER is a shorthand for DIV with ALIGN=CENTER --><!ELEMENT center - - %body.content><!--================== The Anchor Element =================================--><!ELEMENT A - - (%text)* -(A)><!ATTLIST A name CDATA #IMPLIED -- named link end -- href %URL #IMPLIED -- URL for linked resource -- rel CDATA #IMPLIED -- forward link types -- rev CDATA #IMPLIED -- reverse link types -- title CDATA #IMPLIED -- advisory title string -- ><!--================== 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 --><!ENTITY % SHAPE "(rect|circle|poly)"><!ENTITY % COORDS "CDATA" -- comma separated list of numbers --><!ELEMENT MAP - - (AREA)*><!ATTLIST MAP name CDATA #IMPLIED ><!ELEMENT AREA - O EMPTY><!ATTLIST AREA shape %SHAPE rect coords %COORDS #IMPLIED -- defines coordinates for shape -- href %URL #IMPLIED -- this region acts as hypertext link -- nohref (nohref) #IMPLIED -- this region has no action -- alt CDATA #REQUIRED -- needed for non-graphical user agents -- ><!--================== The LINK Element ==================================--><!ENTITY % Types "CDATA" -- See Internet Draft: draft-ietf-html-relrev-00.txt LINK has been part of HTML since the early days although few browsers as yet take advantage of it. Relationship values can be used in principle: a) for document specific toolbars/menus when used with the LINK element in the document head: b) to link to a separate style sheet c) to make a link to a 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--><!ELEMENT LINK - O EMPTY><!ATTLIST LINK href %URL #IMPLIED -- URL for linked resource -- rel %Types #IMPLIED -- forward link types -- rev %Types #IMPLIED -- reverse link types -- title CDATA #IMPLIED -- advisory title string -- ><!--=================== Images ============================================--><!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length --><!ENTITY % Pixels "NUMBER" -- integer representing length in pixels --><!-- Suggested widths are used for negotiating image size with the module responsible for painting the image. align=left or right cause image to float to margin and for subsequent text to wrap around image --><!ENTITY % IAlign "(top|middle|bottom|left|right)"><!ELEMENT IMG - O EMPTY -- Embedded image --><!ATTLIST IMG src %URL #REQUIRED -- URL of image to embed -- alt CDATA #IMPLIED -- for display in place of image -- align %IAlign #IMPLIED -- vertical or horizontal alignment -- height %Pixels #IMPLIED -- suggested height in pixels -- width %Pixels #IMPLIED -- suggested width in pixels -- border %Pixels #IMPLIED -- suggested link border width -- hspace %Pixels #IMPLIED -- suggested horizontal gutter -- vspace %Pixels #IMPLIED -- suggested vertical gutter -- usemap %URL #IMPLIED -- use client-side image map -- ismap (ismap) #IMPLIED -- use server 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 --><!--=================== Java APPLET tag ===================================--><!-- This tag is supported by all Java enabled browsers. Applet resources (including their classes) are normally loaded relative to the document URL (or <BASE> element if it is defined). The CODEBASE attribute is used to change this default behavior. If the CODEBASE attribute is defined then it specifies a different location to find applet resources. The value can be an absolute URL or a relative URL. The absolute URL is used as is without modification and is not effected by the documents <BASE> element. When the codebase attribute is relative, then it is relative to the document URL (or <BASE> tag if defined).--><!ELEMENT APPLET - - (PARAM | %text)*><!ATTLIST APPLET codebase %URL #IMPLIED -- code base -- code CDATA #REQUIRED -- class file -- alt CDATA #IMPLIED -- for display in place of applet -- name CDATA #IMPLIED -- applet name -- width %Pixels #REQUIRED -- suggested width in pixels -- height %Pixels #REQUIRED -- suggested height in pixels -- align %IAlign #IMPLIED -- vertical or horizontal alignment -- hspace %Pixels #IMPLIED -- suggested horizontal gutter -- vspace %Pixels #IMPLIED -- suggested vertical gutter -- ><!ELEMENT PARAM - O EMPTY><!ATTLIST PARAM name NMTOKEN #REQUIRED -- The name of the parameter -- value CDATA #IMPLIED -- The value of the parameter -- ><!--Here is an example: <applet codebase="applets/NervousText" code=NervousText.class width=300 height=50> <param name=text value="Java is Cool!"> <img src=sorry.gif alt="This looks better with Java support"> </applet>-->
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -