Спецификация HTML 3.2



         

Определение типов в документе HTML 3.2 - часть 6


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

<!--=================== Headings ==========================================-->

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

<!--=================== Preformatted Text =================================-->

<!-- excludes 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 -- is this widely supported? -- >

<![ %HTML.Deprecated [

<!ENTITY % literal "CDATA" -- historical, non-conforming parsing mode where the only markup signal is the end tag in full -->

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

]]>

<!--=================== Block-like Quotes =================================-->

<!ELEMENT BLOCKQUOTE - - %body.content>

<!--=================== Lists =============================================-->

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

<!-- definition lists - DT for term, DD for its definition -->

<!ELEMENT DL - - (DT|DD)+> <!ATTLIST DL compact (compact) #IMPLIED -- more compact style -- >

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

<!-- Ordered lists OL, and unordered lists UL --> <!ELEMENT (OL|UL) - - (LI)+>

<!-- Numbering style 1 arablic numbers 1, 2, 3, ... a lower alpha a, b, c, ... A upper alpha A, B, C, ... i lower roman i, ii, iii, ... I upper roman I, II, III, ...

The style is applied to the sequence number which by default is reset to 1 for the first list item in an ordered list.




Содержание  Назад  Вперед