REC-html32J $BKb=Q88EuHG(J

1997/6/9 $BK]Lu3+;O(J
1998/1/10$BK]Lu40N;(J
1998/4/18$B=$@5(J
http://www.bekkoame.ne.jp/%7Epoetlabo/WWW/HTML32/JandE.html
$BKb=Q88Eu(J
poetlabo@cap.bekkoame.ne.jp

W3C: REC-html32

HTML$BBh(J3.2$BHG;EMM;29M=q(J
HTML 3.2 Reference Specification

1997$BG/(J1$B7n(J14$BF|(JW3C$B4+9p(J
W3C Recommendation 14-Jan-1997

$BCxDave Raggett <dsr@w3.org>


$B$3$NJ8=q$NCO0L(J
Status of this document

$B$3$NJ8=q$O(JW3C$B9=@.0w$HB>$N4XO"CDBN$K$h$C$F8!F$$5$l!"(JW3C$B4+9p$H$7$F@UG$$NJ8=q$+$i$N0zMQ$,$G$-$^$9!#4+9p$r:n$k(JW3C$B$NLr3d$O!";EMM=q$KCmL\$r=8$a!"$3$l$,9-$/9T$-EO$k$h$&;Y1g$9$k$3$H$G$9!#$3$l$O(JWeb$B$N5!G=$d;H$$>! This document has been reviewed by W3C members and other interested parties and has been endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web.

$B:G?7$N(JW3C$B$NDs0F0lMw$dB>$N5;=QE*$JJ8=q$O(Jhttp://www.w3.org/pub/WWW/TR/$B$K$"$j$^$9!#(J
A list of current W3C Recommendations and other technical documents can be found at http://www.w3.org/pub/WWW/TR/.


$B35MW(J
Abstract

$BD61[=qN`I=5-K!$O!"0[$J$k%W%i%C%H%[!<%`4V$GpJs$rI=8=$9$k$N$KE,$7$F$$$^$9!#$3$N;EMM=q$O(JHTML$BBh(J3.2$BHG$rDj5A$7$^$9!#(JHTML3.2$B$O!"(J1996$BG/=iF,$K4+9p$5$l$?0F7o$r(JHTML 2.0 (RFC 1866)$B$K The HyperText Markup Language (HTML) is a simple markup language used to create hypertext documents that are portable from one platform to another. HTML documents are SGML documents with generic semantics that are appropriate for representing information from a wide range of applications. This specification defines HTML version 3.2. 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).


$BL\ Contents


$B$O$8$a$K(J
Introduction to HTML 3.2

HTML3.2$B$O(JW3C$B$N(JHTML$B;EMM=q$G!"(JIBM, Microsoft, Netscape Communications Corporation, Novell, SoftQuad, Spyglass, Sun Microsystems$B$H$$$C$?%=%U%H%&%'%"6!5ke$G!"I=AH$d%"%W%l%C%H$dJ8>O$N2hA|2s$j9~$_$J$I!"I}9-$$?75!G=$r2C$($F$$$^$9!#(J
HTML 3.2 is W3C's specification for HTML, developed in early `96 together with vendors including IBM, Microsoft, Netscape Communications Corporation, Novell, SoftQuad, Spyglass, and Sun Microsystems. HTML 3.2 adds widely deployed features such as tables, applets and text flow around images, while providing full backwards compatibility with the existing standard HTML 2.0.

W3C$B$O%=%U%H%&%'%"6!5k W3C is continuing to work with vendors on extensions for accessibility features, multimedia objects, scripting, style sheets, layout, forms, math and internationalization. W3C plans on incorporating this work in further versions of HTML.

SGML$B$N1~MQ$H$7$F$N(JHTML
HTML as an SGML Application

HTML3.2$B$O9q:]5,3J(JISO8879$B!J(JStandard Generalized Markup Language$B!K$K4p$E$/(JSGML$B$N1~MQ$G$9!#(JSGML$B$N1~MQ$G$9$N$G!"(JHTML3.2$B$K4p$E$/J8=q$NJ8K!$O!"(JSGML$B@k8@(J$B$H(J$BJ8=q7?Dj5A(J(DTD)$B$NAH$_9g$o$;$K$h$C$FDj5A$5$l$^$9!#$3$N;EMM=q$O(JHTML3.2$B$NMWAG$H$7$F9M$($i$l$?2r\$7$$@bL@$r$7$F$$$^$9!#(J
HTML 3.2 is an SGML application conforming to International Standard ISO 8879 -- Standard Generalized Markup Language. As an SGML application, the syntax of conforming HTML 3.2 documents is defined by the combination of the SGML declaration and the document type definition (DTD). This specification defines the intended interpretation of HTML 3.2 elements, and places further constraints on the permitted syntax which are otherwise inexpressible in the DTD.

$B5-O?$N6h@Z$j$K4X$9$k(JSGML$B5,B'$O6J7]E*$G$9!#FC$K!"3+;O%?%0$ND>8e$KB3$/5-O?=*N;$OHt$P$5$l$k$3$H$K$J$j$^$9!#Nc$($P(J
The SGML rules for record boundaries are tricky. In particular, a record end immediately following a start tag should be discarded. For example:

<P>
$BJ8>O(JText

$B$O!"(J
is equivalent to:

<P>$BJ8>O(JText

$B$H$9$k$N$HF1Ey$G$9!#(J
$BF1MM$K!"=*N;%?%0$ND>A0$KCV$+$l$?5-O?=*N;$OHt$P$5$l$k$3$H$K$J$j$^$9!#Nc$($P(J
Similarly, a record end immediately preceding an end tag should be discarded. For example:

$BJ8>O(JText
</P>

$B$O!"(J
is equivalent to:

$BJ8>O(JText</P>

$B$H$9$k$N$HF1Ey$G$9!#(J

(PRE$BMWAG$N$h$&$J(J)$BJ8;zNs$NItJ,$r=|$-!"(JHTML$B$O6uGr$,O"B3$7$F$$$kItJ,$r0l;zJ,$NM>Gr(J($B%"%9%-!e$N5,B'$O!"D61[=qN`$rD>@\I=5-$9$k$H$-$K!"BgI}$J=@Fp@-$r;}$?$;$k$b$N$G$9!#>-Mh$N(JHTML$B$N2~D{$G$O!"%9%?%$%k%7!<%H$K$h$C$FDj5A$5$l$?%?%V5,B'$K4XO"$7$F!"?eJ?%?%V(J($B%"%9%-! Except within literal text (e.g. the PRE element), HTML treats contiguous sequences of white space characters as being equivalent to a single space character (ASCII decimal 32). These rules allow authors considerable flexibility when editing the marked-up text directly. Note that future revisions to HTML may allow for the interpretation of the horizontal tab character (ASCII decimal 9) with respect to a tab rule defined by an associated style sheet.

PCDATA$B$NFbMF$d(JCDATA$B$NB0@-$N(JSGML$B&#233;$B$O9q:]I8=`2=5!9=%i%F%s#1J8;z(J233$BHV!J1T%"%/%;%s%H$r;}$D>.J8;z$N(Je$B!K$H$7$F3HD%$5$l$^$9!#(J $B$3$l$O(J&eacute;$B$N$h$&$JL>>N&amp;$B$H$$$&L>>N SGML entities in PCDATA content or in CDATA attributes are expanded by the parser, e.g. &#233; is expanded to the ISO Latin-1 character decimal 233 (a lower case letter e with an acute accent). This could also have been written as a named character entity, e.g. &eacute;. The & character can be included in its own right using the named character entity &amp;.

HTML$B$G$O!"B0@-CM$,J8;z(J($B%"%k%U%!%Y%C%H$NBgJ8;z$H>.J8;z(J)$B!&?t;z(J (0$B$+$i(J9)$B!"%O%$%U%s(J-$B!J%"%9%-!l9g$O!"(J CDATA$BB0@-$K$O0zMQId$rIU$1$J$/$F$b$h$$$3$H$K$J$C$F$$$^$9!#B0@-CM$OFs=E0zMQId(J"$BKt$OC10zMQId(J'$B!J$=$l$>$l%"%9%-! HTML allows CDATA attributes to be unquoted provided the attribute value contains only letters (a to z and A to Z), digits (0 to 9), hyphens (ASCII decimal 45) or, periods (ASCII decimal 46). Attribute values can be quoted using double or single quote marks (ASCII decimal 34 and 39 respectively). Single quote marks can be included within the attribute value when the value is delimited by double quote marks, and vice versa.

$B%f!<%6%(!<%8%'%s%H$K$h$C$F$O!"0J2<$NB0@-$K$D$$$F:G>.8B2=$rI,MW$H$9$k$b$N$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#(J COMPACT, ISMAP, CHECKED, NOWRAP, NOSHADE , NOHREF
$B$=$N$h$&$J%f!<%6%(!<%8%'%s%H$O!"(JHTML 3.2 DTD$B$K4p$E$/BEEv$JI=5-$G$"$C$F$b!"(JCOMPACT=COMPACT$B$d(JISMAP=ISMAP$B$J$I$H$$$C$?8lK!$r Note that some user agents require attribute minimisation for the following attributes: COMPACT, ISMAP, CHECKED, NOWRAP, NOSHADE and NOHREF. These user agents don't accept syntax such as COMPACT=COMPACT or ISMAP=ISMAP although this is legitimate according to the HTML 3.2 DTD.

HTML3.2$B;HMQ$N$?$a$N(JSGML$B@k8@$HJ8=q7?Dj5A$K$D$$$F$O!"JdB-$K2s$7$^$9!#(J HTML$B9=J82r@O$K4X$9$k>\:Y$J%,%$%I%i%$%s$O(JWD-html-lex$B$K$"$j$^$9!#(J
The SGML declaration and the DTD for use with HTML 3.2 are given in appendices. Further guidelines for parsing HTML are given in WD-html-lex.


HTML$BJ8=q$N9=B$(J
The Structure of HTML documents

HTML3.2$BJ8=q$O$^$:(J<!DOCTYPE>$B@k8@$G;O$a!"$=$N8e$KF,(JHEAD$B!J$+$7$i!K!"$=$7$FK\J8(JBODY$BMWAG$H$$$&(JHTML$BMWAG$,B3$-$^$9!#(J
HTML 3.2 Documents start with a <!DOCTYPE> declaration followed by an HTML element containing a HEAD and then a BODY element:

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  <HTML>
  <HEAD>
  <TITLE>A study of population dynamics</TITLE>
  ... other head elements
  </HEAD>
  <BODY>
  ... document body
  </BODY>
  </HTML>

$BHEAD$B$H(JBODY$B$N3+;O%?%0$H=*N;%?%0$O!"(JHTML 3.2 DTD$B$K=`5r$9$k8lK!2r@O$K$h$C$F$3$l$r$9$Y$F?d;!$G$-$k$b$N$G$"$k$?$a!"(J $B>JN,$9$k$3$H$,$G$-$^$9!#(J
In practice, the HTML, HEAD and BODY start and end tags can be omitted from the markup as these can be inferred in all cases by parsers conforming to the HTML 3.2 DTD.

HTML3.2$B$K4p$E$/$9$Y$F$NJ8=q$O!"(JHTML3.2$BJ8=q$r(JHTML$B$N(J $BB>$NHG$+$i6hJL$9$k$?$a$K(J$BI,$:(J<!DOCTYPE>$B@k8@$G;O$a$J$1$l$P$J$j$^$;$s!#(JHTML$B;EMM=q$O!"J]4I Every conforming HTML 3.2 document must start with the <!DOCTYPE> declaration that is needed to distinguish HTML 3.2 documents from other versions of HTML. The HTML specification is not concerned with storage entities. As a result, it is not required that the document type declaration reside in the same storage entity (i.e. file). A Web site may choose to dynamically prepend HTML files with the document type declaration if it is known that all such HTML files conform to the HTML 3.2 specification.

$B$^$?!"A4$F$N(JHTML3.2$BJ8=q$O!"I,$:6qBNE*$JI8BjMWAG$r;}$?$J$1$l$P$J$j$^$;$s!#=>$C$F!":G>.8B$N(JHTML3.2$BJ8=q$O Every HTML 3.2 document must also include the descriptive title element. A minimal HTML 3.2 document thus looks like:

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  <TITLE>$B?M8}F0BVD4::(JA study of population dynamics</TITLE>

$BCm0U(J: HTML3.2$B;EMM=q$,(JW3C$B4X78 Note: the word "Final" replaces "Draft" now that the HTML 3.2 specification has been ratified by the W3C member organizations.


$BF,!J$+$7$i!KMWAG(J
The HEAD element

$B$3$l$OJ8=q$NF,$rF~$l$k=j$G$9$,!"3+;O%?%0$H=*N;%?%0$O>JN,$G$-$^$9!#(J $BJ8=q$NF,$NFbMF$O!"0J2<$NMWAG$r=gITF1$KJB$Y$?$b$N$G$9!#(J
This contains the document head, but you can always omit both the start and end tags for HEAD. The contents of the document head is an unordered collection of the following elements:

<!ENTITY % head.content "TITLE & ISINDEX? & BASE?">
<!ENTITY % head.misc "SCRIPT|STYLE|META|LINK">

<!ELEMENT HEAD O O  (%head.content) +(%head.misc)>

%head.misc $B The %head.misc entity is used to allow the associated elements to occur multiple times at arbitrary positions within the HEAD. The following elements can be part of the document head:

$BI8Bj(J TITLE
$BJ8=q$NI8Bj$rDj$a$^$9!#>o$KI,MW$G$9!#(J
defines the document title, and is always needed.
$B%-%$%o!<%I:w0z(J ISINDEX
$B4JC1$J%-%$%o!<%I8!:w$K;H$$$^$9!#(JPROMPT$BB0@-$r8+$F$/$@$5$$!#(J
for simple keyword searches, see PROMPT attribute.
$B4pHW(J BASE
$BAjBP(JURL$B$r2r defines base URL for resolving relative URLs.
$B=qK!(J SCRIPT
$B>-Mh!"%W%m%0%i%`=qK!$rF3F~$9$k$?$a$N=`Hw$G$9!#(J
reserved for future use with scripting languages.
$B3J<0(J STYLE
$B>-Mh!"%9%?%$%k%7!<%H$rF3F~$9$k$?$a$N=`Hw$G$9!#(J
reserved for future use with style sheets.
$BA0CV$-(J META
$BL>A0(J/$BCM$NAH$_9g$o$;$K$h$j!"A0CV$-$r$7$F$*$/$N$K;H$o$l$^$9!#(J
used to supply meta info as name/value pairs.
$BO":?(J LINK
$BB>$NJ8=q$H$N4X78$rDj$a$k$N$K;H$o$l$^$9!#(J
used to define relationships with other documents.

TITLE, SCRIPT,STYLE$B$OMF$lJ*$J$N$G!"3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#B>$NMWAG$OMF$lJ*$G$O$J$$$N$G!"=*N;%?%0$O=P$F$-$^$;$s!#$J$*!"$3$N;EMM$K=>$&%V%i%&%6$O!"(JSCRIPT$BMWAG$H(JSTYLE$BMWAG$NFbMF$K$D$$$F$OF0:n$7$J$$$3$H$KCm0U$7$F$/$@$5$$!#(J
TITLE, SCRIPT and STYLE are containers and require both start and end tags. The other elements are not containers so that end tags are forbidden. Note that conforming browsers won't render the contents of SCRIPT and STYLE elements.

$BI8Bj(J
TITLE

<!ELEMENT TITLE - -  (#PCDATA)* -(%head.misc)>

$BA4$F$N(JHTML3.2$BJ8=q$K$OJ8=q$N(JHEAD$B$K(J$BI,$:(JTITLE$BMWAG$,L@<($5$l$F$$$J$1$l$P$J$j$^$;$s!#(J $B$3$l$O(JW.W.W.$B%V%i%&%6Ey$NAk8+=P$7$J$I$GI=<($5$l$k!"@bL@E*$JI8Bj$rM?$($k$b$N$G$9!#FbMF$N7?$O!"(JPCDATA$B$rMQ$$$^$9!#(J $B=>$C$F!"6/D4$5$l$?;z$K!"$^$?(J&$B$d(J<$B$H$$$C$?FCTITLE$BMWAGCf$G$N%?%0$N;HMQ$O5v$5$l$^$;$s!#(J
Every HTML 3.2 document must have exactly one TITLE element in the document's HEAD. It provides an advisory title which can be displayed in a user agent's window caption etc. The content model is PCDATA. As a result, character entities can be used for accented characters and to escape special characters such as & and <. Markup is not permitted in the content of a TITLE element.

$BI8BjMWAG$NNc!!(JExample TITLE element:

    <TITLE>$B?M8}F0BVD4::!!(JA study of population dynamics</TITLE>

$B3J<0$H=qK!!!(JSTYLE and SCRIPT

<!ELEMENT STYLE  - - CDATA -- $B%9%?%$%k>pJs$NCV$->l=j(J
$B!!(Jplaceholder for style info -->
<!ELEMENT SCRIPT - - CDATA -- $B%9%/%j%W%H$NCV$->l=j(J
$B!!(Jplaceholder for script statements -->

$B$3$l$i$O!">-Mh$NHG$N(JHTML$B$K!"%9%?%$%k%7!<%H$HK,Ldl=j$r3NJ]$7$F$*$/$b$N$G$9!#%f!<%6%(!<%8%'%s%H$O$3$l$i$NMWAG$NFbMF$rI=<($7$J$$$h$&$K$9$k$Y$-$G$9!#(J
These are place holders for the introduction of style sheets and client-side scripts in future versions of HTML. User agents should hide the contents of these elements.

$B$3$l$i$NMWAG$OFbMF$C$F!"$=$NCf$KF~$l$i$l$k$N$O(JSGML$B5-9f$K8B$j$^$9!#A4$F$N%^!<%/%"%C%W5-9f$d(J $B6h@Z$j$O!"%"%W%j%1!<%7%g%s$KL5;k$5$l!"%G!<%?$H$7$FJV$5$l$^$9$,!"$9$08e$KJ8;z(J[$B%"%k%U%!%Y%C%H(J]$B$,B3$1$i$l$?(JETAGO ("</")$B6h@Z$j$ONc30$G$9!#$H$$$&$3$H$O!"MWAG$N=*N;%?%0!J$^$?$OF~$l;R$K$5$l$?MWAG$N$=$l!K$,<1JL$5$l!"(JETAGO$B$,IT@5$G$"$l$P%(%i!<$,H/@8$9$k$o$1$G$9!#(J
These elements are defined with CDATA as the content type. As a result they may contain only SGML characters. All markup characters or delimiters are ignored and passed as data to the application, except for ETAGO ("</") delimiters followed immediately by a name character [a-zA-Z]. This means that the element's end-tag (or that of an element in which it is nested) is recognized, while an error occurs if the ETAGO is invalid.

$B%-%$%o!<%I:w0z(J
ISINDEX

    <!ELEMENT ISINDEX - O EMPTY>
    <!ATTLIST ISINDEX
        prompt CDATA #IMPLIED -- prompt message -->

ISINDEX $BMWAG$O!" The ISINDEX element indicates that the user agent should provide a single line text input field for entering a query string. There are no restrictions on the number of characters that can be entered. The PROMPT attribute can be used to specify a prompt string for the input field, e.g.

    <ISINDEX PROMPT="Search Phrase">

ISINDEX$B$N0UL#$O:#$N$H$3$m!"0O$s$G$$$kJ8=q$N4pHW(JURL$B$,(JHTTP URL$B$G$"$k>l9g$K$@$1$-$A$s$H7h$a$i$l$F$$$^$9!#E57?E*$K$O!"MxMQ The semantics for ISINDEX are currently well defined only when the base URL for the enclosing document is an HTTP URL. Typically, when the user presses the enter (return) key, the query string is sent to the server identified by the base URL for this document. For example, if the query string entered is "ten green apples" and the base URL is:

    http://www.acme.com/

$B$G$9$H!"Aw$i$l$kJ8;zNs$O then the query generated is:

    http://www.acme.com/?ten+green+apples"

$B6uGr5-9f$,!X(J + $B!Y5-9f$KCV$-49$($i$l!"DL>o$N(JURL$B5-9f$r2sHr$9$k5!9=$,F/$$$F$$$k$3$H$KCm0U$7$F$/$@$5$$!#(J $B>\:Y$K$D$$$F$O(JHTTP$B;EMM=q$r;2>H$N$3$H!#(J
Note that space characters are mapped to "+" characters and that normal URL character escaping mechanisms apply. For further details see the HTTP specification.

$BCm0U(J$B!!
Note in practice, the query string is resticted to Latin-1 as there is no current mechanism for the URL to specify a character set for the query.

$B4pHW(J
BASE

    <!ELEMENT BASE - O EMPTY>
    <!ATTLIST BASE
        href %URL  #REQUIRED
        >

BASE$BMWAG$O!"AjBP(JURL$B$r(JURL$B;EMM=qEy$N5,B'$r;H$C$F2r The BASE element gives the base URL for dereferencing relative URLs, using the rules given by the URL specification, e.g.

    <BASE href="http://www.acme.com/intro.html">
     ...
    <IMG SRC="icons/logo.gif">

$B$H$9$k$H!"2hA|$N0LCV$O The image is deferenced to

    http://www.acme.com/icons/logo.gif

BASE$BMWAG$r7g$/>l9g$K$O!"$=$NJ8=q$N(JURL$B$,;HMQ$5$l$k$Y$-$G$9!#J8=q$KH<$C$F$$$k(JHTTP$B%X%C%@$K$h$C$F4pHW(JURL$B$,>e=q$-$5$l$k$+$b$7$l$J$$$?$a!"$3$l$O$=$NJ8=q$r5a$a$k$N$K;H$o$l$?(JURL$B$HI,$:$7$bF1$8$b$N$G$"$kI,MW$O$J$$$3$H$KCm0U$7$F$/$@$5$$!#(J
In the absence of a BASE element the document URL should be used. Note that this is not necessarily the same as the URL used to request the document, as the base URL may be overridden by an HTTP header accompanying the document.

$BA0CV$-(J
META

<!ELEMENT META - O EMPTY    -- $B0lHLA0CV$->pJs!!(JGeneric Metainformation -->
<!ATTLIST META
        http-equiv  NAME    #IMPLIED  -- HTTP$B1~Ez%X%C%@L>!!(JHTTP response header name  --
        name        NAME    #IMPLIED  -- $BA0CV$->pJsL>!!(Jmetainformation name       --
        content     CDATA   #REQUIRED -- $B4XO">pJs!!(Jassociated information     --
        >

META$BMWAG$r;H$C$F!"CxA0$HCM$NAH$_9g$o$;$rDI2C$9$k$3$H$,$G$-$^$9!#(JNAME $BB0@-$OFC@-$NL>A0$r;XDj$7!"(JCONTENT $BB0@-$OFC@-$NCM$r;XDj$7$^$9!#$?$H$($P(J
The META element can be used to include name/value pairs describing properties of the document, such as author, expiry date, a list of key words etc. The NAME attribute specifies the property name while the CONTENT attribute specifies the property value, e.g.

    <META NAME="Author" CONTENT="Dave Raggett">

HTTP-EQUIV $BB0@-$O(JNAME $BB0@-$NBe$o$j$K;HMQ$9$k$3$H$,$G$-$^$9!#$3$NB0@-$O!"D61[=qN`E>Aw%W%m%H%3%k!J(JHTTP$B!K$K$h$C$FJ8=q$rA0$r;H$&$3$H$,$G$-$k$N$G$9!#$3$l$O$7$+$7!"FCDj$N(J HTTP $B%X%C%@$r%;%C%H$9$k$3$H$,$G$-$k$H$$$&$3$H$G$O$"$j$^$;$s!#>\:Y$K$D$$$F$O(J HTTP $B;EMM=q$r8+$F$/$@$5$$!#(J
The HTTP-EQUIV attribute can be used in place of the NAME attribute and has a special significance when documents are retrieved via the Hypertext Transfer Protocol (HTTP). HTTP servers may use the property name specified by the HTTP-EQUIV attribute to create an RFC 822 style header in the HTTP response. This can't be used to set certain HTTP headers though, see the HTTP specification for details.

    <META HTTP-EQUIV="Expires" CONTENT="Tue, 20 Aug 1996 14:25:27 GMT">

$B$H$9$k$H!"(JHTTP$B%X%C%@$O will result in the HTTP header:

    Expires: Tue, 20 Aug 1996 14:25:27 GMT

$B$3$l$O!"4X78$7$F$$$kJ8=q$N?7$7$$%3%T!<$r$$$D This can be used by caches to determine when to fetch a fresh copy of the associated document.

$BO":?(J
LINK

LINK $B$OB>$NJ8=q$H%j%=!<%9$H$N4X78$rDj5A$9$k$?$a$N!"%a%G%#%"$+$iFHN)$7$?J}K!$rM?$($k$b$N$G$9!#(J LINK $B$OHs>o$KAa$$;~4|$+$i(JHTML$B$K/?t$K$H$I$^$C$F$$$^$9!J$[$H$s$I$,0MA3$H$7$F(JLINK $BMWAG$rL5;k$9$k!K!#(J
LINK provides a media independent method for defining relationships with other documents and resources. LINK has been part of HTML since the very early days, although few browsers as yet take advantage of it (most still ignore LINK elements).

LINK $BMWAG$N4pK\E*$J;HMQK!$O(J
LINK elements can be used in principle:

  1. $BJ8=q$NM6F3MQ%D!<%k%P!<$+%a%K%e!<$H$7$F(J
    for document specific navigation toolbars or menus
  2. HTML $B%U%!%$%k$N=8$^$j$r0u:~J8=q$K$I$&I=8=$9$k$+$N4IM}(J
    to control how collections of HTML files are rendered into printed documents
  3. $B%9%?%$%k%7!<%H$H%9%/%j%W%H$N$h$&$J4X78$7$F$$$k%j%=!<%9$rO":?$9$k(J
    for linking associated resources such as style sheets and scripts
  4. $B8=9T$NJ8=q$NBe$o$j$N=q<0$rM?$($k(J
    to provide alternative forms of the current document
    <!ELEMENT LINK - O EMPTY>
    <!ATTLIST LINK
        href    %URL    #IMPLIED    -- $BO":?$7$?AG:`$N(JURL$B!!(J98.1.9URL for linked resource --
        rel     CDATA   #IMPLIED    -- $B@5=gO":?%?%$%W!!(Jforward link types --
        rev     CDATA   #IMPLIED    -- $B5U=gO":?%?%$%W!!(Jreverse link types --
        title   CDATA   #IMPLIED    -- $B=u8@E*I8BjJ8;zNs!!(Jadvisory title string --
        >
href
$BO":?$5$l$?%j%=!<%9$N(JURL$B$r;XDj$9$k$b$N$G$9!#(J
Specifies a URL designating the linked resource.
rel
$B!XO":?%?%$%W!Y$H$7$F$bCN$i$l$F$$$k@5=g$N4X78!#(J $BA0$NIU$$$?4X78$r;XDj$9$k$b$N$G$9!#(J $B$$$/$D$+$N47=,$,@.N)$7$F$O$$$^$9$,!"(J HTML $BO":?4X78$O$^$@I8=`2=$5$l$F$$$^$;$s!#(J
The forward relationship also known as the "link type". It specifies a named relationship from the enclosing document to the resource specified by the HREF attribute. HTML link relationships are as yet unstandardized, although some conventions have been established.
rev
$B$3$l$O5U=g$N4X78$rDj5A$9$k$b$N$G$9!#(J REV= $B4X78(J$B$N$"$kJ8=q(J B $B$X$NJ8=q(J A $B$+$i$NO":?$O!"(J REL= $B4X78(J$B$N$"$k(J A $B$X$N(J B $B$+$i$NO":?$HF1$84X78$rI=$7$^$9!#(J REV=made $B$O$7$P$7$P!"J8=q$NCx This defines a reverse relationship. A link from document A to document B with REV=relation expresses the same relationship as a link from B to A with REL=relation. REV=made is sometimes used to identify the document author, either the author's email address with a mailto URL, or a link to the author's home page.
title
$BO":?$7$?%j%=!<%9$N=u8@E*$JI8Bj$G$9!#(J
An advisory title for the linked resource.

$BDs0F$5$l$?4X78$NCM$K$O Here are some proposed relationship values:

rel=top
$B$3$NO":?$O!"%T%i%_%C%I9=B$$N:G>eIt!"$?$H$($P=8@Q$NCf$N:G=i$+I=;f$N%Z!<%8$r;2>H$7$^$9!#(J
The link references the top of a hierarchy, e.g. the first or cover page in a collection.
rel=contents
$B$3$NO":?$O!"L\H$7$^$9!#(J
The link references a document serving as a table of contents.
rel=index
$B$3$NO":?$O!"$$$^8+$F$$$kJ8=q$N:w0z$,$"$kJ8=q$r;2>H$7$^$9!#(J
The link references a document providing an index for the current document.
rel=glossary
$B$3$NO":?$O!"$$$^8+$F$$$kJ8=q$H4X78$,$"$k8@MU$NMQ8l2r@b$r$7$F$$$kJ8=q$r;2>H$7$^$9!#(J
The link references a document providing a glossary of terms that are relevant to the current document.
rel=copyright
$B$3$NO":?$O!"$$$^8+$F$$$kJ8=q$NCx:n8"I=<($r0z$-$^$9!#(J
The link references a copyright statement for the current document.
rel=next
$B$3$NO":?$O!"=g=x$H$7$FM=Dj$5$l$?H$7$^$9!#$?$H$($P The link references the next document to visit in a guided tour. It can be used, for example, to preload the next page.
rel=previous
$B$3$NO":?$O!"=g=x$H$7$FA0$NJ8=q$r;2>H$7$^$9!#(J
The link references the previous document in a guided tour.
rel=help
$B$3$NO":?$O!"%X%k%W$rDs6!$7$F$$$kJ8=q!"Nc$($P$h$j9-HO$JFbMF$r5-=R$7$F$$$F!"4XO"$7$?J8=q$X$N>\:Y$JO":?$rDs6!$7$F$$$k$b$N$J$I$r;2>H$7$^$9!#(J $B$3$l$OESCf$GF;$KLB$C$?MxMQ$9$3$H$rA[Dj$7$F$$$^$9!#(J
The link references a document offering help, e.g. describing the wider context and offering further links to relevant documents. This is aimed at reorienting users who have lost their way.
rel=search
$B$3$NO":?$O!"%Z!<%8$N=8@Q$H4XO"$,$"$k$b$N$H$7$FA\$7$F$$$k:`NA$N$?$a$N%Z!<%8$r;2>H$7$^$9!#(J
The link references a page for searching material related to a collection of pages

LINK$BMWAG$NNc(J

    <LINK REL=Contents HREF=toc.html>
    <LINK REL=Previous HREF=doc31.html>
    <LINK REL=Next HREF=doc33.html>

    <LINK REL=Chapter REV=Contents HREF=chapter2.html>

$BK\J8MWAG(J
The BODY element

$B$3$3$K$OJ8=q$NK\J8$,F~$j$^$9!#(JBODY$B$N3+;O%?%0$H=*N;%?%0$O>JN,$9$k$3$H$,$G$-$^$9!#K\J8$K$OI}9-$$MWAG$,4^$^$l$^$9!#(J
This contains the document body. Both start and end tags for BODY may be omitted. The body can contain a wide range of elements:

$B The key attributes are:
BACKGROUND, BGCOLOR, TEXT, LINK, VLINK and ALINK.
$B$3$l$i$r;H$C$FJI;f$rE=$C$?$j!"GX7J?'$K2C$(J8>O$dD6O":?$N?'$r@_Dj$7$?$j$9$k$3$H$,$G$-$^$9!#(J
These can be used to set a repeating background image, plus background and foreground colors for normal text and hypertext links.

<!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  -- $BJ8=q$NGX7J$H$J$k@8CO!!(Jtexture tile for document background --
        %body-color-attrs;  -- bgcolor, text, link, vlink, alink --
        >

$BNc!!(JExample:

 <body bgcolor=white text=black link=red vlink=maroon alink=fuchsia>
bgcolor
$BK\J8$NGX7J?'$rDj$a$^$9!#2<5-$N?'$NCM$K4X$9$k8lK!$r8+$F$/$@$5$$!#(J
Specifies the background color for the document body. See below for the syntax of color values.
text
$BJ8>O$rBG$A=P$9$N$K;H$o$l$k?'$rDj$a$^$9!#$3$l$O0lHLE*$K!"(JBGCOLOR$BB0@-$d(JBACKGROUND$BB0@-$GGX7J?'$rJQ2=$5$;$?$H$-$K;H$o$l$^$9!#(J
Specifies the color used to stroke the document's text. This is generally used when you have changed the background color with the BGCOLOR or BACKGROUND attributes.
link
$B$^$@9T$C$?$3$H$,$J$$D6O":?$K$J$C$F$$$kItJ,$N?'$rDj$a$^$9!#(J
Specifies the color used to stroke the text for unvisited hypertext links.
vlink
$B4{$K9T$C$?$3$H$N$"$kD6O":?$K$J$C$F$$$kItJ,$N?'$rDj$a$^$9!#(J
Specifies the color used to stroke the text for visited hypertext links.
alink
$BD6O":?$r%+%A%C$H2!$7$?=V4V$N?'$rDj$a$^$9!#(J
Specifies the highlight color used to stroke the text for hypertext links at the moment the user clicks on the link.
background
$BJ8=q$NGX7J$K;H$&JI;f$r(JURL$B;XDj$7$^$9!#(J
Specifies a URL for an image that will be used to tile the document background.

$B?'$O(J16$B?JK!$N?t;z!J(J COLOR= $B!X(J #C0FFC0 $B!Y$J$I!K$H$7$F!"0?$$$O!"9-$/CN$i$l$F$$$k(J16$B$N?'L>A0$N#1$D$H$7$F!"(JsRGB$B?'6u4V$GM?$($i$l$^$9!#(J $B$3$l$i$N?'$O85!9!"%&%#%s%I%&%:(J VGA $B%Q%l%C%H$,07$&I8=`(J16 $B?'$H$7$FA*$P$l$F$$$?$b$N$G$9!#(J
Colors are given in the sRGB color space as hexadecimal numbers (e.g. COLOR="#C0FFC0"), or as one of 16 widely understood color names. These colors were originally picked as being the standard 16 colors supported with the Windows VGA palette.

Color names and 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"

$B$^$H$aMWAG!&J8>OMWAG(J
Block and Text level elements

$BJ8=q$NK\J8$K=P$F$/$kMWAG$NBgH>$O!"Fs$D$N%0%k!<%W$KJ,$1$i$l$^$9!#0l$D$OCJMnJ,$1$r$9$k$^$H$aMWAG$G!"$b$&0l$D$O$=$l$r$7$J$$J8>OMWAG$G$9!#0lHLE*$J$^$H$aMWAG$H$7$F$O!"(JH1$B!A(JH6$B!'8+=P$7!"(JP$B!'CJMn!"(JLI$B!'0lMw9`L\!"(JHR$B!'?eJ?@~$J$I$,$"$j$^$9!#0lHLE*$JJ8>OMWAG$H$7$F$O!"(JEM$B!&(JI$B!&(JB$B!&(JFONT$B!';z$N6/D4!"(JA$B!'D6O":?!"(JIMG$B!&(JAPPLET$B!'Kd$a9~$_BP>]J*!"(JBR$B!'2~9T$J$I$,$"$j$^$9!#J8>OMWAG$,3g$j9~$a$k$N$OB>$NJ8>OMWAG$@$1$J$N$KBP$7$F!"$^$H$aMWAG$O0lHLE*$K!"J8>OMWAG$dB>$N$^$H$aMWAG!J8+=P$7$H08@h$r=|$/!K$r3g$j9~$`$h$&$KF/$/$3$H$KCm0U$7$F$/$@$5$$!#@5$7$$7?$OMWAG$K$h$C$FJQ$o$j$^$9!#(J
Most elements that can appear in the document body fall into one of two groups: block level elements which cause paragraph breaks, and text level elements which don't. Common block level elements include H1 to H6 (headers), P (paragraphs) LI (list items), and HR (horizontal rules). Common text level elements include EM, I, B and FONT (character emphasis), A (hypertext links), IMG and APPLET (embedded objects) and BR (line breaks). Note that block elements generally act as containers for text level and other block level elements (excluding headings and address elements), while text level elements can only contain other text level elements. The exact model depends on the element.

$B8+=P$7(J
Headings

<!--
$B8+=P$7$K$O(JH1$B!J:G=EMW!K$+$i(JH6$B!J:G$b=EMW$G$J$$!K$^$G(J6$B$D$NCJ3,$,$"$j$^$9!#(J
There are six levels of headers from H1 (the most important) to H6 (the least important).
-->

<!ELEMENT ( %heading )  - -  (%text;)*>
<!ATTLIST ( %heading )
        align  (left|center|right) #IMPLIED
        >

H1,H2,H3,H4,H5,H6$B$OJ8=q$N8+=P$7$H$7$F;H$o$l$^$9!#>o$K3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#(JH1$BMWAG$O(JH2$BMWAG0J2<$h$j$b=EMW$G!"(JH6$BMWAG$O8+=P$7$H$7$F$N=EMW@-$,:GDc$N$b$N$H$J$j$^$9!#$h$j=EMW$J8+=P$7$O0lHLE*$K$=$l0J2<$N$b$N$h$jBg$-$J3h;z$GI=<($5$l$^$9!#DI2C$G$-$kB0@-$H$7$F!"8+=P$7$N0LCV7h$a$r$9$k(JALIGN$B$,$"$j!" H1, H2, H3, H4, H5 and H6 are used for document headings. You always need the start and end tags. H1 elements are more important than H2 elements and so on, so that H6 elements define the least important level of headings. More important headings are generally rendered in a larger font than less important ones. Use the optional ALIGN attribute to set the text alignment within a heading, e.g.

  <H1 ALIGN=CENTER> ... centered heading ... </H1>

$B0LCV7h$a$r>JN,$9$k$H:8B7$($H$J$j$^$9$,!"$3$l$O(JDIV$BMWAG$+(JCENTER$BMWAG$Ge=q$-$G$-$^$9!#(J
The default is left alignment, but this can be overridden by an enclosing DIV or CENTER element.

$B1|IU!!(JADDRESS

    <!ENTITY % address.content "((%text;) | P)*">

    <!ELEMENT ADDRESS - - %address.content>

ADDRESS$BMWAG$O3+;O%?%0$H=*N;%?%0$rI,MW$H$7!"86Cx:nO$HJ8>OF1Ey$NMWAG$K@)8B$5$l$k$3$H$KCm0U$7$F$/$@$5$$!#(J
The ADDRESS element requires start and end tags, and specifies information such as authorship and contact details for the current document. User agents should render the content with paragraph-breaks before and after. Note that the content is restricted to paragraphs, plain text and text-like elements as defined by the %text entity.

$BNc!!(JExample:

<ADDRESS>
Newsletter editor<BR>
J.R. Brown<BR>
8723 Buena Vista, Smallville, CT 01234<BR>
Tel: +1 (123) 456 7890
</ADDRESS>

$B$^$H$aMWAG(J
Block elements

P $BCJMn!!(Jparagraphs
$BCJMnMWAG$O3+;O%?%0$H=*N;%?%0$rI,MW$H$7$^$9$,!"=*N;%?%0$O>o$K>JN,2DG=$G$9!#CJMn$K$7$?J8>O$r@0Ns$9$k$K$O!"<P ALIGN=RIGHT>
The paragraph element requires a start tag, but the end tag can always be omitted. Use the ALIGN attribute to set the text alignment within a paragraph, e.g. <P ALIGN=RIGHT>
UL $B=gITF10lMw!!(Junordered lists
$B$3$l$O3+;O%?%0$H=*N;%?%0$rI,MW$H$7!"8D!9$N9`L\$rI=$9(JLI$BMWAG$r0l$D0J>e4^$_$^$9!#(J
These require start and end tags, and contain one or more LI elements representing individual list items.
OL $B=xNs!JHV9fIU$-!K0lMw!!(Jordered (i.e. numbered) lists
$B$3$l$O3+;O%?%0$H=*N;%?%0$rI,MW$H$7!"8D!9$N9`L\$rI=$9(JLI$BMWAG$r0l$D0J>e4^$_$^$9!#(J
These require start and end tags, and contain one or more LI elements representing individual list items.
DL $BDj5A0lMw!!(Jdefinition lists
$B$3$l$O3+;O%?%0$H=*N;%?%0$rI,MW$H$7!"MQ8l$rM?$($k(JDT$BMWAG$H!"BP1~$9$kDj5A$rM?$($k(JDD$BMWAG$r4^$_$^$9!#(J
These require start and end tags and contain DT elements that give the terms, and DD elements that give corresponding definitions.
PRE $B@07A:Q$_869F!!(Jpreformatted text
$B3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#$3$NMWAG$OEyI}%U%)%s%H$XJQ49$5$l!"6uGr$H2~9T5-9f$K$h$C$F7h$a$i$l$?%l%$%"%&%H$rJ]$A$^$9!#(J
Requires start and end tags. These elements are rendered with a monospaced font and preserve layout defined by whitespace and line break characters.
DIV $BJ8=q$N0lIt!!(Jdocument divisions
$B3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#(JALIGN$BB0@-$K$h$j!"$^$H$aMWAG$r@0Ns$7$^$9!#0LCV9g$o$;$r:84s$;!&Cf1{B7$(!&1&4s$;$N$I$l$+$K$9$k$3$H$,$G$-$^$9!#(J
Requires start and end tags. It is used with the ALIGN attribute to set the text alignment of the block elements it contains. ALIGN can be one of LEFT, CENTER or RIGHT.
CENTER $BJ8>O@0Ns!!(Jtext alignment
$B3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#(JCENTER$BMWAG$GO$rCf1{$K@0Ns$7$^$9!#$h$j0lHLE*$JJ}K!$H$7$F$O!"(JDIV$B$r8+$F$/$@$5$$!#(J
Requires start and end tags. It is used to center text lines enclosed by the CENTER element. See DIV for a more general solution.
BLOCKQUOTE $B0zMQJ8!!(Jquoted passage
$B3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#9-$$HO0O$K$o$?$k0zMQ$r0O$`$?$a$K;HMQ$5$l$k$b$N$G!"E57?E*$K$O;z2<$2$7M>Gr$r@_$1$FI=<($5$l$^$9!#(J
Requires start and end tags. It is used to enclose extended quotations and is typically rendered with indented margins.
FORM $B=q$-9~$_=q<0!!(Jfill-out forms
$B3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#$3$NMWAG$O(JHTTP$B%5!<%P$K$h$C$F=hM}$5$l$k=q$-9~$_=q<0$rDj5A$9$k$N$K;H$o$l$^$9!#B0@-$O(JACTION, METHOD , ENCTYPE$B$G$9!#(JFORM$BMWAG$OF~$l;R$K$9$k$3$H$O$G$-$^$;$s!#(J
Requires start and end tags. This element is used to define a fill-out form for processing by HTTP servers. The attributes are ACTION, METHOD and ENCTYPE. Form elements can't be nested.
ISINDEX primitive HTML forms
$BMF$lJ*$G$O$J$$$N$G!"=*N;%?%0$O=P$F$-$^$;$s!#$3$l$O(J FORM $B0JA0$N$b$N$G$"$j!"$3$NMWAG$K$h$C$F<($5$l$k(J1$B9T$NJ8>OF~NOMs$r;}$DC1=c$J Not a container, so the end tag is forbidden. This predates FORM and is used for simple kinds of forms which have a single text input field, implied by this element. A single ISINDEX can appear in the document head or body.
HR $B?eJ?@~!!(Jhorizontal rules
$BMF$lJ*$G$O$J$$$N$G!"=*N;%?%0$O=P$F$-$^$;$s!#B0@-$O(JALIGN, NOSHADE, SIZE , WIDTH$B$G$9!#(J
Not a container, so the end tag is forbidden. attributes are ALIGN, NOSHADE, SIZE and WIDTH.
TABLE $BF~$l;R2DG=!!(Jcan be nested
$B3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#3F!9$NI=AH$O!"(J $BDI2C2DG=$JMWAG$G$"$k(JCAPTION$B$+$i;O$^$j!"I=$NNs$rDj5A$7$F$$$k0l$D0J>e$N(JTR$BMWAG$,$=$N8e$KB3$-$^$9!#3F!9$NNs$K$O!"(J TH $BMWAG$+(J TD $BMWAG$K$h$C$FDj5A$5$l$k0l$D0J>e$N%;%k$,$"$j$^$9!#(JTABLE $BMWAG$NB0@-$O!"(J WIDTH $B$H(J BORDER $B$H(J CELLSPACING $B$H(J CELLPADDING $B$G$9!#(J
Requires start and end tags. Each table starts with an optional CAPTION followed by one or more TR elements defining table rows. Each row has one or more cells defined by TH or TD elements. attributes for TABLE elements are WIDTH, BORDER, CELLSPACING and CELLPADDING.

$BCJMn(J
Paragraphs

    <!ELEMENT P     - O (%text)*>
    <!ATTLIST P
        align  (left|center|right) #IMPLIED
        >

P$BMWAG$OCJMn$r@_$1$k$N$K;H$$$^$9!#$3$l$OMF$lJ*$G!"3+;O%?%0$,I,MW$G$9!#=*N;%?%0$O>o$K8lK!2r@O$K$h$C$FJd40$5$l$k$N$G!">JN,$G$-$^$9!#%f!<%6%(!<%8%'%s%H$O(JP$BMWAG$rCJMnJ,$1$9$Y$-$G$9!#O$O0lHLE*$K2hLL$N2#I}$K9g$o$;$F@^$jJV$5$l$^$9!#(J
The P element is used to markup paragraphs. It is a container and requires a start tag. The end tag is optional as it can always be inferred by the parser. User agents should place paragraph breaks before and after P elements. The rendering is user agent dependent, but text is generally wrapped to fit the space available.

$BNc!!(JExample:

    <P>$B$3$l$O:G=i$NCJMn$G$9!#(JThis is the first paragraph.
    <P>$B$3$l$OFsHVL\$NCJMn$G$9!#(JThis is the second paragraph.

$BCJMn$OIaDL!":8C<$rB7$(!"1&C<$KIT5,B'$JM>Gr$rIU$1$FI=$o$5$l$^$9!#!JLuCm!'1QJ8$G$OC18l$rESCf$G@Z$i$:$K=q$/$N$G!"2~9T$N0LCV$,8l$K$h$C$FJQ$o$j!"1&C<$,FL1z$K$J$j$^$9!#K.J8$G$O$I$3$G@Z$C$F$b9=$o$J$$$N$G!"1&C<$KIT5,B'$JM>Gr$,$D$/$3$H$O$"$j$^$;$s!K(JALIGN$BB0@-$r;H$&$H Paragraphs are usually rendered flush left with a ragged right margin. The ALIGN attribute can be used to explicitly specify the horizontal alignment:

align=left
$BCJMn$r:84s$;$K@0Ns$7$^$9!#(J
The paragraph is rendered flush left.
align=center
$BCJMn$rCf1{B7$($K$7$^$9!#(J
The paragraph is centered.
align=right
$BCJMn$r1&4s$;$K@0Ns$7$^$9!#(J
The paragraph is rendered flush right.

For example:

<p align=center>$B$3$l$OCf1{B7$($K$7$?CJMn$G$9!#(J
This is a centered paragraph.
<p align=right>$B$=$7$F$3$l$O1&4s$;$K$7$?CJMn$G$9!#(J
and this is a flush right paragraph.

ALIGN$BB0@-$r>JN,$9$k$H:84s$;$K$J$j$^$9$,!"$3$l$O(JDIV$BMWAG$+(JCENTER$BMWAG$G>e=q$-$G$-$^$9!#(J
The default is left alignment, but this can be overridden by an enclosing DIV or CENTER element.

$B0lMw(J
Lists

$B0lMw9`L\$K$O$^$H$aMWAG$HJ8>OMWAG!"$5$i$KF~$l;R$K$7$?0lMw$,F~$l$i$l$^$9!#$?$@$7!"8+=P$7MWAG$H1|IUMWAG$O=|$-$^$9!#$3$N@)8B$O(J%flow$B List items can contain block and text level items, including nested lists, although headings and address elements are excluded. This limitation is defined via the %flow entity.

$B=gITF10lMw(J
Unordered Lists

    <!ELEMENT UL - -  (LI)+>
    <!ENTITY % ULStyle "disc|square|circle">

    <!ATTLIST UL -- $BHV9f$J$70lMw!!(Junordered lists --
        type    (%ULStyle)   #IMPLIED   -- $B%^!<%/$N7A>u!!(Jbullet style --
        compact (compact)    #IMPLIED   -- $BC;=L7?!!(Jreduced interitem spacing --
        >

    <!ELEMENT LI - O %flow -- $B0lMw9`L\!!(Jlist item -->
    <!ATTLIST LI
        type   (%LIStyle)    #IMPLIED   -- $B0lMw9`L\$N7A>u!!(Jlist item style --
        >

$B=gITF10lMw$O <UL> <LI> ...$B!!:G=i$N0lMw9`L\$G$9(J first list item <LI> ...$B!!FsHVL\$N0lMw9`L\$G$9(J second list item ... </UL>

UL$BMWAG$O=gITF10lMw$K;H$$$^$9!#3+;O%?%0$H=*N;%?%0$,>o$KI,MW$G$9!#(JLI$BMWAG$O3F!9$N9`L\$K;H$$$^$9!#(JLI$BMWAG$N=*N;%?%0$O>o$K>JN,$G$-$^$9!#(JLI$BMWAG$NCf$K0lMw$rF~$l;R$K$G$-$k$3$H$r3P$($F$*$$$F$/$@$5$$!#(JCOMPACT$BB0@-$N;HMQ$K$h$j!"%f!<%6%(!<%8%'%s%H$K0lMw$rC;=L7A$GI=<($9$k$h$&;X<($9$k$3$H$,$G$-$^$9!#(J
The UL element is used for unordered lists. Both start and end tags are always needed. The LI element is used for individual list items. The end tag for LI elements can always be omitted. Note that LI elements can contain nested lists. The COMPACT attribute can be used as a hint to the user agent to render lists in a more compact style.

UL $BMWAG$H(J LI $BMWAG$G$O!"(JTYPE $BB0@-$r;HMQ$7$F!"9`L\$N@hF,$KIU$1$kE@$N7A$r@_Dj$9$k$3$H$,$G$-$^$9!#CM$H$7$F;H$($k$N$O!"9u4]!&;M3Q!&Gr4]$N(J3$B$D$G$9!#(JTYPE $BB0@-$r>JN,$7$?>l9g$O0lHLE*$K!"F~$l;R$K$7$?=g=x$GJQ2=$7$^$9!#(J
The TYPE attribute can be used to set the bullet style on UL and LI elements. The permitted values are "disc", "square" or "circle". The default generally depends on the level of nesting for lists.

$B$3$N0lMw$O!"(J1993$BG/$K(JMosaic$B$G;HMQ$5$l$?9`L\5-9f$N867?$K@09g$9$k$h$&$KA*$P$l$?$b$N$G$9!#(J
This list was chosen to cater for the original bullet shapes used by Mosaic in 1993.

$B=xNs!JHV9fIU$-!K0lMw(J
Ordered (i.e. numbered) Lists

    <!ELEMENT OL - -  (LI)+>
    <!ATTLIST OL -- $BHV9f$D$-0lMw!!(Jordered lists --
        type      CDATA      #IMPLIED   -- $BHV9f$Nu!!(Jlist item style --
        value     NUMBER     #IMPLIED   -- $BHV9f$N@_Dj!!(Jset sequence number --
        >

$B=xNs!JHV9fIU$-!K0lMw$O Ordered (i.e. numbered) lists take the form:

    <OL>
      <LI> ... first list item
      <LI> ... second list item
      ...
    </OL>

OL$BMWAG$G$O(JSTART$BB0@-$r;H$C$FHV9f$r2?HV$+$i;O$a$k$+@_Dj$9$k$3$H$,$G$-$^$9!#(JSTART$BB0@-$r>JN,$9$k$H(J1$BHV$+$i;O$^$j$^$9!#$3$l$r8e$+$i(JLI$BMWAG$N(JVALUE$BB0@-$G@_Dj$9$k$3$H$b$G$-$^$9!#$I$A$i$NB0@-$bCM$K@0?t$r;XDj$9$k$h$&$K$7$F$/$@$5$$!#$=$NA0$N0lMw$+$iB3$1$FHV9f$r?6$k$H$+!"HV9f$N$D$$$F$$$J$$$b$N$rHt$P$9$H$+$N;XDj$r$9$k$3$H$O$G$-$^$;$s!#(J
The OL START attribute can be used to initialize the sequence number (by default it is initialized to 1). You can set it later on with the VALUE attribute on LI elements. Both of these attributes expect integer values. You can't indicate that numbering should be continued from a previous list, or to skip missing values without giving an explicit number.

COMPACT$BB0@-$N;HMQ$K$h$j!"%f!<%6%(!<%8%'%s%H$K0lMw$rC;=L7A$GI=<($9$k$h$&;X<($9$k$3$H$,$G$-$^$9!#(JOL$BMWAG$N(JTYPE$BB0@-$K$h$j!"HV9f$NI=<(7ABV$r@_Dj$9$k$3$H$,$G$-$^$9!#(J
The COMPACT attribute can be used as a hint to the user agent to render lists in a more compact style. The OL TYPE attribute allows you to set the numbering style for list items:

Type $BHV9f$N
1 $B%"%i%S%"?t;z(Jarabic numbers1, 2, 3, ...
a $B>.J8;z%"%k%U%!%Y%C%H(Jlower alphaa, b, c, ...
A $BBgJ8;z%"%k%U%!%Y%C%H(Jupper alphaA, B, C, ...
i $B>.J8;z%m!<%^?t;z(Jlower romani, ii, iii, ...
I $BBgJ8;z%m!<%^?t;z(Jupper romanI, II, III, ...

$BDj5A0lMw(J
Definition Lists

<!-- $BDj5A0lMw!!(JDT$B$OMQ8l!"(JDD$B$O$=$NDj5A(J --
 -- definition lists - DT for term, DD for its definition -->

<!ELEMENT DL    - -  (DT|DD)+>
<!ATTLIST DL
        compact (compact) #IMPLIED -- $BC;=L7?!!(Jmore compact style --
        >

<!ELEMENT DT - O  (%text)*>
<!ELEMENT DD - O  %flow;>

$BDj5A0lMw$O <DL> <DT> $BMQ8l!!(Jterm name <DD> $BMQ8l$NDj5A!!(Jterm definition ... </DL>

DT$BMWAG$O!"J8>OMWAG$r DT elements can only act as containers for text level elements, while DD elements can hold block level elements as well, excluding headings and address elements.

$BNc$($P!!(JFor example:

<DL>
<DT>$BMQ8l(J1$B!!(JTerm 1<dd>$B$3$l$O:G=i$NMQ8l$NDj5A$G$9!#(JThis is the definition of the first term.
<DT>$BMQ8l(J2$B!!(JTerm 2<dd>$B$3$l$OFsHVL\$NMQ8l$NDj5A$G$9!#(JThis is the definition of the second term.
</DL>

$B$3$l$O

$BMQ8l(J1$B!!(JTerm 1
$B$3$l$O:G=i$NMQ8l$NDj5A$G$9!#(JThis is the definition of the first term.
$BMQ8l(J2$B!!(JTerm 2
$B$3$l$OFsHVL\$NMQ8l$NDj5A$G$9!#(JThis is the definition of the second term.

DL$BMWAG$X$N(JCOMPACT$BB0@-$NDI2C$K$h$j!"%f!<%6%(!<%8%'%s%H$K0lMw$rC;=L7A$GI=<($9$k$h$&;X<($9$k$3$H$,$G$-$^$9!#(J
The COMPACT attribute can be used with the DL element as a hint to the user agent to render lists in a more compact style.

$B3,AX0lMw(J DIR $B$H(J $B8%N)(J MENU

<!ELEMENT (DIR|MENU) - -  (LI)+ -(%block)>
<!ATTLIST (DIR|MENU)
        compact (compact) #IMPLIED
        >

$B$3$NFs$D$NMWAG$O8E$/$+$i(JHTML$B$KAH$_9~$^$l$F$$$?$b$N$G$9!#$3$l$O(JUL$BMWAG$K;w$?=gITF10lMw$N$?$a$KMQ0U$5$l$F$$$^$9!#%f!<%6%(!<%8%'%s%H$O!"(J DIR $BMWAG$rCJAH$_$7$?3,AX0lMw$H$7$F!"(J MENU $BMWAG$rC1CJ$N8%N)$H$7$FI=$o$9$3$H$,4+$a$i$l$^$9!#$N$[$H$s$I$N%f!<%6%(!<%8%'%s%H$O$3$N0U8+$rL5;k$7!"(J UL $BMWAG$HF10l$NJ}K!$G(JDIR $B$H(J MENU $B$rI=$o$7$F$$$^$9!#(J
These elements have been part of HTML from the early days. They are intended for unordered lists similar to UL elements. User agents are recommended to render DIR elements as multicolumn directory lists, and MENU elements as single column menu lists. In practice, Mosaic and most other user agents have ignored this advice and instead render DIR and MENU in an identical way to UL elements.

$B3d$jIU$1:Q$_J8>O(J
Preformatted Text

<!ELEMENT PRE - - (%text)* -(%pre.exclusion)>
<!ATTLIST PRE
        width NUMBER #implied
        >

PRE$BMWAG$r;H$&$H3d$jIU$1:Q$_J8>O$r The PRE element can be used to include preformatted text. User agents render this in a fixed pitch font, preserving spacing associated with white space characters such as space and newline characters. Automatic word-wrap should be disabled within PRE elements.

SGML $BI8=`$,!"(J $B8lK!2r@O$K$*$$$F!"3+;O%?%0D>8e$"$k$$$O=*N;%?%0D>A0$N2~9T$r0z$-H4$/$h$&L?$8$k$3$H$KCm0U$7$F$/$@$5$$!#(J
Note that the SGML standard requires that the parser remove a newline immediately following the start tag or immediately preceding the end tag.

PRE $B$NFbMF$O!"CJMn$+$i%$%a!<%8$H%U%)%s%H%5%$%:$NJQ2=$r0z$-5/$3$9MWAG!"Nc$($P(JIMG $B!&(J BIG $B!&(J SMALL $B!&(J SUB $B!&(J SUP $B!&(J FONT $B$J$I$r=|30$7$?$b$N$KAjEv$7$^$9!#(J
PRE has the same content model as paragraphs, excluding images and elements that produce changes in font size, e.g. IMG, BIG, SMALL, SUB, SUP and FONT.

$B%f!<%6%(!<%8%'%s%H$NCf$K$O!"(J WIDTH $BB0@-$r07$&$b$N$,$"$j$^$9!#$3$l$OI,MW$H$5$l$k;z$N2#I}$K4X$9$k%R%s%H$r%f!<%6%(!<%8%'%s%H$KM?$($k$b$N$G$9!#%f!<%6%(!<%8%'%s%H$O$3$l$r;H$C$F!"E,@Z$J%U%)%s%H%5%$%:$rA*Br$9$k$+!"FbMF$rE,Ev$K;z2<$2$9$k$3$H$,$G$-$^$9!#(J
A few user agents support the WIDTH attribute. It provides a hint to the user agent of the required width in characters. The user agent can use this to select an appropriate font size or to indent the content appropriately.

PRE$BMWAG$NNc$r Here is an example of a PRE element; a verse from Shelley (To a Skylark):

<PRE>
       Higher still and higher
         From the earth thou springest
       Like a cloud of fire;
         The blue deep thou wingest,
And singing still dost soar, and soaring ever singest.
</PRE>
$B$3$l$, which is rendered as:
       Higher still and higher
         From the earth thou springest
       Like a cloud of fire;
         The blue deep thou wingest,
And singing still dost soar, and soaring ever singest.

$B?eJ?%?%VJ8;z!J(JUnicode,$BJF9q%"%9%-!<(J,$B9q:]I8=`2=5!9=(J 8859-1$B$N==?JK!#9HV$H$7$FId9f2=$5$l$F$$$k!K$O(J0$B$G$J$$:G>.$N?t$rC10L$H$9$k6uGr$H2r$NCM$K@_Dj$7$F$$$k$H!"J8=q$N3d$jIU$1$rB;$J$&$3$H$,$h$/$"$k$?$a$K!"$=$N;HMQ$OHs>o$KK>$^$7$/$J$$$b$N$G$9!#(J
The horizontal tab character (encoded in Unicode, US ASCII and ISO 8859-1 as decimal 9) should be interpreted as the smallest non-zero number of spaces which will leave the number of characters so far on the line as a multiple of 8. Its use is strongly discouraged since it is common practice when editing to set the tab-spacing to other values, leading to misaligned documents.

XMP, LISTING and PLAINTEXT

<![ %HTML.Deprecated [

<!ENTITY % literal "CDATA"
        --  $BA4$F=*N;%?%0$N$_$GI=5-$5$l$F$$$?:"$N!"(J $B8E$$IT0lCW$JJ,@O%b!<%I(J
        historical, non-conforming parsing mode where
           the only markup signal is the end tag
           in full
        -->

<!ELEMENT (XMP|LISTING) - -  %literal>
<!ELEMENT PLAINTEXT - O %literal>

]]>

$B$3$l$i$O(JPRE$B$NF3F~0JA0$K$"$C$?3d$jIU$1:Q$_J8>O$N$?$a$N%?%0$G$7$?$,!":#$G$O;H$o$l$F$$$J$$$b$N$G$9!#%f!<%6%(!<%8%'%s%H$O!"5lHG$H$N8_49@-$N$?$a$K$3$l$i$r07$C$F$+$^$$$^$;$s!#?7$7$$J8=q$r=q$/:]$K$O!"$3$l$i$NMWAG$N;HMQ$OHr$1$J$/$F$O$J$j$^$;$s!#(J
These are obsolete tags for preformatted text that predate the introduction of PRE. User agents may support these for backwards compatibility. Authors should avoid using them in new documents!

DIV and CENTER

<!ELEMENT DIV - - %body.content>
<!ATTLIST DIV
        align   (left|center|right) #IMPLIED -- $B0J9_$NJ8>O$N@0Ns(J
        alignment of following text --
        >

<!-- CENTER$B$O(JALIGN=CENTER$B$r;}$D(JDIV$B$N>JN,7A$G$9(J
CENTER is a shorthand for DIV with ALIGN=CENTER -->
<!ELEMENT center - - %body.content>

DIV $BMWAG$N;HMQ$K$h$j!"(JHTML $BJ8=q$r3FItJ,$+$i$J$k%T%i%_%C%I9=B$$H$7$F9=@.$9$k$3$H$,$G$-$^$9!#(JALIGN$BB0@-$N;HMQ$K$h$j!"(J DIV $BMWAG$NFbMF$r@0Ns$9$k$3$H$,$G$-$^$9!#$=$NCM$O:8$+Cf1{$+1&$N$$$:$l$+$G$9!#$3$l$OCJMnMWAG(J<P>$B$HF1$8Dj5A$N;EJ}$G$9!#(J
DIV elements can be used to structure HTML documents as a hierarchy of divisions. The ALIGN attribute can be used to set the default horizontal alignment for elements within the content of the DIV element. Its value is restricted to LEFT, CENTER or RIGHT, and is defined in the same way as for the paragraph element <P>.

DIV $B$O$^$H$aMWAG$HF1MM$NF/$-$r$9$k$b$N$J$N$G!"3+$$$F$$$k(J P $BMWAG$r(JDIV$B$,JD$8$k$3$H$KCm0U$7$F$/$@$5$$!#(J $B$3$l$K2C$($F%f!<%6%(!<%8%'%s%H$O!"(JDIV $BMWAG$rCJMnJ,$1$9$k$3$H$r5a$a$i$l$F$$$^$;$s!#(J CENTER$B$O(J ALIGN=CENTER $B$r;}$D(J DIV $B$KA4$/Ey$7$$$b$N$G$9!#(J DIV $B$H(JCENTER$B$O$I$A$i$b3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#(J
Note that because DIV is a block-like element it will terminate an open P element. Other than this, user agents are not expected to render paragraph breaks before and after DIV elements. CENTER is directly equivalent to DIV with ALIGN=CENTER. Both DIV and CENTER require start and end tags.

CENTER$B$O%M%C%H%9%1!<%W CENTER was introduced by Netscape before they added support for the HTML 3.0 DIV element. It is retained in HTML 3.2 on account of its widespread deployment.

$B0zMQ!!(JBLOCKQUOTE

<!ELEMENT BLOCKQUOTE - - %body.content>

$B$3$l$OB>$N:nIJ$+$i$N0zMQItJ,$r3g$j9~$`$?$a$K;HMQ$5$l$^$9!#(J $B3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#(J $BB?$/$N>l9g$O;z2<$2$7$FI=<($5$l$^$9!#$?$H$($P!"(J
This is used to enclose block quotations from other works. Both the start and end tags are required. It is often rendered indented, e.g.

They went in single file, running like hounds on a strong scent, and an eager light was in their eyes. Nearly due west the broad swath of the marching Orcs tramped its ugly slot; the sweet grass of Rohan had been bruised and blackened as they passed.

from "The Two Towers" by J.R.R. Tolkien.

$B=q<0(J
FORM

<!ENTITY % HTTP-Method "GET | POST"
        -- as per HTTP specification
        -->

<!ELEMENT FORM - - %body.content -(FORM)>
<!ATTLIST FORM
        action %URL #IMPLIED  -- server-side form handler --
        method (%HTTP-Method) GET -- see HTTP specification --
        enctype %Content-Type; "application/x-www-form-urlencoded"
        >

$B$3$l$O(J HTML $B=q<0$rDj5A$9$k$?$a$K;HMQ$5$l$^$9!##1$D$NJ8=q$KJ#?t$N=q<0$rCV$/$3$H$,$G$-$^$9!#(J $B3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#(J $BHs>o$KC1=c$J=q<0$K$O!"(JISINDEX $BMWAG$r;H$&$3$H$b$G$-$^$9!#(J $B=q<0$K$O!"0l9T$^$?$OB??t9T$N=q$-9~$_Ms$d%i%8%*%\%?%s%0%k!<%W$d%A%'%C%/>#$d%a%K%e!<$J$I$N$h$&$J(J$B=q<0F~NOMs(J$B$r4^$`9-HO$J(J HTML $BI=5-$rF~$l$k$3$H$,$G$-$^$9!#(J
This is used to define an HTML form, and you can have more than one form in the same document. Both the start and end tags are required. For very simple forms, you can also use the ISINDEX element. Forms can contain a wide range of HTML markup including several kinds of form fields such as single and multi-line text fields, radio button groups, checkboxes, and menus.

action
$B$3$l$O(Jemail$B$K$h$C$F=q<0$rAw$k$N$K;HMQ$5$l$k(J URL $B!"Nc$($P(Jaction="mailto:foo@bar.com"$B$+!"$^$?$O(J HTTP $B$K$h$C$F%5!<%P(J-$BB&=q<0=hM}%W%m%0%i%`$rE,MQ$9$k$?$a$K;HMQ$5$l$k(J URL $B!"Nc$($P(Jaction="http://www.acme.com/cgi-bin/register.pl"$B$r;XDj$7$^$9!#(J
This specifies a URL which is either used to post forms via email, e.g. action="mailto:foo@bar.com", or used to invoke a server-side forms handler via HTTP, e.g. action="http://www.acme.com/cgi-bin/register.pl"
method
action$BB0@-$G(J HTTP $B%5!<%P$r;XDj$9$k$H$-!"=q<0$NFbMF$r%5!<%P$XAw$k$?$a$K!"$I$N(J HTTP method$B$r;HMQ$9$k$+$r(Jmethod$BB0@-$G7h$a$^$9!#$3$l$O(JGET$B$H(JPOST$B$N$I$A$i$+$G!";XDj$r>JN,$9$k$H(JGET$B$K$J$j$^$9!#(J
When the action attribute specifies an HTTP server, the method attribute determines which HTTP method will be used to send the form's contents to the server. It can be either GET or POST, and defaults to GET.
enctype
$B$3$l$O=q<0$NFbMF$rId9f2=$9$k5!9=$r7h$a$^$9!#;XDj$r>JN,$9$k$H!"(Japplication/x-www-form-urlencoded$B$K$J$j$^$9!#(J
This determines the mechanism used to encode the form's contents. It defaults to application/x-www-form-urlencoded.

$B=q<0$N\:Y$O!"(J RFC 1867 $B$K$"$j$^$9!#(J
Further details on handling forms are given in RFC 1867.

HR $B2#7S@~(J
horizontal rules

$B2#7S@~$O9`L\$NJQ2=$rI=<($9$k$?$a$K;HMQ$7$F$+$^$$$^$;$s!#(J $BFI$_>e$2<0$N%f!<%6%(!<%8%'%s%H$G$O!"7S@~$r5Y;_$H$7$FI=$9$3$H$,$G$-$^$9!#(J
Horizontal rules may be used to indicate a change in topic. In a speech based user agent, the rule could be rendered as a pause.

<!ELEMENT HR    - O EMPTY>
<!ATTLIST HR
        align (left|right|center) #IMPLIED
        noshade (noshade) #IMPLIED
        size  %Pixels #IMPLIED
        width %Length #IMPLIED
        >

HR$B$OMF$lJ*$G$O$J$$$N$G!"=*N;%?%0$O=P$F$-$^$;$s!#B0@-$O(JALIGN, NOSHADE, SIZE ,WIDTH $B$G$9!#(J
HR elements are not containers so the end tag is forbidden. The attributes are: ALIGN, NOSHADE, SIZE and WIDTH.

align
$B$3$l$O7S@~$r$=$N$H$-$N2hLL$G:8B&!&Cf1{!&1&B&$N$$$:$l$KCV$/$+$r(Jalign=left, align=center , align=right$B$G7h$a$^$9!#;XDj$r>JN,$9$k$H!"Cf1{$KCV$+$l$^$9!#(J
This determines whether the rule is placed at the left, center or right of the space between the current left and right margins for align=left, align=center or align=right respectively. By default, the rule is centered.
noshade
$B$3$NB0@-$O%f!<%6%(!<%8%'%s%H$K!"7S@~$rEAE}E*$J(J2$B?'$N!X9B!Y$G$J$/C1?'$GI=$o$9$h$&5a$a$k$b$N$G$9!#(J
This attribute requests the user agent to render the rule in a solid color rather than as the traditional two colour "groove".
size
$B$3$l$r;H$C$F7S@~$N=DI}$r%T%/%;%k$G;XDj$9$k$3$H$,$G$-$^$9!#(J
This can be used to set the height of the rule in pixels.
width
$B$3$l$r;H$C$F7S@~$N2#I}$r%T%/%;%k$G;XDj$9$k!JNc$($P(Jwidth=100$B!K$+!"$=$N$H$-$N2hLL$KBP$9$kI4J,N($G;XDj$9$k!JNc$($P(Jwidth="50%"$B!K$3$H$,$G$-$^$9!#;XDj$r>JN,$9$k$H(J100%$B$K$J$j$^$9!#(J
This can be used to set the width of the rule in pixels (e.g. width=100) or as the percentage between the current left and right margins (e.g. width="50%"). The default is 100%.

$BI=AH(J
Tables

HTML 3.2 $B$K$O(JRFC 1942$B$GM?$($i$l$?;EMM=q$N9-HO$KIa5Z$7$?%5%V%;%C%H$,AH$_9~$^$l$F$*$j!"$3$l$r;H$C$FI=$rAH$s$@$j%l%$%"%&%H8z2L$rI=5-$7$?$j$9$k$3$H$,$G$-$^$9!#(J $BFI$_>e$2<0$"$k$$$OJ8>O$N$_$r07$&%f!<%6%(!<%8%'%s%H$G$O!"FC$K8e HTML 3.2 includes a widely deployed subset of the specification given in RFC 1942 and can be used to markup tabular material or for layout purposes. Note that the latter role typically causes problems when rending to speech or to text only user agents.

<!-- horizontal placement of table relative to window -->
<!ENTITY % Where "(left|center|right)">

<!-- horizontal alignment attributes for cell contents -->
<!ENTITY % cell.halign
        "align  (left|center|right) #IMPLIED"
        >

<!-- vertical alignment attributes for cell contents -->
<!ENTITY % cell.valign
        "valign  (top|middle|bottom)  #IMPLIED"
        >

<!ELEMENT table - - (caption?, tr+)>
<!ELEMENT tr - O (th|td)*>
<!ELEMENT (th|td) - O %body.content>

<!ATTLIST table                       -- $BI=AHMWAG(Jtable element --
        align     %Where;   #IMPLIED  -- $B2hLLFb$G$NI=$N0LCV(Jtable position relative to window --
        width     %Length   #IMPLIED  -- $B2hLLFb$G$NI=$N2#I}(Jtable width relative to window --
        border    %Pixels   #IMPLIED  -- $BI=$N30OH(Jcontrols frame width around table --
        cellspacing %Pixels #IMPLIED  -- spacing between cells --
        cellpadding %Pixels #IMPLIED  -- spacing within cells --
        >

<!ELEMENT CAPTION - - (%text;)* -- $BI=Bj(Jtable or figure caption -->
<!ATTLIST CAPTION
        align (top|bottom) #IMPLIED
        >

<!ATTLIST tr                       -- $B9T(Jtable row --
        %cell.halign;              -- $B2#J}8~@0Ns(Jhorizontal alignment in cells --
        %cell.valign;              -- $B=DJ}8~@0Ns(Jvertical alignment in cells --
        >

<!ATTLIST (th|td)                  -- $B8+=P$7OH$^$?$O%G!<%?OH(Jheader or data cell --
        nowrap (nowrap)  #IMPLIED  -- $B<+F02~9T$NM^;_(Jsuppress word wrap --
        rowspan NUMBER   1         -- $B9T$^$?$.(Jnumber of rows spanned by cell --
        colspan NUMBER   1         -- $BNs$^$?$.(Jnumber of cols spanned by cell --
        %cell.halign;              -- $B2#J}8~@0Ns(Jhorizontal alignment in cells --
        %cell.valign;              -- $B=DJ}8~@0Ns(Jvertical alignment in cells --
        width   %Pixels  #IMPLIED  -- $BOHI};XDj(Jsuggested width for cell --
        height  %Pixels  #IMPLIED  -- $BOH9b$5;XDj(Jsuggested height for cell --
        >

$BI=AH$N0lHLE*$J7A$O Tables take the general form:

  <TABLE BORDER=3 CELLSPACING=2 CELLPADDING=2 WIDTH="80%">
  <CAPTION> ... table caption ... </CAPTION>
  <TR><TD> first cell <TD> second cell
  <TR> ...
  ...
  </TABLE>

TABLE $B$NB0@-$O!"A4$F%*%W%7%g%J%k$G$9!#(J $B;XDj$r>JN,$9$k$H!"I=$O30OH$J$7$GI=<($5$l$^$9!#(J $BI=$O0lHLE*$K!"<+F0E*$KFbMF$K8+9g$C$?Bg$-$5$K:n$i$l$^$9$,!"(J WIDTH $BB0@-$r;H$C$FI=$N2#I}$rDj$a$k$3$H$b$G$-$^$9!#(J BORDER $B$H(J CELLSPACING $B$H(J CELLPADDING $B$OI=$N304Q$K$D$$$F$5$i$K>\:Y$J4IM}$r$9$k$b$N$G$9!#(J $BI=Bj$O(J ALIGN $BB0@-$K$h$jI=$N:G>eIt$+:G2 The attributes on TABLE are all optional. By default, the table is rendered without a surrounding border. The table is generally sized automatically to fit the contents, but you can also set the table width using the WIDTH attribute. BORDER, CELLSPACING and CELLPADDING provide further control over the table's appearence. Captions are rendered at the top or bottom of the table depending on the ALIGN attribute.

$BI=$N3F9T$O(JTR$BMWAG$KF~$j$^$9!#(JTR$BMWAG$N=*N;%?%0$O>o$K>JN,2DG=$G$9!#I=$NOH$O%G!<%?$N$?$a$N(JTD$BMWAG$H8+=P$7$N$?$a$N(JTH$BMWAG$GDj5A$7$^$9!#(JTR$BF1MM!"MF$lJ*$G$9$,=*N;%?%0$O>JN,2DG=$G$9!#(JTH$B$H(JTD$B$G$O0J2<$N$h$&$JB0@-$r;}$D$3$H$,$G$-$^$9!#OHFb$NFbMF$r@0Ns$9$k(JALIGN$B$H(JVALIGN$B!"J#?t$N9T$^$?$ONs$r$^$?$0(JROWSPAN$B$H(JCOLSPAN$B!#OHFb$K$O!"=q<0F~NOMs$dB>$NI=AH$r4^$`!"9-HO$JB>$N$^$H$aMWAG$dJ8>OMWAG$rF~$l$k$3$H$,$G$-$^$9!#(J
Each table row is contained in a TR element, although the end tag can always be omitted. Table cells are defined by TD elements for data and TH elements for headers. Like TR, these are containers and can be given without trailing end tags. TH and TD support several attributes: ALIGN and VALIGN for aligning cell content, ROWSPAN and COLSPAN for cells which span more than one row or column. A cell can contain a wide variety of other block and text level elements including form fields and other tables.

TABLE$BMWAG$O>o$K3+;O%?%0$H=*N;%?%0$NN>J}$,I,MW$G$9!#$3$l$O0J2<$NB0@-$r;}$A$^$9!#(J
The TABLE element always requires both start and end tags. It supports the following attributes:

align
$B$3$NB0@-$,$H$kCM$O(JLEFT,CENTER,RIGHT$B$N;0$D$G!"BgJ8;z!&>.J8;z$r6hJL$7$^$;$s!#$3$l$K$h$j$=$N2hLL$G$NI=$N2#0LCV$r;XDj$7$^$9!#;XDj$r>JN,$9$k$H:84s$;$H$J$j$^$9$,!"$3$l$O(JDIV$BMWAG$d(JCENTER$BMWAG$G3g$j9~$`$3$H$K$h$j>e=q$-$G$-$^$9!#(J
This takes one of the case insensitive values: LEFT, CENTER or RIGHT. It specifies the horizontal placement of the table relative to the current left and right margins. It defaults to left alignment, but this can be overridden by an enclosing DIV or CENTER element.
width
$B$3$NB0@-$r7g$/>l9g$O!"I=$N2#I}$O<+F0E*$KI=$NFbMF$K9g$o$;$F7h$a$i$l$^$9!#(JWIDTH$BB0@-$r;H$&$H!"I=$N2#I}$r%T%/%;%k$G0lDj$NCM$K@_Dj$9$k(J($BNc$($P(Jwidth="212")$B$+!"$=$N2hLL$KBP$9$kI4J,N($G@_Dj$9$k!JNc$($P(Jwidth="80%"$B!K$3$H$,$G$-$^$9!#(J
In the absence of this attribute the table width is automatically determined from the table contents. You can use the WIDTH attribute to set the table width to a fixed value in pixels (e.g. WIDTH=212) or as a percentage of the space between the current left and right margins (e.g. WIDTH="80%").
border
$B$3$NB0@-$r;H$&$HI=$N30OH$NI}$r%T%/%;%kC10L$G;XDj$G$-$^$9!#Nc$($P!"(JBORDER=4$B$N$h$&$K$7$^$9!#$=$NCM$r(J0$B$H$7$F!"OHA4BN$rI=<($7$J$$$h$&$K$9$k$3$H$,$G$-$^$9!#$3$NB0@-$r7g$/>l9g$K$O!"30OH$OI=<($7$J$$$h$&$K$9$k$Y$-$G$9!#%V%i%&%6$NCf$K$O(J<TABLE BORDER>$B$r(JBORDER=1$B$HF1$80UL#$K This attribute can be used to specify the width of the outer border around the table to a given number of pixels (e.g. BORDER=4). The value can be set to zero to suppress the border altogether. In the absence of this attribute the border should be suppressed. Note that some browsers also accept <TABLE BORDER> with the same semantics as BORDER=1.
cellspacing
$B=>Mh$N(JDTP$B%=%U%H$G$OI=$NOH$r7S@~$GJ,$1$F$$$^$7$?!#(JHTML$B$G$O$3$l$H$O0c$$$^$9!#OH$N$=$l$>$l$KOH@~$,$D$$$F$$$F!"$=$l$ONY$j9g$C$?OH$N6h@Z$j$H$OJL$N$b$N$G$9!#$3$N6h@Z$j$O(JCELLSPACING$BB0@-$r;H$C$F%T%/%;%k;XDj$G$-$^$9!#Nc$($P(JCELLSPACING=10$B$N$h$&$K$7$^$9!#F1$8CM$r;H$C$FI=$N0lHV30B&$NOH@~$H30OH$H$N4V$N6h@Z$j$r7h$a$k$3$H$b$G$-$^$9!#(J
In traditional desktop publishing software, adjacent table cells share a common border. This is not the case in HTML. Each cell is given its own border which is separated from the borders around neighboring cells. This separation can be set in pixels using the CELLSPACING attribute, (e.g. CELLSPACING=10). The same value also determines the separation between the table border and the borders of the outermost cells.
cellpadding
$B$=$l$>$l$NOH@~$HFbMF$H$N4V3V$r%T%/%;%kC10L$G@_Dj$7$^$9!#(J
This sets the padding in pixels between the border around each cell and the cell's contents.

CAPTION$BMWAG$OM#0l$NB0@-$G$"$k(JALIGN$B$r;}$A!"$3$l$O(JALIGN=TOP$B$+(JALIGN=BOTTOM$B$N$$$:$l$+$H$J$j$^$9!#$3$l$r;H$&$H!"I=Bj$rI=$N:G>eIt$N>e$+:G2o$K3+;O%?%0$H=*N;%?%0$NN>J}$,I,MW$G$9!#I=Bj$O(J%text$BOMWAG$K8B$i$l$^$9!#$^$H$aMWAG$O5v$5$l$F$$$^$;$s!#(J
The CAPTION element has one attribute ALIGN which can be either ALIGN=TOP or ALIGN=BOTTOM. This can be used to force the caption to be placed above the top or below the bottom of the table respectively. Most user agents default to placing the caption above the table. CAPTION always requires both start and end tags. Captions are limited to plain text and text-level elements as defined by the %text entity. Block level elements are not permitted.

TR$B$dI=$N9T$K$J$kMWAG$K$O3+;O%?%0$,I,MW$G$9$,!"=*N;%?%0$O>o$K>JN,2DG=$G$9!#(JTR$B$O!"I=$NOH$r3g$kMF$lJ*$G$9!#0J2<$NFs$D$NB0@-$rDI2C$G$-$^$9!#(J
The TR or table row element requires a start tag, but the end tag can always be left out. TR acts as a container for table cells. It has two attributes:

align
$BOH$NFbMF$N2#0LCV$r@0Ns$7$^$9!#$=$NCM$O(JLEFT,CENTER,RIGHT$B$N;0$D$N$&$A$$$:$l$+$G!"BgJ8;z!&>.J8;z$r6hJL$7$^$;$s!#$3$l$OCJMnMWAG$N(Jalign$BB0@-$HF1$8Lr3d$r2L$?$9$b$N$G$9!#(J
Sets the default horizontal alignment of cell contents. It takes one of the case insensitive values: LEFT, CENTER or RIGHT and plays the same role as the ALIGN attribute on paragraph elements.
valign
$B$3$l$r;H$&$H$=$l$>$l$NOH$NFbMF$N=D0LCV$r@0Ns$9$k$3$H$,$G$-$^$9!#$=$NCM$OBgJ8;z!&>.J8;z$r6hJL$;$:(JTOP,MIDDLE,BOTTOM$B$N;0$D$N$&$A$$$:$l$+$G!"OH$NFbMF$r$=$l$>$l>eCJ!"Cf1{!"2 This can be used to set the default vertical alignment of cell contents within each cell. It takes one of the case insensitive values: TOP, MIDDLE or BOTTOM to position the cell contents at the top, middle or bottom of the cell respectively.

$BI=$NOH$rDj5A$9$kMWAG$OFs$D$"$j$^$9!#8+=P$7$K;H$&(JTH$B$H9`L\$K;H$&(JTD$B$G$9!#$3$N;H$$J,$1$,%f!<%6%(!<%8%'%s%H$K8+=P$7$H9`L\$H$r0[$J$C$?3h;z$GI=<($9$k$3$H$r2DG=$K$7!"2;@e$2<0%V%i%&%6$,;E;v$r$7$d$9$$$h$&$K$7$F$/$l$^$9!#(JTH$B$H(JTD$B$G$O>o$K3+;O%?%0$,I,MW$G$9$,!"=*N;%?%0$O>JN,2DG=$G$9!#I=$NOH$K$O!"0J2<$NB0@-$r;}$?$;$k$3$H$,$G$-$^$9!#(J
There are two elements for defining table cells. TH is used for header cells and TD for data cells. This distinction allows user agents to render header and data cells in different fonts, and enables speech based browsers to do a better job. The start tags for TH and TD are always needed but the end tags can be left out. Table cells can have the following attributes:

nowrap
$B$3$NB0@-$rL@<($9$k$H!"OHFb$G$N<+F02~9T$r;_$a$k$3$H$,$G$-$^$9!#(J<TD NOWRAP>$B$N$h$&$K$7$^$9!#$3$l$O(J&nbsp;$B The presence of this attribute disables automatic word wrap within the contents of this cell (e.g. <TD NOWRAP>). This is equivalent to using the &nbsp; entity for non-breaking spaces within the content of the cell.
rowspan
$B$3$l$O<+A3?t$NCM$rJN,$9$k$H(J1$B9T$K$J$j$^$9!#(J
This takes a positive integer value specifying the number of rows spanned by this cell. It defaults to one.
colspan
$B$3$l$O<+A3?t$NCM$rJN,$9$k$H(J1$BNs$K$J$j$^$9!#(J
This takes a positive integer value specifying the number of columns spanned by this cell. It defaults to one.
align
$BOHFb$NFbMF$N2#0LCV$r@0Ns$7$^$9!#$3$l$OI=$N3F9T$G;XDj$5$l$?(JALIGN$BB0@-$r>e=q$-$7$^$9!#$=$NCM$O!"I=$N3F9T$G;XDj$5$l$?(JALIGN$BB0@-$HF1$8$/!"(JLEFT$B!&(JCENTER$B!&(JRIGHT$B$G$9!#OHFb$N(JALIGN$BB0@-$NCM$rFCDj$7$J$1$l$P!"$3$l$r(JTR$BMWAG$N(JALIGN$BB0@-$K>e=q$-$7$F$$$F$b!";XDj$r>JN,$7$?>l9g$HF1MM$K(J<td>$B$O:84s$;!"(J<th>$B$OCf1{B7$($H$J$j$^$9!#(J
Specifies the default horizontal alignment of cell contents, and overrides the ALIGN attribute on the table row. It takes the same values: LEFT, CENTER and RIGHT. If you don't specify an ALIGN attribute value on the cell, the default is left alignment for <td> and center alignment for <th> although you can override this with an ALIGN attribute on the TR element.
valign
$BOHFb$NFbMF$N=D0LCV$r@0Ns$7$^$9!#$3$l$OI=$N3F9T$G;XDj$5$l$?(JVALIGN$BB0@-$r>e=q$-$7$^$9!#$=$NCM$O!"I=$N3F9T$G;XDj$5$l$?(JVALIGN$BB0@-$HF1$8$/!"(JTOP$B!&(JMIDDLE$B!&(JBOTTOM$B$N;0$D$G$9!#OHFb$N(JVALIGN$BB0@-$NCM$rFCDj$7$J$1$l$P!"$3$l$r(JTR$BMWAG$N(JVALIGN$BB0@-$K>e=q$-$7$F$$$F$b!";XDj$r>JN,$7$?>l9g$HF1MM$KCf1{B7$($H$J$j$^$9!#(J
Specifies the default vertical alignment of cell contents, overriding the VALIGN attribute on the table row. It takes the same values: TOP, MIDDLE and BOTTOM. If you don't specify a VALIGN attribute value on the cell, the default is middle although you can override this with a VALIGN attribute on the TR element.
width
$BOH$HOH$N6-3&$r=|$$$FOHFb$NFbMF$K$U$5$o$7$$I}$r%T%/%;%kC10L$G;XDj$7$^$9!#$=$NCM$OIaDL!"F1$8Ns$NJL$NOH$NI}$HYq$A9g$o$J$$$h$&$K@_Dj$7$^$9!#(J
Specifies the suggested width for a cell content in pixels excluding the cell padding. This value will normally be used except when it conflicts with the width requirements for other cells in the same column.
height
$BOH$HOH$N6-3&$r=|$$$FOH$NFbMF$K$U$5$o$7$$9b$5$r%T%/%;%kC10L$G;XDj$7$^$9!#(J $B$=$NCM$OIaDL!"F1$89T$NJL$NOH$N9b$5;XDj$H$+$A9g$o$J$$$h$&$K@_Dj$7$^$9!#(J
Specifies the suggested height for a cell content in pixels excluding the cell padding. This value will normally be used except when it conflicts with the height requirements for other cells in the same row.

$BI=AH$OIaDL!"@u$$Ib$-D&$j$GI=<($5$l!"30OH$,e$,$C$F$$$F!"OH$N0l$D0l$D$,$3$N@9$j>e$,$C$?I=LL$KF~$j$^$9!#FbMF$,$"$kOH$K$@$18D!9$NOH@~$,0z$+$l$^$9!#(J&nbsp;$B0J30$N6uGr$O!"OH@~$r0z$/$Y$-BP>]$K$O$J$j$^$;$s!#(J
Tables are commonly rendered in bas-relief, raised up with the outer border as a bevel, and individual cells inset into this raised surface. Borders around individual cells are only drawn if the cell has explicit content. White space doesn't count for this purpose with the exception of &nbsp;.

$BI=AH$NBg$-$5$r<+F0D4@0$9$k%"%k%4%j%:%`$O!"$=$l$>$l$NOH$KI,MW$J:G>.I}$H:GBgI}$r7W;;$9$Y$-$G$9!#$3$l$O3FNs$KI,MW$J:G>.I}$H:GBgI}$r7h$a!"$=$l$K$h$C$FI=A4BN$GI,MW$J:G>.I}$H:GBgI}$r7h$a$k$?$a$G$9!#(J
The algorithms used to automatically size tables should take into account the minimum and maximum width requirements for each cell. This is used to determine the minimum and maximum width requirements for each column and hence for the table itself.

$BOH$,J#?t$NNs$r$^$?$0$H$-$O!"3F!9$NNsI}$r9g$o$;$F9=@.$9$k$3$H$K$J$j$^$9!#(J $B#1$D$NJ}K!$H$7$F$O!"$3$l$i$NNs$N4V$GOH$N:G>.I}$H:GBgI}$rJ?Ey$KG[J,$7$^$9!#(J $BJL$NJ}K!$G$O!"J#?t$NNs$r$^$?$,$i$J$$B>$NOH$N9=@.$K=>$&$h$&$JG[J,$r=E$s$8$^$9!#(J
Cells spanning more than one column contribute to the widths of each of the columns spanned. One approach is to evenly apportion the cell's minimum and maximum width between these columns, another is to weight the apportioning according to the contributions from cells that don't span multiple columns.

$B%f!<%6%(!<%8%'%s%H$NCf$K$O8@MU$NHO0OFb$G9T$r2~$a$k$3$H$,I,MW$+!"K>$^$7$$$+$b$7$l$J$$$b$N$,$"$j$^$9!#(J $B$=$N$h$&$J%1!<%9$G$O$3$l$,8+$+$1>e$N>c32$r0z$-5/$3$7$?$H$$$&Js9p$,$"$j$^$9!#(J
For some user agents it may be necessary or desirable to break text lines within words. In such cases a visual indication that this has occurred is advised.

$BF~$l;R$K$5$l$?I=$G$O!"I=$N:G>.I}$H:GBgI}$,!"$=$NCf$KF~$kOH$N:G>.I}$H:GBgI}$K$J$j$^$9!#(J $B$$$A$P$s30B&$NI=$KI,MW$JI}$,$o$+$l$P!"I=$NNsI}$r3d$jEv$F$k$3$H$,$G$-$^$9!#(J $B$3$l$K$h$C$FF~$l;R$K$5$l$?I=$NI}!"$5$i$K$=$NCf$K$"$kI=$NNsI}$r3d$jEv$F$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(J $B/$J$/$H$b:G>.8BEY$NI}$r3d$jEv$F$i$l$k$Y$-$G$7$g$&!#(J $B$=$N>l9g!"M>Gr$O$9$Y$F3F!9$NNs$KI,MW$J:G>.I}$H:GBgI}$NAj0c$KHfNc$7$F?6$jJ,$1$k$3$H$,9M$($i$l$^$9!#(J
The minimum and maximum width of nested tables contribute to the minimum and maximum width of the cell in which they occur. Once the width requirements are known for the top level table, the column widths for that table can be assigned. This allows the widths of nested tables to be assigned and hence in turn the column widths of such tables. If practical, all columns should be assigned at least their minimum widths. It is suggested that any surplus space is then shared out proportional to the difference between the minimum and maximum width requirements of each column.

$BI}$H9b$5$r<($9%T%/%;%kCM$O%9%/%j!<%s%T%/%;%k$r;2>H$9$k$?$a!"%l!<%6!<%W%j%s%?$N$h$&$JHs>o$K9b$$2rA|EY$N5!4o$GIA Note that pixel values for width and height refer to screen pixels, and should be multiplied by an appropriate factor when rendering to very high resolution devices such as laser printers. For instance if a user agent has a display with 75 pixels per inch and is rendering to a laser printer with 600 dots per inch, then the pixel values given in HTML attributes should be multiplied by a factor of 8.


$BJ8>OMWAG(J
Text level elements

$B$3$l$i$OCJMnJ,$1$r$7$^$;$s!#J8>OMWAG$OJ8;zAH$r7h$a$k$b$N$G!"0lHLE*$KF~$l;R2DG=$G$9!#B>$NJ8>OMWAG$rF~$l$k$3$H$,$G$-$^$9$,!"$^$H$aMWAG$rF~$l$k$3$H$O$G$-$^$;$s!#(J
These don't cause paragraph breaks. Text level elements that define character styles can generally be nested. They can contain other text level elements but not block level elements.

$B;zBNMWAG!!(JFont style elements

$B$3$l$i$O$9$Y$F3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#$?$H$($P(J
These all require start and end tags, e.g.

  This has some <B>bold text</B>.

$BJ8>OMWAG$O=g=x@5$7$/F~$l;R$K$7$J$1$l$P$J$j$^$;$s!# Text level elements must be properly nested - the following is in error:

  This has some <B>bold and <I></B>italic text</I>.
$B%f!<%6%(!<%8%'%s%H$O User agents should do their best to respect nested emphasis, e.g.
  This has some <B>bold and <I>italic text</I></B>.

$BMxMQ$G$-$k%U%)%s%H$,@)8B$5$l$F$$$k>l9g$d2;@<=PNO$G$O!"6/D4ItJ,$r6hJL$7$FI=8=$9$kBe$o$j$NJ}K!$,;HMQ$5$l$k$Y$-$G$9!#(J
Where the available fonts are restricted or for speech output, alternative means should be used for rendering differences in emphasis.

TT$B%?%$%WJ8;z$"$k$$$OEyI}J8;zAH!'(Jteletype or monospaced text
I$BB$BB@;z!'(Jbold text style
U$B2<@~!'(Junderlined text style
STRIKE$BBG$A>C$7!'(Jstrike-through text style
BIG$BBg$-$J;zBN!'(Jplaces text in a large font
SMALL$B>.$5$J;zBN(Jplaces text in a small font
SUB$B2SUP$B>eIUJ8;z!'(Jplaces text in superscript style

$BCm0U!'(JHTML$B$NMh$k$Y$-HG$G$O!"(JSTRIKE$B$O(JHTML 3.0$B$N(J"S"$B$KCV$-49$($i$l$k$+$b$7$l$^$;$s!#(J
Note: future revisions to HTML may be phase out STRIKE in favor of the more concise "S" tag from HTML 3.0.

$B;z6gMWAG!!(JPhrase Elements

$B$9$Y$F3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#(J
These all require start and end tags, e.g.

  This has some <EM>emphasized text</EM>.
EM$BFCI.!"$b$C$Q$iSTRONG$B6/$/FCI.!"$b$C$Q$iB@;z$GI=<((J strong emphasis typically rendered in a bold font
DFN$BCODE$B%W%m%0%i%`%3!<%I$+$iE83+(J used for extracts from program code
SAMP$B%W%m%0%i%`$d%9%/%j%W%H$N%5%s%W%k(J used for sample output from programs, and scripts etc.
KBD$BMxMQVAR$B%3%^%s%I$NJQ?t!&A}2CN((J used for variables or arguments to commands
CITE$BB>$NK\$+$i$N0zMQ$"$k$$$O;2>H(J used for citations or references to other sources

$B=q$-9~$_=q<0(J
Form fields

FORM$BMWAG$NCf$KF~$l$i$l$k$N$O(JINPUT,SELECT,TEXTAREA$B$N;0$D$@$1$G$9!#(JINPUT$B$r;H$C$F!"0l9T$N5-F~Ms$d%Q%9%o!<%I5-F~Ms$d%A%'%C%/>#$d%i%8%*%\%?%s!"Aw?.%\%?%s$dC%\%?%s!"1#$7Ms!"%U%!%$%k>e04!"2hA|%\%?%s$J$I$5$^$6$^$JF~NOMs$r;E9~$`$3$H$,$G$-$^$9!#(JSELECT$BMWAG$O!"J#?tA*Br$,$G$-$k8%N)$K;H$o$l$^$9!#(JTEXTAREA$BMWAG$O!"J#?t9T$N=q$-9~$_OH$r:n$k$N$K;H$o$l$^$9!#MWAG$NFbMF$O!"5-F~Ms$K$O$8$a$+$iJ8;z$rF~$l$F$*$/$N$K;H$o$l$^$9!#(J
INPUT, SELECT and TEXTAREA are only allowed within FORM elements. INPUT can be used for a variety of form fields including single line text fields, password fields, checkboxes, radio buttons, submit and reset buttons, hidden fields, file upload, and image buttons. SELECT elements are used for single or multiple choice menus. TEXTAREA elements are used to define multi-line text fields. The content of the element is used to initialize the field.

INPUT text fields, radio buttons, check boxes, ...

INPUT$BMWAG$OMF$lJ*$G$O$J$$$N$G!"=*N;%?%0$O=P$F$-$^$;$s!#(J
INPUT elements are not containers and so the end tag is forbidden.

<!ENTITY % IAlign "(top|middle|bottom|left|right)">

<!ENTITY % InputType
        "(TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT
            | RESET | FILE | HIDDEN | IMAGE)">

<!ELEMENT INPUT - O EMPTY>
<!ATTLIST INPUT
        type %InputType TEXT     -- what kind of widget is needed --
        name  CDATA #IMPLIED     -- required for all but submit and reset --
        value CDATA #IMPLIED     -- required for radio and checkboxes --
        checked (checked) #IMPLIED -- for radio buttons and check boxes --
        size CDATA  #IMPLIED     -- specific to each type of field --
        maxlength NUMBER #IMPLIED
        src   %URL  #IMPLIED     -- for fields with background images --
        align %IAlign #IMPLIED   -- vertical or horizontal alignment --
        >
type
$BF~NOMs$N Used to set the type of input field:

type=text (the default)
$B0l9T$N5-F~Ms$G!"I=<($5$l$kBg$-$5$O(Jsize$BB0@-$G@_Dj$G$-$^$9!#Nc$($PH>3Q(J40$B;z$NI}$K$9$k$K$O!"(Jsize=40$B$H$7$^$9!#%+!<%=%k$,8+$($F$$$kMsFb$G$OJ8>O$r4,>e$2$FI=<($7!"MxMQr7o$rD6$($F=q$-9~$_$rB3$1$i$l$k$h$&$K$9$Y$-$G$9!#(Jmaxlength$BB0@-$rDI2C$9$k$H!"F~NO2DG=$J;z?t$r@)8B$9$k$3$H$,2DG=$G$9!#(Jname$BB0@-$O$=$NMs$KL>A0$r$D$1$k>l9g$K;H$$!"(Jvalue$B$O=i$a$+$i$J$K$+=q$-9~$s$G$*$-$?$$;~$K;H$$$^$9!#(J
A single line text field whose visible size can be set using the size attribute, e.g. size=40 for a 40 character wide field. Users should be able to type more than this limit though with the text scrolling through the field to keep the input cursor in view. You can enforce an upper limit on the number of characters that can be entered with the maxlength attribute. The name attribute is used to name the field, while the value attribute can be used to initialize the text string shown in the field when the document is first loaded.
    <input type=text size=40 name=user value="your name">
type=password
$B$3$l$O(Jtype=text$B$HF1MM$N$b$N$G$9$,!"%Q%9%o!<%I$rF~NO$9$k:]$KGA$-8+$5$l$J$$$h$&$K!"J8;z$NBe$o$j$K(J* $B$J$I$N5-9f$rJV$7$^$9!#DL>o$N5-F~Ms$HF1$8$/(Jsize$B$d(Jmaxlength$BB0@-$r;H$C$FI=<(HO0O$d:GBgI}$rD4@0$G$-$^$9!#(J
This is like type=text, but echoes characters using a character like * to hide the text from prying eyes when entering passwords. You can use size and maxlength attributes to control the visible and maximum length exactly as per regular text fields.
    <input type=password size=12 name=pw>
type=checkbox
$B4JC1$J%V!<%k4X?tA*Br!JLuCm!'??(J/$B56$NFsA0(Jname$B$H0[$J$C$?CM(Jvalue$BB0@-$r;}$DJ#?t$N%A%'%C%/>#$,I=<($5$l$^$9!#(J $B3F%A%'%C%/>#$O!"$?$H$($3$l$,A4$/F1$8L>A0$K$J$C$?$H$7$F$b!"Aw?.%G!<%?$K$OJL8D$NL>A0(J/$BCM$NAH$_9g$o$;$r:n$j=P$7$^$9!#(J $B%A%'%C%/>#$K=i$a$+$i%A%'%C%/$7$?>uBV$K$7$F$*$/$K$O!"(Jchecked$BB0@-$r;H$C$F$/$@$5$$!#(J
Used for simple Boolean attributes, or for attributes that can take multiple values at the same time. The latter is represented by several checkbox fields with the same name and a different value attribute. Each checked checkbox generates a separate name/value pair in the submitted data, even if this results in duplicate names. Use the checked attribute to initialize the checkbox to its checked state.
    <input type=checkbox checked name=uscitizen value=yes>
type=radio
$BJ#?t$NCM$NCf$+$i$I$l$+(J1$B$D$rname$B$,M?$($i$l$k$Y$-$G$9!#(J $B%i%8%*%\%?%s$K$O!"L@3N$J(Jvalue $BB0@-$,I,MW$G$9!#(J $B%0%k!<%W$NCf$N$I$l$+(J1$B$D%A%'%C%/$7$?%i%8%*%\%?%s$,!"(Jname/value $BAH$_9g$o$;%G!<%?$H$7$FAw?.$5$l$^$9!#(J $B3F%0%k!<%WKh$K%i%8%*%\%?%s$N$I$l$+#1$D$r!"$"$i$+$8$a(Jchecked$BB0@-$r;H$C$F%A%'%C%/$7$F$*$/$Y$-$G$7$g$&!#(J
Used for attributes which can take a single value from a set of alternatives. Each radio button field in the group should be given the same name. Radio buttons require an explicit value attribute. Only the checked radio button in the group generates a name/value pair in the submitted data. One radio button in each group should be initially checked using the checked attribute.
    <input type=radio name=age value="0-12">
    <input type=radio name=age value="13-17">
    <input type=radio name=age value="18-25">
    <input type=radio name=age value="26-35" checked>
    <input type=radio name=age value="36-">
type=submit
$B$3$l$O=q<0$NFbMF$rMxMQvalue$BB0@-$G@_Dj$7$^$9!#(Jname$BB0@-$,M?$($i$l$F$$$l$P!"Aw?.%\%?%s$NL>A0$HCM$NAH$_9g$o$;$,Aw?.%G!<%?$K4^$^$l$^$9!#0l$D$N=q<0$KJ#?t$NAw?.%\%?%s$r;E9~$`$3$H$,$G$-$^$9!#2hA|7?Aw?.%\%?%s$r:n$k$K$O!"(Jtype=image$B$r8+$F$/$@$5$$!#(J
This defines a button that users can click to submit the form's contents to the server. The button's label is set from the value attribute. If the name attribute is given then the submit button's name/value pair will be included in the submitted data. You can include several submit buttons in the form. See type=image for graphical submit buttons.
    <input type=submit value="Party on ...">
type=image
$B$3$l$OJ8;zNs$G$O$J$/2hA|$GI=<($5$l$k!"2hA|7?Aw?.%\%?%s$K;H$$$^$9!#2hA|$N(JURL$B$r(Jsrc$B$G;XDj$7$^$9!#2hA|$NG[CV$r(Jalign$BB0@-$G;XDj$G$-$^$9!#$3$N$3$H$K$h$j!"2hA|7?Aw?.%\%?%s$O(JIMG$BMWAG$HF1MM$K07$o$l$k$N$G!"G[CV$r(Jleft, right, top, middle,bottom$B$K@_Dj$G$-$^$9!#%/%j%C%/$7$?>l=j$N:BI8$,(JX$BCM$H(JY$BCM$H$7$F%5!<%P$KEO$5$l$^$9!#$3$N$H$-Aw?.%G!<%?$K$O!"2hA|>e$N:BI8$,Fs$D$NL>A0(J/$BCM$NAH$_9g$o$;$H$7$F4^$^$l$^$9!#$=$NL>A0$O:BI8$NL>A0$K(JX$BCM$G$"$k(J".x"$B!"$*$h$S(JY$BCM$G$"$k(J".y"$B$rIU$1B-$7$?$b$N$H$J$j$^$9!#(J
This is used for graphical submit buttons rendered by an image rather than a text string. The URL for the image is specified with the src attribute. The image alignment can be specified with the align attribute. In this respect, graphical submit buttons are treated identically to IMG elements, so you can set align to left, right, top, middle or bottom. The x and y values of the location clicked are passed to the server: In the submitted data, image fields are included as two name/value pairs. The names are derived by taking the name of the field and appending ".x" for the x value, and ".y" for the y value.
<p>Now choose a point on the map:

    <input type=image name=point src="map.gif">

$BCm0U!!(JNote: $B2hA|:BI8$N;HMQ$OJ8;zNs$N$_$rI=<($9$k%F%-%9%H%V%i%&%6$d2;@<7?%V%i%&%6$G$O$[$H$s$I$N>l9gLdBj$r0z$-5/$3$7$^$9!#(J
image fields typically cause problems for text-only and speech-based user agents!

type=reset
$B$3$l$O!"J8=q$,:G=i$KFI$_9~$^$l$?$H$-$N>uBV$KLa$9$?$a$N!"MxMQC$92!%\%?%s$r:n$j$^$9!#(Jvalue$BB0@-$rM?$($F%i%Y%k$rE=$k$3$H$,$G$-$^$9!#C$7%\%?%s$O!"=q<0$NFbMF$N0lIt$H$7$FAw?.$5$l$k$3$H$O$"$j$^$;$s!#(J
This defines a button that users can click to reset form fields to their initial state when the document was first loaded. You can set the label by providing a value attribute. Reset buttons are never sent as part of the form's contents.
    <input type=reset value="Start over ...">
type=file
$B$3$l$OMxMQA0$rA*Br$9$k$?$a%U%!%$%k%V%i%&%6$r5/F0$9$k%\%?%s$,8=$l$^$9!#(J $B%U%!%$%kL>A0$O!"5-F~Ms$G$bD>@\F~NO$9$k$3$H$,$G$-$^$9!#(J type=text $B$HF1MM$K!"(Jsize$BB0@-$r;H$C$FJB$NJ8;zI}$G$3$NMs$N8+$+$1>e$NI}$rDj$a$k$3$H$,$G$-$^$9!#(J $B$^$?!"(J maxlength $BB0@-$r;H$C$F!"%U%!%$%kL>A0$ND9$5$K>e8B$rDj$a$k$3$H$,$G$-$^$9!#(J $B%f!<%6%(!<%8%'%s%H$K$h$C$F$O!"\:Y$K$D$$$F$O(JRFC 1867 $B$K$"$j$^$9!#(J
This provides a means for users to attach a file to the form's contents. It is generally rendered by text field and an associated button which when clicked invokes a file browser to select a file name. The file name can also be entered directly in the text field. Just like type=text you can use the size attribute to set the visible width of this field in average character widths. You can set an upper limit to the length of file names using the maxlength attribute. Some user agents support the ability to restrict the kinds of files to those matching a comma separated list of MIME content types given with the ACCEPT attribute e.g. accept="image/*" restricts files to images. Further information can be found in RFC 1867.
    <input type=file name=photo size=20 accept="image/*">
type=hidden
$B%5!<%P$XAw$k>pJs$G8+$i$l$?$/$J$$$b$N$r=q<0$KCV$$$F$*$/J}K!$G$9!#(J $B=q<0Aw?.;~$K!"$=$l$>$lBP1~$9$kB0@-$G;XDj$5$l$?L>A0(J/$BCM$NAH$_9g$o$;$r;H$C$F!"%5!<%P$KAw$i$l$^$9!#(J $B$3$l$O(JHTTP$B$NL59q@R@-$KBP$7$F8z2L$,$"$j$^$9!#(J HTTP$B;HMQK!$H$7$F$OJLES$K(J"$B%/%C%-!<(J"$B$,$"$j$^$9!#(J
These fields should not be rendered and provide a means for servers to store state information with a form. This will be passed back to the server when the form is submitted, using the name/value pair defined by the corresponding attributes. This is a work around for the statelessness of HTTP. Another approach is to use HTTP "Cookies".
    <input type=hidden name=customerid value="c2415-345-8563">
name
$B%5!<%P$XAw?.$9$k$H$-$KFbMF$r6hJL$9$k$?$a!"L>A0$rIU$1$^$9!#(J
Used to define the property name that will be used to identify this field's content when it is submitted to the server.
value
$BM=$a=q$-9~$_$7$F$*$$$?$j!"Aw?.$dC%\%?%s$N%i%Y%k$rE=$k$N$K;H$$$^$9!#(J
Used to initialize the field, or to provide a textual label for submit and reset buttons.
checked
$B$3$NB0@-$rL@<($9$k$H!"%A%'%C%/>#$d%i%8%*%\%?%s$rM=$a%A%'%C%/$7$F$*$$$?>uBV$K$J$j$^$9!#(J
The presence of this attribute is used to initialize checkboxes and radio buttons to their checked state.
size
$B8+$+$1>e$N5-F~Ms$NI}$r?t;z$G@_Dj$7$^$9!#Nc!'(Jsize=20
Used to set the visible size of text fields to a given number of average character widths, e.g. size=20
maxlength
$B5-F~Ms$K=q$-9~$_2DG=$J:GBgJ8;z?t$r@_Dj$7$^$9!#(J
Sets the maximum number of characters permitted in a text field.
src
$B2hA|7?Aw?.%\%?%s$K;H$&2hA|$N(JURL$B$r;XDj$7$^$9!#(J
Specifies a URL for the image to use with a graphical submit button.
align
$B2hA|7?Aw?.%\%?%s$N2hA|$NG[Ns$r7h$a$^$9!#(JIMG$B$N(Jalign$BB0@-$HF1MM!"(Jtop$B!&(Jmiddle$B!&(Jbottom$B!&(Jleft$B!&(Jright$B$N$&$A0l$D$rCM$H$7$F$H$j!";XDj$r>JN,$9$k$H(Jbottom$B$K$J$j$^$9!#(J
Used to specify image alignment for graphical submit buttons. It is defined just like the IMG align attribute and takes one of the values: top, middle, bottom, left or right, defaulting to bottom.

$B9`L\A*BrMs(J SELECT menus

<!ELEMENT SELECT - - (OPTION+)>
<!ATTLIST SELECT
        name CDATA #REQUIRED
        size NUMBER #IMPLIED
        multiple (multiple) #IMPLIED
        >

<!ELEMENT OPTION - O (#PCDATA)*>
<!ATTLIST OPTION
        selected (selected) #IMPLIED
        value  CDATA  #IMPLIED -- defaults to element content --
        >

SELECT$B$O!"J#?t$NIJ=q$+$i0l$DA*$V$+J#?tA*Br$G$-$k8%N)$rDj5A$9$k$N$K;H$$$^$9!#(JSELECT$BMWAG$K$O3+;O%?%0$H=*N;%?%0$,I,MW$G!"FbMF$K$O8%N)$NIJL\$rDj5A$9$k0l$D0J>e$N(JOPTION$BMWAG$,F~$j$^$9!#J#?t$NIJ=q$+$i0l$D$rA*Br$9$k>l9g$O0lHLE*$K3]<4<08%N)$H$7$FI=<($5$l!"J#?t$NIJ=q$+$iJ#?tA*Br$9$k>l9g$O0lHLE*$K0lMwI=$H$7$FI=<($5$l$^$9!#(J
SELECT is used to define select one from many or many from many menus. SELECT elements require start and end tags and contain one or more OPTION elements that define menu items. One from many menus are generally rendered as drop-down menus while many from many menus are generally shown as list boxes.

$BNc!!(JExample:

    <SELECT NAME="flavor">
    <OPTION VALUE=a>Vanilla
    <OPTION VALUE=b>Strawberry
    <OPTION VALUE=c>Rum and Raisin
    <OPTION VALUE=d>Peach and Orange
    </SELECT>

SELECT$B$NB0@-!!(JSELECT attributes:

name
$B8%N)$+$i$NA*Br$rB>$+$i6hJL$9$k$?$a$K!"=q<0$,%5!<%P$KAw?.$5$l$k$H$-$K;HMQ$9$kFC@-L>$r!"$3$l$G;XDj$7$^$9!#(J $B3F!9$NA*Br7k2L$OFC@-L>(J/$BFC@-CM$NAH$_9g$o$;$H$J$j!"=q<0$NFbMF$N0lIt$H$7$F4^$^$l$k$3$H$K$J$j$^$9!#(J
This specifies a property name that is used to identify the menu choice when the form is submitted to the server. Each selected option results in a property name/value pair being included as part of the form's contents.
size
$B$3$l$OB??t$NIJ=q$-$+$iB??t$NA*Br$r$9$k$H$-!"0lEY$K8+$($kA*Br$N?t$rDj$a$^$9!#(J
This sets the number of visible choices for many from many menus.
multiple
$B$3$NB0@-$rL@<($9$k$H!"MxMQJN,$9$k$H!"A*Br$G$-$k$N$O0l$D$@$1$G$9!#(J
The presence of this attribute signifies that the users can make multiple selections. By default only one selection is allowed.

$BDI2C$G$-$kB0@-!!(JOPTION attributes:

selected
$B$3$NB0@-$rL@<($7$F$*$/$H!"$=$NJ8=q$,:G=i$KFI$_9~$^$l$?$H$-$K$=$NIJL\$,A*Br$5$l$^$9!#B??t$NIJ=q$-$+$i0l$D$rA*Br$9$k$N$K!"IJL\$r0l$D$h$jB?$/A*Br$7$F$*$/$H%(%i!<$K$J$j$^$9!#(J
When this attribute is present, the option is selected when the document is initially loaded. It is an error for more than one option to be so selected for one from many menus.
value
$B=q<0FbMF$rAw?.$9$k$H$-$NFC@-CM$rDj$a$^$9!#$3$l$O?F(JSELECT$BMWAG$N(Jname$BB0@-$K$h$C$FM?$($i$l$kFC@-L>$K7k$S$D$1$i$l$^$9!#(J
Specifies the property value to be used when submitting the form's content. This is combined with the property name as given by the name attribute of the parent SELECT element.

TEXTAREA $BJ#?t9T=q$-9~$_OH(Jmulti-line text fields

<!-- $BJ#?t9T=q$-9~$_OH(JMulti-line text input field. -->

<!ELEMENT TEXTAREA - - (#PCDATA)*>
<!ATTLIST TEXTAREA
        name CDATA #REQUIRED
        rows NUMBER #REQUIRED
        cols NUMBER #REQUIRED
        >

TEXTAREA$BMWAG$O3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#MWAG$NFbMF$O!"J8>O$HJ8;zO$r=q$$$F$*$/$N$K;HMQ$5$l$^$9!#(J
TEXTAREA elements require start and end tags. The content of the element is restricted to text and character entities. It is used to initialize the text that is shown when the document is first loaded.

$BNc!!(JExample:

    <TEXTAREA NAME=address ROWS=4 COLS=40>
    Your address here ...
    </TEXTAREA>

$B%f!<%6%(!<%8%'%s%H$O!"=q$-9~$^$l$?FbMF$rAw?.$7$F$$$k$H$-!"(J CR$B$d(JLF$B!J%"%9%-!<==?JK!(J13,10$BHV!K$K9T=*;_$rEv$F$O$a$k$3$H$,?dA&$5$l$^$9!#(J $BB>$NJ8;z%;%C%H$r07$&$3$H$,$G$-$k$H$$$&$3$H$r%5!<%P$,A0$b$C$F<($7$?$N$G$J$$8B$j!"Aw?.$5$l$?%G!<%?$N$?$a$NJ8;z%;%C%H$O!"9q:]I8=`2=5!9=%i%F%s(J1$BJ8;z%3!<%I$G$"$k$Y$-$G$9!#(J
It is recommended that user agents canonicalize line endings to CR, LF (ASCII decimal 13, 10) when submitting the field's contents. The character set for submitted data should be ISO Latin-1, unless the server has previously indicated that it can support alternative character sets.

name
$B$3$l$O!"=q<0$,%5!<%P$KAw?.$5$l$k$H$-!"$=$N=q$-9~$_$rB>$+$i6hJL$9$k$?$a$NFC@-L>$r;XDj$7$^$9!#(J
This specifies a property name that is used to identify the textarea field when the form is submitted to the server.
rows
$BI=<($5$l$k9T?t$r;XDj$7$^$9!#(J $BMxMQe$2$FI=<($9$k$J$s$i$+$NJ}K!$rMQ0U$9$k$Y$-$G$9!#(J
Specifies the number of visible text lines. Users should be able to enter more lines that this, so user agents should provide some means to scroll through the contents of the textarea field when the contents extend beyond the visible area.
cols
$BI=<($5$l$kI}$rIaDL$NJ8;zI}$G;XDj$7$^$9!#(J $BMxMQe$2$FI=<($9$k$J$s$i$+$NJ}K!$rMQ0U$9$k$Y$-$G$9!#(J $B%f!<%6%(!<%8%'%s%H$O!"D9$$9T$r4,$->e$2$:$KI=<($G$-$k$h$&$K!"I=<($5$l$kJ8>O9T$r<+F02~9T$7$F$+$^$$$^$;$s!#(J
Specifies the visible width in average character widths. Users should be able to enter longer lines that this, so user agents should provide some means to scroll through the contents of the textarea field when the contents extend beyond the visible area. User agents may wrap visible text lines to keep long lines visible without the need for scrolling.

$BFCOMWAG(J
Special Text level Elements

A (Anchor), IMG, APPLET, FONT, BASEFONT, BR and MAP.

$BIEMWAG(J
The A (anchor) element

<!ELEMENT A - - (%text)* -(A)>
<!ATTLIST A
        name    CDATA   #IMPLIED    -- $BO":?Hx;XDj!!(Jnamed link end --
        href    %URL    #IMPLIED    -- $BO":?;q:`$N(JURL$B!!(JURL for linked resource --
        rel     CDATA   #IMPLIED    -- $BA0J}O":?4X78!!(Jforward link types --
        rev     CDATA   #IMPLIED    -- $B5U9TO":?4X78!!(Jreverse link types --
        title   CDATA   #IMPLIED    -- $B=u8@E*I=BjJ8;zNs!!(Jadvisory title string --
        >

$BIE$OF~$l;R$K$9$k$3$H$O$G$-$^$;$s!#>o$K3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#(J $BD61[=qN`$NO":?$rDj5A$7!"$^$?D61[=qN`$NO":?@h$H$7$F;H$o$l$kHVCOI=<($H$b$J$j$^$9!#Nc$($P(J
Anchors can't be nested and always require start and end tags. They are used to define hypertext links and also to define named locations for use as targets for hypertext links, e.g.

   The way to <a href="hands-on.html">happiness</a>.

$B and also to define named locations for use as targets for hypertext links, e.g.

   <h2><a name=mit>545 Tech Square - Hacker's Paradise</a></h2>
name
$B$3$l$O$=$N$H$-$N(J HTML $BJ8=q$NHO0O$NM#0l$NL>A0$rDj5A$7$F$$$kJ8;zNs$H$J$j$^$9!#(J NAME $B$O!"J8=q$N$3$NItJ,$K!"J8=qCf$NL>A0$D$-%;%/%7%g%s$rL\I8$K$9$k(JURLs$B$K$*$$$F;HMQ$5$l$kL>A0$r$D$1$k$N$K;H$o$l$^$9!#(J
This should be a string defining unique name for the scope of the current HTML document. NAME is used to associate a name with this part of a document for use with URLs that target a named section of a document.
href
$BO":?$5$l$?;q:`$N%M%C%H%o!<%/HVCO$H$7$FF0:n$9$k(JURL$B$r;XDj$7$^$9!#(J $B$3$l$OB>$N(J HTML $BJ8=q$+(J PDF $B%U%!%$%k$+2hA|$J$I$r;XDj$9$k$3$H$,$G$-$^$9!#(J
Specifies a URL acting as a network address for the linked resource. This could be another HTML document, a PDF file or an image etc.
rel
$B!XO":?%?%$%W!Y$H$b8F$P$l$k@5=g$N4X78!#(J $BO":?$5$l$?;q:`$N=8$^$j$r0u:~$9$k$H$-!"$3$l$r;H$C$FO":?$5$l$?;q:`$r$I$N$h$&$K07$&$+7h$a$k$3$H$,$G$-$^$9!#(J
The forward relationship also known as the "link type". It can be used to determine to how deal with the linked resource when printing out a collection of linked resources.
rev
$B$3$l$O5U=g$N4X78$rDj5A$7$^$9!#(J REV=relation $B$N$"$kJ8=q(J B $B$X$NJ8=q(J A $B$+$i$NO":?$,!"(J REL=relation $B$N$"$k(J A $B$X$N(J B $B$+$i$NO":?$HF1$84X78$rI=$7$^$9!#(J REV=made $B$O$7$P$7$P!"J8=q$NCx This defines a reverse relationship. A link from document A to document B with REV=relation expresses the same relationship as a link from B to A with REL=relation. REV=made is sometimes used to identify the document author, either the author's email address with a mailto URL, or a link to the author's home page.
title
$BO":?$5$l$?;q:`$N$?$a$N=u8@E*$JI8Bj(J
An advisory title for the linked resource.

IMG - inline images

<!ENTITY % IAlign "(top|middle|bottom|left|right)">

<!ELEMENT IMG    - O EMPTY --  $BKd9~$_2hA|(JEmbedded image -->
<!ATTLIST IMG
        src     %URL     #REQUIRED  -- $BKd9~$`2hA|$N(JURL$B!!(JURL of image to embed --
        alt     CDATA    #IMPLIED   -- $B2hA|$NBe$o$j$K$J$kI=<(!!(Jfor display in place of image --
        align   %IAlign  #IMPLIED   -- $B=D$^$?$O2#$N@0Ns!!(Jvertical or horizontal alignment --
        height  %Pixels  #IMPLIED   -- $B9b$5$r%T%/%;%k$G;X<(!!(Jsuggested height in pixels --
        width   %Pixels  #IMPLIED   -- $BI}$r%T%/%;%k$G;X<(!!(Jsuggested width in pixels --
        border  %Pixels  #IMPLIED   -- $BO":?OH@~$r;X<(!!(Jsuggested link border width --
        hspace  %Pixels  #IMPLIED   -- $B2#M>Gr$r;X<(!!(Jsuggested horizontal gutter --
        vspace  %Pixels  #IMPLIED   -- $B=DM>Gr$r;X<(!!(Jsuggested vertical gutter --
        usemap  %URL     #IMPLIED   -- $BK,Ld

$B2hA|$rA^F~$7$^$9!#(J IMG $B$O6u$NMWAG$J$N$G!"=*N;%?%0$O=P$F$-$^$;$s!#(J $B2hA|$O$=$N;~$N9T$KBP$7$F?bD>$KCV$+$l$k$+!":8$+1&$K2s$j9~$^$;$k$3$H$,$G$-$^$9!#(J $BJ8>ON.$79~$_$N4IM}$N$?$a$K(J CLEAR $BB0@-$r;}$D(J BR $B$r8+$F$/$@$5$$!#(J
Used to insert images. IMG is an empty element and so the end tag is forbidden. Images can be positioned vertically relative to the current textline or floated to the left or right. See BR with the CLEAR attribute for control over textflow.

e.g.  <IMG SRC="canyon.gif" ALT="Grand Canyon">

IMG$BMWAG$K$O0J2<$NB0@-$,$"$j$^$9(J
IMG elements support the following attributes:

src
$B$3$NB0@-$O$9$Y$F$N(JIMG$BMWAG$KI,MW$G$9!#$3$l$O(JGIF$B$d(JJPEG$B$d(JPNG$B$N2hA|%U%!%$%k$J$I!"2hA|;q:`$N(JURL$B$r;XDj$7$^$9!#(J
This attribute is required for every IMG element. It specifies a URL for the image resource, for instance a GIF, JPEG or PNG image file.
alt
$B$3$l$OJ8>O$K$h$k2hA|$N@bL@$rM?$($k$?$a$K;HMQ$5$l$^$9!#2;@e$2<0$^$?$OJ8>O$N$_$rI=<($9$k%f!<%6%(!<%8%'%s%H$G$b0UL#$,$o$+$k$h$&$K$9$k$?$a$K$OIT2D7g$G$9!#(J
This is used to provide a text description of the image and is vital for interoperability with speech-based and text only user agents.
align
$B$3$l$O2hA|$,$=$N$H$-$N9T$KBP$7$F$I$N$h$&$KG[CV$5$l$k$+$r;XDj$7$^$9(J
This specifies how the image is positioned relative to the current textline in which it occurs:

align=top
$B8=:_$NJ8>O9T$N>eC<$K2hA|$N>eC<$r9g$o$;$^$9!#(J $BO9T$G@8$8$?$3$H$r7W;;$KF~$l$k$@$1$G$"$C$F!"$=$N8e$K5/$3$k$3$H$rL5;k$9$k$b$N$b$"$j$^$9!#(J
positions the top of the image with the top of the current text line. User agents vary in how they interpret this. Some only take into account what has occurred on the text line prior to the IMG element and ignore what happens after it.
align=middle
$B2hA|$NCf1{$r$=$N$H$-$N9T$N2 aligns the middle of the image with the baseline for the current textline.
align=bottom
$B2hA|$NDlIt$r9T$NDlIt$K9g$o$;$^$9!#;XDj$r>JN,$9$k$H$3$NG[CV$K$J$j$^$9!#(J
is the default and aligns the bottom of the image with the baseline.
align=left
$B$=$N$H$-$N9T$N:8$K2hA|$r;}$C$F$$$-!"0l;~E*$KJ8>O$N3d$jIU$1$rJQ$($F!"B3$/J8>O$r2hA|$N1&B&$N1o$K1h$C$FN.$79~$_$^$9!#(J $BI=5-$NCf$G!"8=:_$N2hA|$h$j@h$K8=$l$k:84s$;$7$?J8>O0?$$$O2hA|$,$"$k$+$I$&$+$K$h$C$F!"I=<($OJQ$o$j$^$9!#(J $B0lHLE*$K8@$C$F$=$N$h$&$JJ8>O!J2hA|$G$O$J$/!K$,$"$k$H!"$=$NA0$N9T$+$iB3$$$F$$$kO$r$b$C$F?7$7$$9T$X2~9T$5$l!":8C<$K2hA|$,6/@)G[CV$5$l$^$9!#(J
floats the image to the current left margin, temporarily changing this margin, so that subsequent text is flowed along the image's righthand side. The rendering depends on whether there is any left aligned text or images that appear earlier than the current image in the markup. Such text (but not images) generally forces left aligned images to wrap to a new line, with the subsequent text continuing on the former line.
align=right
$B$=$N$H$-$N9T$N1&$K2hA|$r;}$C$F$$$-!"0l;~E*$KJ8>O$N3d$jIU$1$rJQ$($F!"B3$/J8>O$r2hA|$N:8B&$N1o$K1h$C$FN.$79~$_$^$9!#(J $BI=5-$NCf$G!"8=:_$N2hA|$h$j@h$K8=$l$k1&4s$;$7$?J8>O0?$$$O2hA|$,$"$k$+$I$&$+$K$h$C$F!"I=<($OJQ$o$j$^$9!#(J $B0lHLE*$K8@$C$F$=$N$h$&$JJ8>O!J2hA|$G$O$J$/!K$,$"$k$H!"$=$NA0$N9T$+$iB3$$$F$$$kO$r$b$C$F?7$7$$9T$X2~9T$5$l!"1&C<$K2hA|$,6/@)G[CV$5$l$^$9!#(J
floats the image to the current right margin, temporarily changing this margin, so that subsequent text is flowed along the image's lefthand side. The rendering depends on whether there is any right aligned text or images that appear earlier than the current image in the markup. Such text (but not images) generally forces right aligned images to wrap to a new line, with the subsequent text continuing on the former line.

$B%V%i%&%6$NCf$K$O:8$d1&$KG[CV$5$l$k2hA|$KBP$7$F0l;~E*$J6uGr$r$D$/$k$b$N$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#(J $B7k2L$H$7$F!"0[$J$k%Y%s%@$+$i=P$5$l$F$$$k%V%i%&%64V$GF1$8F0:n$r4|BT$9$k$3$H$O$G$-$^$;$s!#(J $BJ8>ON.$79~$_$N@)8f$N$7$+$?$O(JBR$B$r8+$F$/$@$5$$!#(J
Note that some browsers introduce spurious spacing with multiple left or right aligned images. As a result authors can't depend on this being the same for browsers from different vendors. See BR for ways to control text flow.

width
$BM=Dj$5$l$?2hA|$NI}$r%T%/%;%k;XDj$9$k!#(J $B$3$l$O9b$5$H6&$KM?$($i$l$k$H$-!"2hA|%G!<%?$NE~Ce$K@hN)$C$F!"%f!<%6%(!<%8%'%s%H$,2hA|$N$?$a$NI=<(6u4V$r Specifies the intended width of the image in pixels. When given together with the height, this allows user agents to reserve screen space for the image before the image data has arrived over the network.
height
$BM=Dj$5$l$?2hA|$N9b$5$r%T%/%;%k;XDj$9$k!#(J $B$3$l$OI}$H6&$KM?$($i$l$k$H$-!"2hA|%G!<%?$NE~Ce$K@hN)$C$F!"%f!<%6%(!<%8%'%s%H$,2hA|$N$?$a$NI=<(6u4V$r Specifies the intended height of the image in pixels. When given together with the width, this allows user agents to reserve screen space for the image before the image data has arrived over the network.
border
IMG $BMWAG$,D6O":?$N0lIt$K$J$C$F$$$k$H$-!"0lHL$K%f!<%6%(!<%8%'%s%H$O$3$l$r!"2hA|$N$^$o$j$K?'$,$D$$$?1o$I$j!JE57?E*$K$O@D!K$rIA$$$FI=<($7$^$9!#(J $B$3$NB0@-$r;HMQ$9$k$H!"$3$N1o$I$j$NI}$r%T%/%;%k;XDj$9$k$3$H$,$G$-$^$9!#(J $B1o$I$j$rA4$/=P$5$J$/$9$k$K$O!"(J border=0 $B$H$7$^$9!#(J $B%f!<%6%(!<%8%'%s%H$O!"(J $BNc$($P%^%&%9%]%$%s%?$rJQ99$9$k$J$I!"2hA|$,2!%\%?%s$K$J$C$F$$$k$3$H$N9g?^$r=P$;$k$h$&$K$9$k$3$H$,4+$a$i$l$^$9!#(J
When the IMG element appears as part of a hypertext link, the user agent will generally indicate this by drawing a colored border (typically blue) around the image. This attribute can be used to set the width of this border in pixels. Use border=0 to suppress the border altogether. User agents are recommended to provide additional cues that the image is clickable, e.g. by changing the mouse pointer.
hspace
$B$3$l$r;H$C$F!"2hA|$N$9$0:8$H1&$K6uGr$rM?$($k$3$H$,$G$-$^$9!#(J HSPACE $BB0@-$G!"$3$N6uGr$NI}$r%T%/%;%k;XDj$7$^$9!#(J $B;XDj$r>JN,$9$k$H!"(J HSPACE $B$O(J0$B$G$J$$>.$5$J?t$H$J$j$^$9!#(J
This can be used to provide white space to the immediate left and right of the image. The HSPACE attribute sets the width of this white space in pixels. By default HSPACE is a small non-zero number.
vspace
$B$3$l$r;H$C$F!"2hA|$N$9$0>e$H2<$K6uGr$rM?$($k$3$H$,$G$-$^$9!#(J VSPACE $BB0@-$G!"$3$N6uGr$N9b$5$r%T%/%;%k;XDj$7$^$9!#(J $B;XDj$r>JN,$9$k$H!"(J VSPACE $B$O(J0$B$G$J$$>.$5$J?t$H$J$j$^$9!#(J
This can be used to provide white space above and below the image The VSPACE attribute sets the height of this white space in pixels. By default VSPACE is a small non-zero number.
usemap
$B$3$l$r;H$C$F!"(J MAP$BMWAG$r$b$C$FDj5A$5$l$kK,Ld This can be used to give a URL fragment identifier for a client-side image map defined with the MAP element.
ismap
IMG $BMWAG$,D6O":?$N0lIt$G$"$k$H$-!"MxMQe$2<0%f!<%6%(!<%8%'%s%H$G$OLdBj$r0z$-5/$3$7$^$9!#(J $B$3$l$KBe$o$k$b$N$H$7$F(JMAP $BMWAG$r;H$&$3$H$,>o$K2DG=$G$9!#(J
When the IMG element is part of a hypertext link, and the user clicks on the image, the ISMAP attribute causes the location to be passed to the server. This mechanism causes problems for text-only and speech-based user agents. Whenever its possible to do so use the MAP element instead.

$B$3$3$K(JISMAP$B;HMQK!$NNc$,$"$j$^$9(J
Here is an example of how you use ISMAP:

<a href="/cgibin/navbar.map"><img src=navbar.gif ismap border=0></a>

$B%/%j%C%/$5$l$?0LCV$O!"

$BLuCm(J
$B:BI8$N86E@$,$I$3$+=q$$$F$J$$$G$9$M!#(JMAP$BMWAG$N(J SHAPE $BB0@-$N$H$3$m$K$O!"2hA|>e$N0LCV$r:8>eC<$+$i%T%/%;%k$GB,$k;]$N5-=R$,$"$j$^$9!#(J $B$3$l$GO":?$O?7$7$$(JURL$B$K$*$$$F@.N)$7$^$9!#(J $BNc$($P!"$b$7MxMQ"/cgibin/navbar.map?10,27"$B$H$J$j$^$9!#(J $B2hA|$,2!%\%?%s$K$J$C$F$$$k$3$H$r!"1o$I$j$r=P$5$J$/$7$?$j!"$o$+$j$d$9$$I=8=7A<0$K$7$FEA$($k$N$O!"0lHLE*$K$h$$9M$($G$9!#(J
The location clicked is passed to the server as follows. The user agent derives a new URL from the URL specified by the HREF attribute by appending `?' the x coordinate `,' and the y coordinate of the location in pixels. The link is then followed using the new URL. For instance, if the user clicked at at the location x=10, y=27 then the derived URL will be: "/cgibin/navbar.map?10,27". It is generally a good idea to suppress the border and use graphical idioms to indicate that the image is clickable.

$B%T%/%;%kCM$O%9%/%j!<%s%T%/%;%k$r;2>H$9$k$?$a!"%l!<%6!<%W%j%s%?$N$h$&$JHs>o$K9b$$2rA|EY$N5!4o$GIA Note that pixel values refer to screen pixels, and should be multiplied by an appropriate factor when rendering to very high resolution devices such as laser printers. For instance if a user agent has a display with 75 pixels per inch and is rendering to a laser printer with 600 dots per inch, then the pixel values given in HTML attributes should be multiplied by a factor of 8.

APPLET (Java Applets)

<!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 --
    >

$B3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#(J $B$3$NMWAG$O!"A4$F$N(J Java $BBP1~%V%i%&%6$K$h$C$F07$o$l$^$9!#(J $B$3$l$K$h$C$F!"(J HTML $BJ8=q$K(J Java $B%"%W%l%C%H$rKd$a9~$a$k$h$&$K$J$j$^$9!#(J APPLET $B$O%"%W%l%C%H$KJQ?t$rEO$9$?$a$K7k$SIU$$$F$$$k(JPARAM$BMWAG$r;H$$$^$9!#(J PARAM $BMWAG$N8e$K$/$k(J APPLET $BMWAG$NFbMF$K$O!"(JJava $B$r07$o$J$$%f!<%6%(!<%8%'%s%H$N$?$a!"%"%W%l%C%H$NBe$o$j$K$J$k$b$N$rMQ0U$7$F$*$/$Y$-$G$9!#(J $B$3$l$O(J DTD $B$G(J %text $BJ,$J(J HTML $B%3!<%I$rL5;k$7$^$9!#(J $B$3$l$O!"F0$$$F$$$k%"%W%l%C%H$N35MW$r<($9$?$a$K!"%"%W%l%C%H$,9T$J$&$3$H$r@bL@$7$F$$$kJ8>O$H$H$b$K;H$&$3$H$b$G$-$^$9!#(J $B$3$NNN0h$NB>$N;H$$J}$H$7$F$O!"(J Java$B$rCN$i$J$$%V%i%&%6$K$H$C$F$h$jLrN)$D%Z!<%8$X$NO":?$+(J Java$BBP1~%V%i%&%6$r;}$?$J$$$3$H$GMxMQO$rCV$/$3$H$,9M$($i$l$^$9!#(J
Requires start and end tags. This element is supported by all Java enabled browsers. It allows you to embed a Java applet into HTML documents. APPLET uses associated PARAM elements to pass parameters to the applet. Following the PARAM elements, the content of APPLET elements should be used to provide an alternative to the applet for user agents that don't support Java. It is restricted to text-level markup as defined by the %text entity in the DTD. Java-compatible browsers ignore this extra HTML code. You can use it to show a snapshot of the applet running, with text explaining what the applet does. Other possibilities for this area are a link to a page that is more useful for the Java-ignorant browser, or text that taunts the user for not having a Java-compatible browser.

$B$3$3$K4JC1$J(JJava$B%"%W%l%C%H$NNc$,$"$j$^$9(J
Here is a simple example of a Java applet:

    <applet code="Bubbles.class" width=500 height=500>
    Java applet that draws animated bubbles.
    </applet>

$B$3$3$K(JPARAM$BMWAG$r;H$&JL$NNc$,$"$j$^$9(J
Here is another one using a PARAM element:

    <applet code="AudioItem" width=15 height=15>
    <param name=snd value="Hello.au|Welcome.au">
    Java applet that plays a welcoming sound.
    </applet>
codebase = codebaseURL
$B$3$l$ODI2C$G$-$kB0@-$G%"%W%l%C%H$N4pHW(JURL$B(!(!%"%W%l%C%H$N%3!<%I$,F~$C$F$$$k3,AX$b$7$/$O%U%)%k%@(!(!$r;XDj$7$^$9!#$3$NB0@-$,Dj$a$i$l$F$$$J$$>l9g$O!"$=$NJ8=q$N(JURL$B$,;HMQ$5$l$^$9!#(J
This optional attribute specifies the base URL of the applet -- the directory or folder that contains the applet's code. If this attribute is not specified, then the document's URL is used.

code = appletFile
$B$3$l$OI,MW$JB0@-$G!"%"%W%l%C%H$N%3%s%Q%$%k$5$l$?(JApplet subclass$B$,F~$C$F$$$k%U%!%$%k$NL>A0$rM?$($^$9!#$3$N%U%!%$%k$O%"%W%l%C%H$N4pHW(JURL$B$K$D$$$FAjBPE*$G$9!#@dBPE*$G$"$k$3$H$O$G$-$^$;$s!#(J
This required attribute gives the name of the file that contains the applet's compiled Applet subclass. This file is relative to the base URL of the applet. It cannot be absolute.

alt = alternateText
$B$3$l$ODI2C$G$-$kB0@-$G!"%V%i%&%6$,(JAPPLET$B%?%0$rM}2r$9$k$1$l$I$b(JJava$B%"%W%l%C%H$,Av$i$J$$>l9g$KI=<($5$l$k$Y$-J8>O$r;XDj$7$^$9!#(J
This optional attribute specifies any text that should be displayed if the browser understands the APPLET tag but can't run Java applets.

name = appletInstanceName
$B$3$l$ODI2C$G$-$kB0@-$G!"F1$8%Z!<%8$K$"$k%"%W%l%C%H$,$*8_$$$r8+$D$1!"8r?.$G$-$k$h$&$K$9$k%"%W%l%C%H%$%s%9%?%s%9$NL>A0$r;XDj$7$^$9!#(J
This optional attribute specifies a name for the applet instance, which makes it possible for applets on the same page to find (and communicate with) each other.

width = pixels
height = pixels
$B$3$l$i$OI,MW$JB0@-$G!"%"%W%l%C%H$,I=<($5$l$kNN0h$NEv=i$NI}$H9b$5$r%T%/%;%k;XDj$7$^$9!#%"%W%l%C%H$,;}$C$F$/$kAk$dBPOC%\%C%/%9$O7W;;$K$$$l$^$;$s!#(J
These required attributes give the initial width and height (in pixels) of the applet display area, not counting any windows or dialogs that the applet brings up.

align = alignment
$B$3$NB0@-$G%"%W%l%C%H$NG[Ns$r;XDj$7$^$9!#$3$NB0@-$O(JIMG$BMWAG$K$"$k$b$N$HA4$/F1MM$KDj5A$5$l$^$9!#;H$($kCM$O(Jtop,middle,bottom,left,right$B$N(J5$B$D$G$9!#;XDj$r>JN,$9$k$H!"(Jbottom$B$K$J$j$^$9!#(J
This attribute specifies the alignment of the applet. This attribute is defined in exactly the same way as the IMG element. The permitted values are: top, middle, bottom, left and right. The default is bottom.

vspace = pixels
hspace = pixels
$B$3$l$i$ODI2C$G$-$kB0@-$G!"%"%W%l%C%H$N>e2<(J(VSPACE)$B$HN>OF(J(HSPACE)$B$N6u$-6q9g$r;XDj$7$^$9!#(JIMG$BMWAG$N(JVSPACE,HSPACE$BB0@-$HF1MM$K07$o$l$^$9!#(J
These optional attributes specify the number of pixels above and below the applet (VSPACE) and on each side of the applet (HSPACE). They're treated the same way as the IMG element's VSPACE and HSPACE attributes.

PARAM$BMWAG$O%"%W%l%C%H$KJQ?t$rEO$9$N$K;H$o$l$^$9(J
The PARAM element is used to pass named parameters to applet:

   <PARAM NAME = appletParameter VALUE = value>

PARAM$BMWAG$O%"%W%l%C%HFC@-JQ?t$r;XDj$9$kM#0l$NJ}K!$G$9!#%"%W%l%C%H$O(J getParameter()$B%a%=%C%I$G$NJQ?t$KBP$9$kMxMQ PARAM elements are the only way to specify applet-specific parameters. Applets read user-specified values for parameters with the getParameter() method.

name = applet parameter name
value = parameter value

&eacute;$B$d(J&#185;$B$J$I$H$$$C$?(JSGML$B;z SGML character entities such as &eacute; and &#185; are expanded before the parameter value is passed to the applet. To include an & character use &amp;.

$BCm0U!!(JNote: PARAM$BMWAG$O(JAPPLET$BMWAG$NFbMF$N:G=i$KCV$+$l$k$Y$-$G$9!#$3$l$O(JSGML$B:.9gFbMF7ABV$K$*$1$k@lLgE*;v9`$N0Y$N(J DTD$B$N0lIt$H$7$F$O;XDj$5$l$F$$$^$;$s!#(J
PARAM elements should be placed at the start of the content for the APPLET element. This is not specified as part of the DTD due to technicalities with SGML mixed content models.

$B;zBN(J
FONT

<!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" --
    >

$B3+;O%?%0$H=*N;%?%0$,I,MW$G$9!#(J $B$3$l$GO$N3h;z$NBg$-$5$^$?$O?'!"$"$k$$$O$=$NN>J}$r@Z$jBX$($i$l$k$h$&$K$J$j$^$9!#(J $BB0@-$O!"(J SIZE $B$H(J COLOR $B$N(J2$B$D$G$9!#(J $B3h;z$NBg$-$5$O!"%]%$%s%H%5%$%:$J$I$X$ND>@\$N%^%C%T%s%0$r;}$?$J$$MxMQ Requires start and end tags. This allows you to change the font size and/or color for the enclosed text. The attributes are: SIZE and COLOR. Font sizes are given in terms of a scalar range defined by the user agent with no direct mapping to point sizes etc. The FONT element may be phased out in future revisions to HTML.

size
$B$3$l$O(JFONT$BMWAG$NFbMF$K$h$C$F!"3h;z$NBg$-$5$rD4@0$7$^$9!#(J $B3h;z$NBg$-$5$r!"(J1$B$+$i(J7$B$^$G$N@0?t$NCM$G@dBP;XDj$9$k$+!"(Jsize="+1"$B$^$?$O(Jsize="-2"$B$N$h$&$K@5Ii5-9f$D$-@0?tCM$GAjBP;XDj$G$-$^$9!#(J $B$3$N@5Ii5-9f$D$-@0?tCM$r!"(JBASEFONT $BMWAG$K$h$C$F@_Dj$5$l$?$=$N$H$-$N4pK\E*$J3h;z$NBg$-$5$N;XDjCM$K2C$($?Bg$-$5$N3h;z$K$J$j$^$9!#2<5-$N$H$*$j!#(J
This sets the font size for the contents of the font element. You can set size to an integer ranging from 1 to 7 for an absolute font size, or specify a relative font size with a signed integer value, e.g. size="+1" or size="-2". This is mapped to an absolute font size by adding the current base font size as set by the BASEFONT element (see below).
color
$BJ8>O$K?'$r$D$1$^$9!#(J $B?'$O!"(J16$B?J?tI=5-$K$h$k(J RGB $B$H$7$F!"$"$k$$$O(JBODY$BMWAG$N(J BGCOLOR $BB0@-$K$D$$$FDj$a$i$l$F$$$k(J16 $B$N9-$/M}2r$5$l$?(J$B?'L>A0(J$B$N#1$D$H$7$FM?$($i$l$^$9!#(J
Used to set the color to stroke the text. Colors are given as RGB in hexadecimal notation or as one of 16 widely understood color names defined as per the BGCOLOR attribute on the BODY element.

$B%f!<%6%(!<%8%'%s%H$NCf$K$O!"M%@h=g$K%3%s%^$G6h@Z$i$l$?3h;zL>$N0lMw$rA0$N$b$N$rC5$7$F$-$^$9!#(J FACE $B$O(J HTML 3.2 $B$K$O$"$j$^$;$s!#(J

$BLuCm(J
Microsoft$B$N(JHTML$B%(%G%#%?$r;H$&$H!"<+F0E*$K(JFACE$B$,A^F~$5$l$F$7$^$&$3$H$,$"$j$^$9!#F1;~$KJ8=q7?@k8@$bF~$l$F$/$l$^$9$,!"(J<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML/EN">$B$G$O(JHTML2.0$BAjEv$H$J$j$^$9!#(J
Some user agents also support a FACE attribute which accepts a comma separated list of font names in order of preference. This is used to search for an installed font with the corresponding name. FACE is not part of HTML 3.2.

$B0J2<$K3h;z$NBg$-$5$r@dBP;XDj$7$?7k2L$r<($7$^$9(J
The following shows the effects of setting font to absolute sizes:

size=1 size=2 size=3 size=4 size=5 size=6 size=7

$B0J2<$K4pK\E*$J3h;z$NBg$-$5$r(J3$B$H$7$?>e$GAjBP;XDj$7$?7k2L$r<($7$^$9(J
The following shows the effect of relative font sizes using a base font size of 3:

size=-4 size=-3 size=-2 size=-1 size=+1 size=+2 size=+3 size=+4

$B4pK\E*$J3h;z$NBg$-$5$r(J6$B$H$7$FF1$8;XDj$r$7$?7k2L$G$9(J
The same thing with a base font size of 6:

size=-4 size=-3 size=-2 size=-1 size=+1 size=+2 size=+3 size=+4

$B4pK\;zBN(J
BASEFONT

<!ELEMENT BASEFONT - O EMPTY    -- base font size (1 to 7) -->
<!ATTLIST BASEFONT
    size    CDATA   #IMPLIED    -- e.g. size=4, defaults to 3 --
    >

$B3h;z$N4pK\E*$JBg$-$5$r@_Dj$7$^$9!#(JBASEFONT$B$O6uMWAG$J$N$G!"=*N;%?%0$O=P$F$-$^$;$s!#(JSIZE$BB0@-$O(J1$B$+$i(J7$B$^$G$N@0?t$rCM$Ko$NJ8>O$*$h$S3d$jIU$1:Q$_J8>O$KE,MQ$5$l$^$9!#$?$@$7!"AjBP;XDj$7$?(JFONT$BMWAG$r;H$C$F3h;z$NBg$-$5$rJQ99$9$k>l9g$K$O!"8+=P$7$K$D$$$F$bM-8z$G$9!#(J
Used to set the base font size. BASEFONT is an empty element so the end tag is forbidden. The SIZE attribute is an integer value ranging from 1 to 7. The base font size applies to the normal and preformatted text but not to headings, except where these are modified using the FONT element with a relative font size.

$B2~9T(J
BR

$B6/@)2~9T$rF~$l$^$9!#$3$l$O6uMWAG$J$N$G!"=*N;%?%0$O=P$F$-$^$;$s!#(JCLEAR $BB0@-$r;H$C$F!"2s$j9~$^$;$?2hA|$NN>OF$KM>Gr$r$H$k$3$H$,$G$-$^$9!#(J<BR CLEAR=LEFT>$B$GD>A0$N2s$j9~$_2hA|$N:8B&$KM>Gr$r@_$1!"(J <BR CLEAR=RIGHT>$B$G2s$j9~$_2hA|$N1&B&$KM>Gr$r@_$1!"$=$7$F(J<BR CLEAR=ALL>$B$G$=$N$h$&$J2hA|$N:81&N>B&$KM>Gr$r@_$1$^$9!#(J
Used to force a line break. This is an empty element so the end tag is forbidden. The CLEAR attribute can be used to move down past floating images on either margin. <BR CLEAR=LEFT> moves down past floating images on the left margin, <BR CLEAR=RIGHT> does the same for floating images on the right margin, while <BR CLEAR=ALL> does the same for such images on both left and right margins.

$BK,Ld MAP

MAP $BMWAG$O!"K,Lde$N(J AREA $BMWAG$r4^$_$^$9!#(J
The MAP element provides a mechanism for 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. The MAP element requires start and end tags. It contains one or more AREA elements that specify hotzones on the associated image and bind these hotzones to URLs.

<!ENTITY % SHAPE "(rect|circle|poly)">
<!ENTITY % COORDS "CDATA" -- comma separated list of numbers -->

<!ELEMENT MAP - - (AREA)+>
<!ATTLIST MAP
    name    CDATA   #REQUIRED
    >

<!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 --
    >

$B$3$3$K2hA|<0M6F3%9%$%C%ANs$N4JC1$JNc$,$"$j$^$9(J
Here is a simple example for a graphical navigational toolbar:

<img src="navbar.gif" border=0 usemap="#map1">

<map name="map1">
 <area href=guide.html alt="Access Guide" shape=rect coords="0,0,118,28">
 <area href=search.html alt="Search" shape=rect coords="184,0,276,28">
 <area href=shortcut.html alt="Go" shape=rect coords="118,0,184,28">
 <area href=top10.html alt="Top Ten" shape=rect coords="276,0,373,28">
</map>

MAP $BMWAG$K$OB0@-$,(J1$B$D$"$j$^$9!#CO?^$NL>A0$r$D$1$k(J NAME $B$G$9!#(J $B$3$l$O(J URL $B4z$D$-<1JL;R$K$h$jCO?^$r;2>H$9$k$?$a$K!"(J IMG $BMWAG$N(J USEMAP $BB0@-$K$h$C$F;H$o$l$^$9!#(J NAME $BB0@-$NCM$,BgJ8;z!&>.J8;z$r6hJL$9$k$3$H$KCm0U$7$F$/$@$5$$!#(J
The MAP element has one attribute NAME which is used to associate a name with a map. This is then used by the USEMAP attribute on the IMG element to reference the map via a URL fragment identifier. Note that the value of the NAME attribute is case sensitive.

AREA $BMWAG$O6uMWAG$J$N$G!"=*N;%?%0$O=P$F$-$^$;$s!#(J SHAPE $B$H(J COORDS $B$H(J HREF $B$H(J NOHREF $B$H(J ALT $B$N(J5$B$D$rB0@-$KJN,$5$l$F$$$k$H!"(J SHAPE= RECT $B$,A[Dj$5$l$^$9!#(J
The AREA element is an empty element and so the end tag is forbidden. It takes the following attributes: SHAPE, COORDS, HREF, NOHREF and ALT. The SHAPE and COORDS attributes define a region on the image. If the SHAPE attribute is omitted, SHAPE="RECT" is assumed.

shape=rect coords="left-x, top-y, right-x, bottom-y"

shape=circle coords="center-x, center-y, radius"

shape=poly coords="x1,y1, x2,y2, x3,y3, ..."

$B2hA|>e$N(Jxy$B:BI8$O:8>eC<$+$iB,$C$?%T%/%;%k?t$GI=$o$5$l$^$9!##xCM$H(J y $BCM$,!J%T%/%;%k?t$G$J$/!K%Q!<%;%s%HId9f$D$-$GM?$($i$l$k>l9g$O!"$=$NCM$O!"2hA|$N9-$5$H9b$5$KBP$9$kI4J,N($H2r Where x and y are measured in pixels from the left/top of the associated image. If x and y values are given with a percent sign as a suffix, the values should be interpreted as percentages of the image's width and height, respectively. For example:

   SHAPE=RECT COORDS="0, 0, 50%, 100%"

HREF $BB0@-$O!"D6O":?$N9T@h$H$J$k(J URL $B$rM?$($^$9!#(J $B2!%\%?%s$H$7$FF/$+$J$$NN0h$rDj5A$7$?$$$H$-$O!"(J NOHREF $BB0@-$r;HMQ$7$^$9!#(J $B$3$l$O!"4pK\E*$K2!%\%?%s$H$7$FF/$$$F$$$kNN0h$K!"7j$r3+$1$?$$$H$-$K$OJXMx$G$9!#(J
The HREF attribute gives a URL for the target of the hypertext link. The NOHREF attribute is used when you want to define a region that doesn't act as a hotzone. This is useful when you want to cut a hole in an underlying region acting as a hotzone.

2$B$D0J>e$NNN0h$,=E$J$j9g$&$h$&$J>l9g$K$O!"CO?^Dj5A$G:G=i$KDj5A$5$l$?NN0h$,!"$C$F!"(JNOHREF$B$N$D$$$?(J AREA $BMWAG$O0lHLE*$K!"(J HREF $BB0@-$N$"$k$b$N$h$jA0$KCV$/$Y$-$@$H$$$&$3$H$K$J$j$^$9!#(J
If two or more regions overlap, the region defined first in the map definition takes precedence over subsequent regions. This means that AREA elements with NOHREF should generally be placed before ones with the HREF attribute.

ALT $BB0@-$O!"2!%\%?%s$N>e$r%^%&%9$+B>$N%]%$%s%F%#%s%0%G%P%$%9$,0\F0Cf$K%9%F!<%?%9%i%$%s$KI=<($5$l$k!"0?$$$O2hA|$rI=<($7$J$$%f!<%6%(!<%8%'%s%H$N$?$a$NIJ=q$-$r9=@.$9$kJ8>O$rMQ0U$7$^$9!#(J $B2;@e$2<0$^$?$O%F%-%9%H$N$_$rI=<($9$k%f!<%6%(!<%8%'%s%H$H$N8r?.$N$?$a!"0UL#$N$"$k(J ALT $BB0@-$rMQ0U$9$k$3$H$,6/$/4+$a$i$l$^$9!#(J
The ALT attribute is used to provide text labels which can be displayed in the status line as the mouse or other pointing device is moved over hotzones, or for constructing a textual menu for non-graphical user agents. Authors are strongly recommended to provide meaningful ALT attributes to support interoperability with speech-based or text-only user agents.


HTML3.2$B$N(JSGML$B8x3+%+%?%m%0Nc(J
Sample SGML Open Catalog for HTML 3.2

$B$3$l$O%U%!%$%k$,(J HTML 3.2 DTD $B$K=`5r$7$F$$$k$3$H$r3N$+$a$k$?$a$K!"(J nsgmls $B$N$h$&$J(J SGML $B%Q!<%5!<$H$H$b$K;HMQ$9$k$3$H$,$G$-$^$9!#(J DTD $B$,%U%!%$%k!X(J HTML32.dtd $B!Y$H$7$F!"%i%F%s#1 This can be used with an SGML parser like nsgmls to verify that files conform to the HTML 3.2 DTD. It assumes that the DTD has been saved as the file "HTML32.dtd" and that the Latin-1 entities are in the file "ISOlat1.ent".

-- html32.soc: HTML 3.2$BJ8=q8!>Z%+%?%m%0(Jcatalog for parsing HTML 3.2 documents --
SGMLDECL "HTML32.dcl"
PUBLIC "-//W3C//DTD HTML 3.2 Final//EN" HTML32.dtd
PUBLIC "-//W3C//DTD HTML 3.2 Draft//EN" HTML32.dtd
PUBLIC "-//W3C//DTD HTML 3.2//EN" HTML32.dtd
PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML" ISOlat1.ent

HTML3.2$B$N(JSGML$B@k8@(J
SGML Declaration for HTML 3.2

$B$3$l$O#8%S%C%H9q:]I8=`2=5!9=%i%F%s#1J8;z%;%C%H$r;H$$$^$9!#(J $BJ8;z?t$d%?%0L>$N$h$&$JFC@-$N>e8BCM$O!"(JHTML 2.0$B$N$b$N$+$i$O$+$J$jA}2C$7$F$$$^$9$,!"%f!<%6%(!<%8%'%s%H$O6KC<$KD9$$$b$N$r2!$7IU$1$i$l$J$$$h$&$K$9$k$3$H$,?dA&$5$l$^$9!#(J
This uses the 8 bit ISO Latin-1 character set. The size limits on properties like literals and tag names have been considerably increased from their HTML 2.0 values, but it is recommended that user agents avoid imposing arbitrary length limits.

<!SGML  "ISO 8879:1986"
   --
        $BD61[=qN`I=5-K!Bh(J3.2$BHG$N(JSGML$B@k8@(J
        SGML Declaration for HyperText Markup Language version 3.2

        $B9q:]I8=`2=5!9=%i%F%s#1$*$h$SA}2C$7$?(J
        $B%?%0L>$dJ8;z?t$J$I$N>e8B$r4^$`(J
        With support for ISO Latin-1 and increased limits
        for tag and literal lengths etc.
   --

   CHARSET
         BASESET  "ISO 646:1983//CHARSET
                   International Reference Version
                   (IRV)//ESC 2/5 4/0"
         DESCSET  0   9   UNUSED
                  9   2   9
                  11  2   UNUSED
                  13  1   13
                  14  18  UNUSED
                  32  95  32
                  127 1   UNUSED
         BASESET  "ISO Registration Number 100//CHARSET
                   ECMA-94 Right Part of
                   Latin Alphabet Nr. 1//ESC 2/13 4/1"
         DESCSET  128  32   UNUSED
                  160  96    32

   CAPACITY   SGMLREF
              TOTALCAP        200000
              GRPCAP          150000
              ENTCAP          150000

   SCOPE    DOCUMENT
   SYNTAX
      SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
              17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 127
      BASESET  "ISO 646:1983//CHARSET
                International Reference Version
                (IRV)//ESC 2/5 4/0"
      DESCSET  0 128 0

      FUNCTION
              RE            13
              RS            10
              SPACE         32
              TAB SEPCHAR    9

      NAMING   LCNMSTRT ""
               UCNMSTRT ""
               LCNMCHAR ".-"
               UCNMCHAR ".-"
               NAMECASE GENERAL YES
                        ENTITY  NO
      DELIM    GENERAL  SGMLREF
               SHORTREF SGMLREF
      NAMES    SGMLREF
      QUANTITY SGMLREF
               ATTSPLEN 65536
               LITLEN   65536
               NAMELEN  65536
               PILEN    65536
               TAGLVL   100
               TAGLEN   65536
               GRPGTCNT 150
               GRPCNT   64

   FEATURES
     MINIMIZE
       DATATAG  NO
       OMITTAG  YES
       RANK     NO
       SHORTTAG YES
     LINK
       SIMPLE   NO
       IMPLICIT NO
       EXPLICIT NO
     OTHER
       CONCUR   NO
       SUBDOC   NO
       FORMAL   YES
   APPINFO      NONE
>

HTML 3.2$BJ8=q7?Dj5A(J
HTML 3.2 Document Type Definition

$BLuCm(J
$BMxMQ>e$NJX59$N$?$a$K!"%3%a%s%HItJ,$NLuJ8$rE:$($^$7$?!#$7$+$7$3$NF|K\8l$NItJ,$O!"(JDTD$B$,M=Dj$7$F$$$J$$$b$N$J$N$G!">l9g$K$h$C$F$O%(%i!<$N860x$H$J$k$+$bCN$l$^$;$s!#%=%U%H%&%'%"$K$B86J8$N(JHTML DTD$B$r;2>H$9$k$3$H$r$*4+$a$7$^$9!#(J
<!--
        W3C$B$ND61[J8=qI=5-K!Bh(J3.2$BHGJ8=q7?Dj5A$O(JW3C$B2q0w$NEjI<$K$h$jHc=Z$5$l$?!#(J
        W3C$B$K$D$$$F$O(Jhttp://www.w3.org/$B$K$F;2>H$N$3$H(J
        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$B$O!"(J '96$BG/Aa!9$K4+9p$5$l$?0F7o$r(JHTML 2.0 (RFC 1866)$B$K(J
        $BA0(JImported Names =====================================-->

<!ENTITY % Content-Type "CDATA"
        -- RFC1521$B$K$h$k(JMIME$BFbMF.$J$j(Jless than          -->

<!--=================== $BJ8>OI=5-(JText 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)*>

<!-- $B7k2L$H$7$F@8$8$k?'$OA0$b$"$k(J
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

$B$3$l$i$N?'$O85!9!"%&%#%s%I%&%:(JVGA$B%Q%l%C%H$G07$&I8=`(J16$B?'$H$7$FA*$P$l$?(J
 These colors were originally picked as being the standard
 16 colors supported with the Windows VGA palette.
 -->

<!ELEMENT FONT - - (%text)*     -- $B6I=jE*$J3h;z$NJQ99(Jlocal change to font -->
<!ATTLIST FONT
    size    CDATA   #IMPLIED    -- [+]nn e.g. size="+1", size=4 --
    color   CDATA   #IMPLIED    -- 16$B?J?t$K$h$k(J#RRGGBB in hex, $BNc(Je.g. $B@V(Jred: color="#FF0000" --
    >

<!ELEMENT BASEFONT - O EMPTY    -- $B4pK\E*$J3h;z$NBg$-$5(Jbase font size (1 to 7)-->
<!ATTLIST BASEFONT
    size    CDATA   #IMPLIED    -- $BNc(Je.g. size=3 --
    >

<!ELEMENT BR    - O EMPTY    -- $B6/@)2~9T(Jforced line break -->
<!ATTLIST BR
        clear (left|all|right|none) none -- $BJ8>ON.$79~$_@)8f(Jcontrol of text flow --
        >

<!--================== HTML content models ================================-->
<!--
    HTML$B$K$O(J3$B$D$N4pK\E*$JFbMF$N7?$,$"$k(JHTML has three basic content models:

        %text       $BJ8>OMWAG$HJ8;zNs(Jcharacter level elements and text strings
        %flow       $B$^$H$aMWAG!"Nc$($PCJMn$d0lMw$J$I(Jblock-like elements e.g. paragraphs and lists
        %bodytext   %flow$B$K(JH1$B$+$i(JH6$B$^$G$N8+=P$7$H(JADDRESS$B$r2C$($?$b$N(Jas %flow plus headers H1-H6 and ADDRESS
-->

<!ENTITY % block
     "P | %list | %preformatted | DL | DIV | CENTER |
      BLOCKQUOTE | FORM | ISINDEX | HR | TABLE">

<!-- %flow$B$O(JDD$B$H(JLI$B$K;H$o$l$k(J%flow is used for DD and LI -->

<!ENTITY % flow "(%text | %block)*">

<!--=================== $BK\J8(JDocument Body =====================================-->

<!ENTITY % body.content "(%heading | %text | %block | ADDRESS)*">

<!ENTITY % color "CDATA" -- $B?';XDj(Ja 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  -- $BJ8=q$NGX7J$K$9$kJI;f(Jtexture 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 -- $BB3$/J8>O$N@0Ns(Jalignment of following text --
        >

<!-- CENTER$B$O(JALIGN=CENTER$B$,$D$/(JDIV$B$N>JN,7A(JCENTER is a shorthand for DIV with ALIGN=CENTER -->
<!ELEMENT center - - %body.content>

<!--================== $BIEMWAG(JThe Anchor Element =================================-->

<!ELEMENT A - - (%text)* -(A)>
<!ATTLIST A
        name    CDATA   #IMPLIED    -- $BO":?$N=*C<(Jnamed link end --
        href    %URL    #IMPLIED    -- $BO":?$7$?;q:`$N(JURL$B!!(JURL for linked resource --
        rel     CDATA   #IMPLIED    -- $B@5=gO":?4X78(Jforward link types --
        rev     CDATA   #IMPLIED    -- $B5U=gO":?4X78(Jreverse link types --
        title   CDATA   #IMPLIED    -- $B=u8@E*$JI8Bj(Jadvisory title string --
        >

<!--================== $BK,LdD$9$k$?$a$K;HMQ$5$l$k!#(J
      align=left $B$d(J align=right $B$O2hA|$rG[CV$7!"B3$/J8>O$r1GA|$N$^$o$j$XN.$79~$`$h$&$KF/$/(J
     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 --  $BKd9~$_2hA|(JEmbedded image -->
<!ATTLIST IMG
        src     %URL     #REQUIRED  -- $BKd9~$`2hA|$N>l=j(JURL of image to embed --
        alt     CDATA    #IMPLIED   -- $B2hA|$NBe$o$j$K$J$kI=<((Jfor display in place of image --
        align   %IAlign  #IMPLIED   -- $B=D!&2#G[Ns(Jvertical or horizontal alignment --
        height  %Pixels  #IMPLIED   -- $B9b$5$r%T%/%;%k?t$G;X<((Jsuggested height in pixels --
        width   %Pixels  #IMPLIED   -- $BI}$r%T%/%;%k?t$G;X<((Jsuggested width in pixels --
        border  %Pixels  #IMPLIED   -- $BO":?OH@~$N;X<((Jsuggested link border width --
        hspace  %Pixels  #IMPLIED   -- $BDs0F$5$l$??eJ?$N9B(Jsuggested horizontal gutter --
        vspace  %Pixels  #IMPLIED   -- $BDs0F$5$l$?=DJ}8~$N9B(Jsuggested vertical gutter --
        usemap  %URL     #IMPLIED   -- $B%/%i%$%"%s%H(J-$BB&1GA|%^%C%W;HMQ(Juse client-side image map --
        ismap   (ismap)  #IMPLIED   -- $B%5!<%P1GA|%^%C%W;HMQ(Juse server image map --
        >

<!--  USEMAP $B$O$=$NJ8=q$+30It$NJ8=q$K$"$k$+$b$7$l$J$$(J MAP $BMWAG$r<($9$,!"(J
   $B8eo!"$=$NJ8=q$N(JURL$B!J$"$k$$$ODj5A$5$l$F$$$k(J
<BASE>$BMWAG!K$KBP$7$FAjBPE*$KFI$_9~$^$l$k!#(J
CODEBASE $BB0@-$O!";XDj$r>JN,$7$?>l9g$N$3$N$U$k$^$$$r@Z$jBX$($k$?$a$K;HMQ$5$l$k!#(J
$B$b$7(J CODEBASE $BB0@-$,Dj5A$5$l$k$J$i$P!"$=$l$O%"%W%l%C%H%j%=!<%9$r8+$D$1$k$?$a$N(J
$B0[$J$k>l=j$r;XDj$9$k!#(J
$BCM$O!"@dBP(J URL $B$+AjBP(JURL $B$K$9$k$3$H$,$G$-$k!#(J
$B@dBP(J URL $B$O=$@5$J$7$G$=$N$^$^;HMQ$5$l!"J8=q$N(J lt;BASE>$BMWAG$K$h$C$F1F6A$5$l$J$$!#(J
 codebase $BB0@-$,AjBPE*$G$"$k$J$i$P!"$=$l$OJ8=q(J URL$B!J(J  $B$^$?$O!"$b$7Dj5A$5$l$k$J$i$P(J 
 lt;BASE>$B!K$+$iAjBPE*$G$"$k!#(J
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   -- $B%"%W%l%C%H$NBe$o$j$K$J$kI=<((Jfor display in place of applet --
        name     CDATA    #IMPLIED   -- $B%"%W%l%C%HL>(Japplet name --
        width    %Pixels  #REQUIRED  -- $BI}$r%T%/%;%k;X<((Jsuggested width in pixels --
        height   %Pixels  #REQUIRED  -- $B9b$5$r%T%/%;%k;X<((Jsuggested height in pixels --
        align    %IAlign  #IMPLIED   -- $B?bD>$^$?$O?eJ?@0Ns(Jvertical or horizontal alignment --
        hspace   %Pixels  #IMPLIED   -- $B2#9B$r;X<((Jsuggested horizontal gutter --
        vspace   %Pixels  #IMPLIED   -- $B=D9B$r;X<((Jsuggested vertical gutter --
        >

<!ELEMENT PARAM - O EMPTY>
<!ATTLIST PARAM
        name    NMTOKEN   #REQUIRED  -- $BJQ?t$NL>(JThe name of the parameter --
        value   CDATA     #IMPLIED   -- $BJQ?t$NCM(JThe 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>
-->

<!--=================== $B2#7S@~!!(JHorizontal Rule ===================================-->

<!ELEMENT HR    - O EMPTY>
<!ATTLIST HR
        align (left|right|center) #IMPLIED
        noshade (noshade) #IMPLIED
        size  %Pixels #IMPLIED
        width %Length #IMPLIED
        >
<!--=================== $BCJMn!!(JParagraphs=========================================-->

<!ELEMENT P     - O (%text)*>
<!ATTLIST P
        align  (left|center|right) #IMPLIED
        >

<!--=================== $B8+=P$7!!(JHeadings ==========================================-->

<!--
 $B8+=P$7$K$O(J H1 ($B=EMWEY:G9b(J)$B$+$i(JH6 ($B=EMWEY:GDc(J)$B$^$G(J6$B$D$NCJ3,$,$"$k(J
  There are six levels of headers from H1 (the most important)
  to H6 (the least important).
-->

<!ELEMENT ( %heading )  - -  (%text;)*>
<!ATTLIST ( %heading )
        align  (left|center|right) #IMPLIED
        >

<!--=================== $B3d$jIU$1:Q$_J8>O!!(JPreformatted Text =================================-->

<!-- $B2hA|$H3h;zBg$-$5$NJQ99$r=|$/!!(Jexcludes images and changes in font size -->

<!ENTITY % pre.exclusion "IMG|BIG|SMALL|SUB|SUP|FONT">

<!ELEMENT PRE - - (%text)* -(%pre.exclusion)>
<!ATTLIST PRE
        width NUMBER #implied -- $B$3$l$O9-HO$K07$o$l$F$$$k!)(Jis this widely supported? --
        >

<![ %HTML.Deprecated [

<!ENTITY % literal "CDATA"
        -- $B$9$Y$F$K$*$$$FI=5-5-9f$,=*N;%?%0$@$1$@$C$?;~Be$N(J
           $B5l$/IT0lCW$JJ,@O%b!<%I(J
           historical, non-conforming parsing mode where
           the only markup signal is the end tag
           in full
        -->

<!ELEMENT (XMP|LISTING) - -  %literal>
<!ELEMENT PLAINTEXT - O %literal>

]]>

<!--=================== $B$^$H$a$F0zMQ!!(JBlock-like Quotes =================================-->

<!ELEMENT BLOCKQUOTE - - %body.content>

<!--=================== $B0lMw!!(JLists =============================================-->

<!--
    HTML 3.2$B$G$OHV9fIU$-0lMw$NO"HV3d$j?6$j$rJQ$($i$l$k$h$&$K$J$C$?!#(J
    $BHV9f$r(JSTART$BB0@-$H(JVALUE$BB0@-$G@_Dj$9$k$3$H$,$G$-$k!#(J
    TYPE$BB0@-$r;H$C$FHV9fIU$-$*$h$SHV9f$J$70lMw$NI=<($r;XDj$G$-$k!#(J
    HTML 3.2 allows you to control the sequence number for ordered lists.
    You can set the sequence number with the START and VALUE attributes.
    The TYPE attribute may be used to specify the rendering of ordered
    and unordered lists.
-->

<!-- $BDj5A0lMw$G$O!"(JDT$B$,MQ8l$G(JDD$B$,$=$NDj5A$r<($9!!(Jdefinition lists - DT for term, DD for its definition -->

<!ELEMENT DL    - -  (DT|DD)+>
<!ATTLIST DL
        compact (compact) #IMPLIED -- $BC;=L7?!!(Jmore compact style --
        >

<!ELEMENT DT - O  (%text)*>
<!ELEMENT DD - O  %flow;>

<!-- $BHV9fIU$-0lMw(JOL$B!"HV9f$J$70lMw(JUL$B!!(JOrdered lists OL, and unordered lists UL -->
<!ELEMENT (OL|UL) - -  (LI)+>

<!--
       $BHV9f5-K!!!(JNumbering style
    1   $B%"%i%S%"?t;z!!(Jarablic numbers     1, 2, 3, ...
    a   $B%"%k%U%!%Y%C%H>.J8;z!!(Jlower alpha         a, b, c, ...
    A   $B%"%k%U%!%Y%C%HBgJ8;z!!(Jupper alpha         A, B, C, ...
    i   $B%m!<%^?t>.J8;z!!(Jlower roman         i, ii, iii, ...
    I   $B%m!<%^?tBgJ8;z!!(Jupper roman         I, II, III, ...

    $BHV9f$D$-0lMw$K$*$1$k:G=i$N9`L\$NHV9f$O@_Dj$r>JN,$9$k$H(J1$B$K%j%;%C%H(J
    $B$5$l$k(J
    The style is applied to the sequence number which by default
    is reset to 1 for the first list item in an ordered list.

    This can't be expressed directly in SGML due to case folding.
-->

<!ENTITY % OLStyle "CDATA" -- constrained to: [1|a|A|i|I] -->

<!ATTLIST OL -- $BHV9fIU$-0lMw!!(Jordered lists --
        type      %OLStyle   #IMPLIED   -- $BHV9f$N%9%?%$%k!!(Jnumbering style --
        start     NUMBER     #IMPLIED   -- $B3+;OHV9f!!(Jstarting sequence number --
        compact  (compact)   #IMPLIED   -- $BC;=L7?!!(Jreduced interitem spacing --
        >

<!-- $B%^!<%/$N7A!!(Jbullet styles -->

<!ENTITY % ULStyle "disc|square|circle">

<!ATTLIST UL -- $BHV9f$J$70lMw!!(Junordered lists --
        type    (%ULStyle)   #IMPLIED   -- $B%^!<%/$N7A!!(Jbullet style --
        compact (compact)    #IMPLIED   -- $BC;=L7?!!(Jreduced interitem spacing --
        >

<!ELEMENT (DIR|MENU) - -  (LI)+ -(%block)>
<!ATTLIST DIR
        compact (compact) #IMPLIED
        >
<!ATTLIST MENU
        compact (compact) #IMPLIED
        >

<!-- <DIR>              $B3,AX0lMw!!(JDirectory list                  -->
<!-- <DIR COMPACT>      $BC;=L7?0lMw!!(JCompact list style              -->
<!-- <MENU>             $B8%N)!!(JMenu list                       -->
<!-- <MENU COMPACT>     $BC;=L7?0lMw!!(JCompact list style              -->

<!-- $BHV9f$J$70lMw$NE@$N7A$HHV9f$D$-0lMw$NHV9f$N7A$r(J
     type$BB0@-$r;H$C$FJQ$($k$3$H$,$G$-$k(J
     The type attribute can be used to change the bullet style
     in unordered lists and the numbering style in ordered lists -->

<!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle|%OLStyle)" -->

<!ELEMENT LI - O %flow -- $B0lMw$N9`L\!!(Jlist item -->
<!ATTLIST LI
        type    %LIStyle     #IMPLIED   -- $B9`L\$N7A!!(Jlist item style --
        value    NUMBER      #IMPLIED   -- $BHV9f$N%j%;%C%H!!(Jreset sequence number --
        >

<!--================ Forms ===============================================-->

<!ELEMENT FORM - - %body.content -(FORM)>
<!ATTLIST FORM
        action %URL #IMPLIED  -- $B%5!<%PB&=q<0%O%s%I%i!!(Jserver-side form handler --
        method (%HTTP-Method) GET -- HTTP$B;EMM=q$r8+$h!!(Jsee HTTP specification --
        enctype %Content-Type; "application/x-www-form-urlencoded"
        >

<!ENTITY % InputType
        "(TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT
            | RESET | FILE | HIDDEN | IMAGE)">

<!ELEMENT INPUT - O EMPTY>
<!ATTLIST INPUT
        type %InputType TEXT     -- $BF~NOCM$NC$r=|$-I,?\!!(Jrequired for all but submit and reset --
        value CDATA   #IMPLIED   -- $B%i%8%*%\%?%s5Z$S%A%'%C%/>#$GI,?\!!(Jrequired for radio and checkboxes --
        checked (checked) #IMPLIED -- $B%i%8%*%\%?%s5Z$S%A%'%C%/>#$G;HMQ!!(Jfor radio buttons and check boxes --
        size CDATA    #IMPLIED   -- $B3F!&?eJ?0LCVB7$(!!(Jvertical or horizontal alignment --
        >

<!ELEMENT SELECT - - (OPTION+)>
<!ATTLIST SELECT
        name CDATA #REQUIRED
        size NUMBER #IMPLIED
        multiple (multiple) #IMPLIED
        >

<!ELEMENT OPTION - O (#PCDATA)*>
<!ATTLIST OPTION
        selected (selected) #IMPLIED
        value  CDATA  #IMPLIED -- $B;XDj$r>JN,$7$?>l9g$OMWAG$NFbMF!!(Jdefaults to element content --
        >

<!-- $BJ#?t9T$N=q$-9~$_Ms!!(JMulti-line text input field. -->

<!ELEMENT TEXTAREA - - (#PCDATA)*>
<!ATTLIST TEXTAREA
        name CDATA #REQUIRED
        rows NUMBER #REQUIRED
        cols NUMBER #REQUIRED
        >

<!--======================= Tables ========================================-->

<!-- Widely deployed subset of the full table standard, see RFC 1942
     e.g. at http://www.ics.uci.edu/pub/ietf/html/rfc1942.txt -->

<!-- $BI=$N2hLL$KBP$9$k?eJ?0LCV9g$o$;!!(Jhorizontal placement of table relative to window -->
<!ENTITY % Where "(left|center|right)">

<!-- $B%;%kFbMF$N?eJ?0LCVB7$(B0@-(Jhorizontal alignment attributes for cell contents -->
<!ENTITY % cell.halign
        "align  (left|center|right) #IMPLIED"
        >

<!-- $B%;%kFbMF$N?bD>!&?eJ?0LCVB7$(B0@-!!(Jvertical alignment attributes for cell contents -->
<!ENTITY % cell.valign
        "valign  (top|middle|bottom)  #IMPLIED"
        >

<!ELEMENT table - - (caption?, tr+)>
<!ELEMENT tr - O (th|td)*>
<!ELEMENT (th|td) - O %body.content>

<!ATTLIST table                       -- $BI=AHMWAG!!(Jtable element --
        align     %Where;   #IMPLIED  -- $BI=$N2hLL$KBP$9$k0LCV;XDj!!(Jtable position relative to window --
        width     %Length   #IMPLIED  -- $BI=$N2hLL$KBP$9$k2#I};XDj!!(Jtable width relative to window --
        border    %Pixels   #IMPLIED  -- $BI=$NOH@~!!(Jcontrols frame width around table --
        cellspacing %Pixels #IMPLIED  -- $B%;%k$H%;%k$N4V3V!!(Jspacing between cells --
        cellpadding %Pixels #IMPLIED  -- $B%;%kFb$N4V3V!!(Jspacing within cells --
        >

<!ELEMENT CAPTION - - (%text;)* -- $BI=$NI8Bj!!(Jtable or figure caption -->
<!ATTLIST CAPTION
        align (top|bottom) #IMPLIED
        >

<!ATTLIST tr                       -- $BI=$NNs!!(Jtable row --
        %cell.halign;              -- $B%;%kFbIt$N?eJ?0LCVB7$(!!(Jhorizontal alignment in cells --
        %cell.valign;              -- $B%;%kFbIt$N?bD>0LCVB7$(!!(Jvertical alignment in cells --
        >

<!ATTLIST (th|td)                  -- $BI=$N8+=P$7$"$k$$$O%G!<%?%;%k!!(Jheader or data cell --
        nowrap (nowrap)  #IMPLIED  -- $B<+F0@^$jJV$76X;_!!(Jsuppress word wrap --
        rowspan NUMBER   1         -- $B?t;zJ,$NNs$^$?$.!!(Jnumber of rows spanned by cell --
        colspan NUMBER   1         -- $B?t;zJ,$N9T$^$?$.!!(Jnumber of cols spanned by cell --
        %cell.halign;              -- $B%;%kFbIt$N?eJ?0LCVB7$(!!(Jhorizontal alignment in cell --
        %cell.valign;              -- $B%;%kFbIt$N?bD>0LCVB7$(!!(Jvertical alignment in cell --
        width   %Pixels  #IMPLIED  -- $B%;%k2#I}4uK>CM!!(Jsuggested width for cell --
        height  %Pixels  #IMPLIED  -- $B%;%k9b$54uK>CM!!(Jsuggested height for cell --
        >

<!--================ $BJ8=q$NF,!!(JDocument Head ========================================-->

<!-- %head.misc defined earlier on as "SCRIPT|STYLE|META|LINK" -->

<!ENTITY % head.content "TITLE & ISINDEX? & BASE?">

<!ELEMENT HEAD O O  (%head.content) +(%head.misc)>

<!ELEMENT TITLE - -  (#PCDATA)* -(%head.misc)
          -- TITLE$BMWAG$OJ8>O$N0lIt$H$O9M$($i$l$J$$(J
            $B$3$l$ONc$($P%Z!<%8%X%C%@$dAk$NI8Bj$J$I$N$h$&$KI=<($5$l$k$Y$-$G$"$k(J
             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.
          -->

<!ELEMENT ISINDEX - O EMPTY>
<!ATTLIST ISINDEX
        prompt CDATA #IMPLIED -- prompt message -->

<!--
    BASE$BMWAG$OAjBP(JURL$B$rJQ49$7$F@dBP(JURL$B$r:n$j=P$9!!Nc$($P(J
    The BASE element gives an absolute URL for dereferencing relative
    URLs, e.g.

         <BASE href="http://foo.com/index.html">
         ...
         <IMG SRC="images/bar.gif">

    $B$3$N2hA|$N0LCV$Oe=q$-$9$k$3$H$,$"$k$+$i$G$"$k(J
   In the absence of a BASE element the document URL should be used.
   Note that this is not necessarily the same as the URL used to
   request the document, as the base URL may be overridden by an HTTP
   header accompanying the document.
-->

<!ELEMENT BASE - O EMPTY>
<!ATTLIST BASE
        href %URL  #REQUIRED
        >

<!ELEMENT META - O EMPTY -- $B0lHLA0CV$->pJs!!(JGeneric Metainformation -->
<!ATTLIST META
        http-equiv  NAME    #IMPLIED  -- HTTP$B1~Ez%X%C%@L>!!(JHTTP response header name  --
        name        NAME    #IMPLIED  -- $BA0CV$->pJsL>!!(Jmetainformation name       --
        content     CDATA   #REQUIRED -- $B4XO">pJs!!(Jassociated information     --
        >

<!-- SCRIPT$B$H(JSTYLE$B$Ol=j$r3NJ]$7$F$*$/$b$N$G$"$k(J
SCRIPT/STYLE are place holders for transition to next version of HTML -->

<!ELEMENT STYLE  - - CDATA -- $B%9%?%$%k>pJs$NCV$->l=j!!(Jplaceholder for style info -->
<!ELEMENT SCRIPT - - CDATA -- $B%9%/%j%W%H$NCV$->l=j!!(Jplaceholder for script statements -->

<!--================ $BJ8=q9=B$!!(JDocument Structure ===================================-->

<!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'">

<![ %HTML.Deprecated [
    <!ENTITY % html.content "HEAD, BODY, PLAINTEXT?">
]]>

<!ENTITY % html.content "HEAD, BODY">

<!ELEMENT HTML O O  (%html.content)>
<!ATTLIST HTML
        %version.attr;
        >

$B%i%F%s(J1$BJ8;z Character Entities for ISO Latin-1


<!-- (C) International Organization for Standardization 1986
     $B$3$NCm0U$,A4$F$N%3%T!<$K4^$a$i$l$k$J$i$P!"(J
     $B=`5r$9$k(J SGML $B%7%9%F%`$H9q:]I8=`2=5!9=(J 8879 $B$GDj$a$i$l$?(J
     $B%"%W%j%1!<%7%g%s$K$*$$$F;HMQ$9$k$?$a$N$"$i$f$k7A<0$K$h$k(J
     $BJ#@=$N5v2D$,G'$a$i$l$k!#(J
     $B$3$l$O(JHTML$B$G$N;HMQ$K$*$$$F!"(J160$B$+$i(J255$B$^$G$N==?J?t$G(J
     $BA4$F$N%3!<%I$r%+%P!<$9$k$?$a$K3HD%$5$l$F$$$k!#(J
     Permission to copy in any form is granted for use with
     conforming SGML systems and applications as defined in
     ISO 8879, provided this notice is included in all copies.
     This has been extended for use with HTML to cover the full
     set of codes in the range 160-255 decimal.
-->
<!-- $BJ8;z&I8(Jregistered sign -->
    <!ENTITY macr   CDATA "&#175;" -- macron -->
    <!ENTITY deg    CDATA "&#176;" -- $B!J29!KEY5-9f(Jdegree sign -->
    <!ENTITY plusmn CDATA "&#177;" -- $B2C8:Id(Jplus-or-minus sign -->
    <!ENTITY sup2   CDATA "&#178;" -- $B>e$D$-(J2superscript two -->
    <!ENTITY sup3   CDATA "&#179;" -- $B>e$D$-(J3superscript three -->
    <!ENTITY acute  CDATA "&#180;" -- $B1T%"%/%;%s%H(Jacute accent -->
    <!ENTITY micro  CDATA "&#181;" -- $B%_%/%m%s5-9f(Jmicro sign -->
    <!ENTITY para   CDATA "&#182;" -- $BCJMn5-9f(Jpilcrow (paragraph sign) -->
    <!ENTITY middot CDATA "&#183;" -- $BCf9u(Jmiddle dot -->
    <!ENTITY cedil  CDATA "&#184;" -- $B%;%G%#!<%f(Jcedilla -->
    <!ENTITY sup1   CDATA "&#185;" -- $B>e$D$-(J1superscript one -->
    <!ENTITY ordm   CDATA "&#186;" -- $B=g=x$N;X<(!JCK@-7A!K(Jordinal indicator, masculine -->
    <!ENTITY raquo  CDATA "&#187;" -- $B1&3Q0zMQId(Jangle quotation mark, right -->
    <!ENTITY frac14 CDATA "&#188;" -- 1/4fraction one-quarter -->
    <!ENTITY frac12 CDATA "&#189;" -- 1/2fraction one-half -->
    <!ENTITY frac34 CDATA "&#190;" -- 3/4fraction three-quarters -->
    <!ENTITY iquest CDATA "&#191;" -- $B5UN)$A5?LdId(Jinverted question mark -->
    <!ENTITY Agrave CDATA "&#192;" -- $BBgJ8;z(J A $B!J=E%"%/%;%s%H5-9fIU!K(Jcapital A, grave accent -->
    <!ENTITY Aacute CDATA "&#193;" -- $BBgJ8;z(J A $B!J1T%"%/%;%s%HIU!K(Jcapital A, acute accent -->
    <!ENTITY Acirc  CDATA "&#194;" -- $BBgJ8;z(J A $B!J6J@^%"%/%;%s%H5-9fIU!K(Jcapital A, circumflex accent -->
    <!ENTITY Atilde CDATA "&#195;" -- $BBgJ8;z(J A $B!J%F%#%k%GIU!K(Jcapital A, tilde -->
    <!ENTITY Auml   CDATA "&#196;" -- $BBgJ8;z(J A $B!J%&%`%i%&%HIU!K(Jcapital A, dieresis or umlaut mark -->
    <!ENTITY Aring  CDATA "&#197;" -- $BBgJ8;z(J A $B!JNXIU!K(Jcapital A, ring -->
    <!ENTITY AElig  CDATA "&#198;" -- $BBgJ8;z(J AE $BFs=EJl2;!J9g;z!K(Jcapital AE diphthong (ligature) -->
    <!ENTITY Ccedil CDATA "&#199;" -- $BBgJ8;z(JC$B!J%;%G%#!<%fIU!K(Jcapital C, cedilla -->
    <!ENTITY Egrave CDATA "&#200;" -- $BBgJ8;z(J E $B!J=E%"%/%;%s%H5-9fIU!K(Jcapital E, grave accent -->
    <!ENTITY Eacute CDATA "&#201;" -- $BBgJ8;z(J E $B!J1T%"%/%;%s%H5-9fIU!K(Jcapital E, acute accent -->
    <!ENTITY Ecirc  CDATA "&#202;" -- $BBgJ8;z(J E $B!J6J@^%"%/%;%s%HIU!K(Jcapital E, circumflex accent -->
    <!ENTITY Euml   CDATA "&#203;" -- $BBgJ8;z(J E$B!J%&%`%i%&%HIU!K(Jcapital E, dieresis or umlaut mark -->
    <!ENTITY Igrave CDATA "&#204;" -- $BBgJ8;z#I!J=E%"%/%;%s%H5-9fIU!K(Jcapital I, grave accent -->
    <!ENTITY Iacute CDATA "&#205;" -- $BBgJ8;z#I!J1T%"%/%;%s%H5-9fIU!K(Jcapital I, acute accent -->
    <!ENTITY Icirc  CDATA "&#206;" -- $BBgJ8;z#I!J6J@^%"%/%;%s%HIU!K(Jcapital I, circumflex accent -->
    <!ENTITY Iuml   CDATA "&#207;" -- $BBgJ8;z#I!J%&%`%i%&%HIU!K(Jcapital I, dieresis or umlaut mark -->
    <!ENTITY ETH    CDATA "&#208;" -- $B%"%$%9%i%s%I$NBgJ8;z(J Eth capital Eth, Icelandic -->
    <!ENTITY Ntilde CDATA "&#209;" -- $BBgJ8;z(J N $B!J%F%#%k%GIU!K(J
capital N, tilde -->
    <!ENTITY Ograve CDATA "&#210;" -- $BBgJ8;z(J O $B!J=E%"%/%;%s%H5-9fIU!K(Jcapital O, grave accent -->
    <!ENTITY Oacute CDATA "&#211;" -- $BBgJ8;z(J O $B!J1T%"%/%;%s%H5-9fIU!K(Jcapital O, acute accent -->
    <!ENTITY Ocirc  CDATA "&#212;" -- $BBgJ8;z(J O $B!J6J@^%"%/%;%s%H5-9fIU!K(Jcapital O, circumflex accent -->
    <!ENTITY Otilde CDATA "&#213;" -- $BBgJ8;z(J O $B!J%F%#%k%GIU!K(Jcapital O, tilde -->
    <!ENTITY Ouml   CDATA "&#214;" -- $BBgJ8;z(J O $B!J%&%`%i%&%HIU!K(Jcapital O, dieresis or umlaut mark -->
    <!ENTITY times  CDATA "&#215;" -- $B>h;;5-9f(Jmultiply sign -->
    <!ENTITY Oslash CDATA "&#216;" -- $BBgJ8;z(J O $B!J%9%i%C%7%eIU!K(Jcapital O, slash -->
    <!ENTITY Ugrave CDATA "&#217;" -- $BBgJ8;z(J U $B!J=E%"%/%;%s%H5-9fIU!K(Jcapital U, grave accent -->
    <!ENTITY Uacute CDATA "&#218;" -- $BBgJ8;z(J U $B!J1T%"%/%;%s%H5-9fIU!K(Jcapital U, acute accent -->
    <!ENTITY Ucirc  CDATA "&#219;" -- $BBgJ8;z(J U $B!J6J@^%"%/%;%s%H5-9fIU!K(Jcapital U, circumflex accent -->
    <!ENTITY Uuml   CDATA "&#220;" -- $BBgJ8;z(J U $B!J%&%`%i%&%HIU!K(Jcapital U, dieresis or umlaut mark -->
    <!ENTITY Yacute CDATA "&#221;" -- $BBgJ8;z(J Y $B!J1T%"%/%;%s%HIU!K(Jcapital Y, acute accent -->
    <!ENTITY THORN  CDATA "&#222;" -- $B%"%$%9%i%s%I$NBgJ8;z(J THORN capital THORN, Icelandic -->
    <!ENTITY szlig  CDATA "&#223;" -- $B%I%$%D8l$N>.J8;z1T(J s $B!J(J sz $B9g;z!K(Jsmall sharp s, German (sz ligature) -->
    <!ENTITY agrave CDATA "&#224;" -- $B>.J8;z(Ja$B!J=E%"%/%;%s%H5-9fIU!K(Jsmall a, grave accent -->
    <!ENTITY aacute CDATA "&#225;" -- $B>.J8;z(Ja$B!J1T%"%/%;%s%H5-9fIU!K(Jsmall a, acute accent -->
    <!ENTITY acirc  CDATA "&#226;" -- $B>.J8;z(Ja$B!J6J@^%"%/%;%s%H5-9fIU!K(Jsmall a, circumflex accent -->
    <!ENTITY atilde CDATA "&#227;" -- $B>.J8;z(Ja$B!J%F%#%k%GIU!K(Jsmall a, tilde -->
    <!ENTITY auml   CDATA "&#228;" -- $B>.J8;z(Ja$B!J%&%`%i%&%HIU!K(Jsmall a, dieresis or umlaut mark -->
    <!ENTITY aring  CDATA "&#229;" -- $B>.J8;z(Ja$B!JNXIU!K(Jsmall a, ring -->
    <!ENTITY aelig  CDATA "&#230;" -- $B>.J8;z(J ae $BFs=EJl2;!J9g;z!K(Jsmall ae diphthong (ligature) -->
    <!ENTITY ccedil CDATA "&#231;" -- $B>.J8;z(J c$B!J%;%G%#!<%fIU!K(Jsmall c, cedilla -->
    <!ENTITY egrave CDATA "&#232;" -- $B>.J8;z$N(J e $B!J=E%"%/%;%s%H5-9fIU!K(Jsmall e, grave accent -->
    <!ENTITY eacute CDATA "&#233;" -- $B>.J8;z$N(J e $B!J1T%"%/%;%s%H5-9fIU!K(Jsmall e, acute accent -->
    <!ENTITY ecirc  CDATA "&#234;" -- $B>.J8;z$N(J e $B!J6J@^%"%/%;%s%H5-9fIU!K(Jsmall e, circumflex accent -->
    <!ENTITY euml   CDATA "&#235;" -- $B>.J8;z$N(J e $B!J%&%`%i%&%HIU!K(Jsmall e, dieresis or umlaut mark -->
    <!ENTITY igrave CDATA "&#236;" -- $B>.J8;z$N(J i $B!J=E%"%/%;%s%H5-9fIU!K(Jsmall i, grave accent -->
    <!ENTITY iacute CDATA "&#237;" -- $B>.J8;z$N(J i $B!J1T%"%/%;%s%H5-9fIU!K(Jsmall i, acute accent -->
    <!ENTITY icirc  CDATA "&#238;" -- $B>.J8;z$N(J i $B!J6J@^%"%/%;%s%H5-9fIU!K(Jsmall i, circumflex accent -->
    <!ENTITY iuml   CDATA "&#239;" -- $B>.J8;z$N(J i $B!J%&%`%i%&%HIU!K(Jsmall i, dieresis or umlaut mark -->
    <!ENTITY eth    CDATA "&#240;" -- $B%"%$%9%i%s%I$N>.J8;z(J eth$B!!(Jsmall eth, Icelandic -->
    <!ENTITY ntilde CDATA "&#241;" -- $B>.J8;z(J n$B!J%F%#%k%GIU!K(Jsmall n, tilde -->
    <!ENTITY ograve CDATA "&#242;" -- $B>.J8;z(J o$B!J=E%"%/%;%s%H5-9fIU!K(Jsmall o, grave accent -->
    <!ENTITY oacute CDATA "&#243;" -- $B>.J8;z(J o$B!J1T%"%/%;%s%H5-9fIU!K(Jsmall o, acute accent -->
    <!ENTITY ocirc  CDATA "&#244;" -- $B>.J8;z(J o$B!J6J@^%"%/%;%s%H5-9fIU!K(Jsmall o, circumflex accent -->
    <!ENTITY otilde CDATA "&#245;" -- $B>.J8;z(J o$B!J%F%#%k%GIU!K(Jsmall o, tilde -->
    <!ENTITY ouml   CDATA "&#246;" -- $B>.J8;z(J o$B!J%&%`%i%&%HIU!K(Jsmall o, dieresis or umlaut mark -->
    <!ENTITY divide CDATA "&#247;" -- $B=|;;5-9f(Jdivide sign -->
    <!ENTITY oslash CDATA "&#248;" -- $B>.J8;z(J o$B!J.J8;z(J u $B!J=E%"%/%;%s%H5-9fIU!K(Jsmall u, grave accent -->
    <!ENTITY uacute CDATA "&#250;" -- $B>.J8;z(J u $B!J1T%"%/%;%s%H5-9fIU!K(Jsmall u, acute accent -->
    <!ENTITY ucirc  CDATA "&#251;" -- $B>.J8;z(J u $B!J6J@^%"%/%;%s%H5-9fIU!K(Jsmall u, circumflex accent -->
    <!ENTITY uuml   CDATA "&#252;" -- $B>.J8;z(J u $B!J%&%`%i%&%HIU!K(Jsmall u, dieresis or umlaut mark -->
    <!ENTITY yacute CDATA "&#253;" -- $B>.J8;z(J y $B!J1T%"%/%;%s%H5-9fIU!K(Jsmall y, acute accent -->
    <!ENTITY thorn  CDATA "&#254;" -- $B%"%$%9%i%s%I$N>.J8;z(J thorn$B!!(Jsmall thorn, Icelandic -->
    <!ENTITY yuml   CDATA "&#255;" -- $B>.J8;z(J y $B!J%&%`%i%&%HIU!K(Jsmall y, dieresis or umlaut mark -->

$B%i%F%s(J1$BJ8;z%3!<%II=!!(JTable of printable Latin-1 Character codes


$B Acknowledgements

W3C HTML Editorial Review Board $B$N%a%s%P!$NB?$/$N?M!9$K$*Ni?=$7>e$2$^$9!#(J
The author would like to thank the members of the W3C HTML Editorial Review Board, members of the W3C staff, and the many other people who have contributed to this specification.


$B;29MJ88%(J
Further Reading

The World Wide Web Consortium
HTML , HTTP $BEy$N8=>u$K4X$o$k(JW3C $B$N3hF0$H;X?K$K$D$$$F$N>\:Y$O!"(Jhttp://www.w3.org/$B$K$"$j$^$9!#(J $BFC$K(JHTML $B$K4X$9$k>\:Y$K$D$$$F$O!"(Jhttp://www.w3.org/pub/WWW/MarkUp/$B$K$"$j$^$9!#(J
Further information on W3C activities and pointers to the status of work on HTML and HTTP etc. can be found at http://www.w3.org/. Further information on HTML in particular can be found at http://www.w3.org/pub/WWW/MarkUp/.
HTML 2.0 (RFC1866)
By Tim Berners-Lee and Dan Connolly, November 1995.
$BD61[=qN`I=5-K!;EMM=qBh(J2.0$BHG$NDj5A!#(J ftp://ds.internic.net/rfc/rfc1866.txt$B$+$iF~ Defines the Hypertext Markup Language Specification Version 2.0. Available from ftp://ds.internic.net/rfc/rfc1866.txt.
$BLuCm(J
$B$3$N(JRFC$B$N(J$BK]Lu$rMQ0U$7$F$$$^$9!#(J$B$4MxMQ$/$@$5$$!#(J
Form-based File Upload in HTML (RFC1867)
By E. Nebel and L. Masinter, November 1995.
HTML $B=q<0$+$i$N%U%!%$%k%"%C%W%m!<%I$rftp://ds.internic.net/rfc/rfc1867.txt$B$+$iF~ Describes extensions to HTML 2.0 (RFC1866) to support file upload from HTML forms. Available from ftp://ds.internic.net/rfc/rfc1867.txt.
$BLuCm(J
$B$3$N(JRFC$B$bKb=Q88Eu$K$*$$$F(J$BK]Lu$7$^$7$?!#(J$B$4MxMQ$/$@$5$$!#(J
HTML Tables (RFC1942)
By Dave Raggett, May 1996.
$B$3$l$O(JHTML$B$NI=AH$N7A<0$rDj5A$9$k$b$N$G!"(JHTML 3.2$B$GDj5A$5$l$?I=AH7A<0$N>e0L%;%C%H$K$J$C$F$$$^$9!#(J ftp://ds.internic.net/rfc/rfc1942.txt$B$+!"(JW3C$B$N;CDj0F$H$7$F(Jhttp://www.w3.org/pub/WWW/TR/WD-tables$B$GF~ This defines the HTML table model. It is a superset of the table model defined by HTML 3.2. Available from ftp://ds.internic.net/rfc/rfc1942.txt, or as a W3C working draft at http://www.w3.org/pub/WWW/TR/WD-tables.
A Lexical Analyzer for HTML and Basic SGML
By Dan Connolly, June 1996.
HTML $BJ8=q$rJ,@O$9$k:]$N8lWC$N8!F$$K$D$$$F$N@bL@!#(Jhttp://www.w3.org/pub/WWW/TR/WD-html-lex$B$GF~ Describes lexical considerations for parsing HTML documents. Available from http://www.w3.org/pub/WWW/TR/WD-html-lex
The Hypertext Transfer Protocol (HTTP)
$BD61[=qN`E>Aw:nK!(J(HTTP)$B$N>\:Y$O(Jhttp://www.w3.org/pub/WWW/Protocols$B$K$"$j$^$9!#(J
Further information of HTTP can be found at: http://www.w3.org/pub/WWW/Protocols.
A Standard Default Color Space for the Internet - sRGB
By Michael Stokes, Mathew Anderson, Srinivasan Chandrasekar and Ricardo Motta, November 1996.
http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html$B$+$iF~ Available from: http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html This provides a precise definition for RGB that allows sRGB images to be reproduced accurately on different platforms and media under varying ambient lighting conditions.