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!5k W3C$B$O%=%U%H%&%'%"6!5k 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 $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 $B$O!"(J $B$H$9$k$N$HF1Ey$G$9!#(J $B$O!"(J $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%-! PCDATA$B$NFbMF$d(JCDATA$B$NB0@-$N(JSGML$B 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%-! $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 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 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 $B 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 $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:
$BCm0U(J: HTML3.2$B;EMM=q$,(JW3C$B4X78
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.
SGML$B$N1~MQ$H$7$F$N(JHTML
HTML as an SGML Application
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.
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
is equivalent to:<P>$BJ8>O(JText
$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>
is equivalent to:
$BJ8>O(JText</P>
$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.
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
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>
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.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<TITLE>$B?M8}F0BVD4::(JA study of population dynamics</TITLE>
HTML$BBh(J3.2$BHG;EMM;29M=q(J
HTML 3.2 Reference Specification
$BKb=Q88EuHGF|K\8lLu(J$BL\$B!!(J$B?J$`"*(J
$BK]Lu!'Kb=Q88Eu(J
poetlabo@cap.bekkoame.ne.jp
$B$40U8+!&0zMQ!&J#