Skip to content

Commit a9de9f0

Browse files
committed
[css2] Moved example out of DL list.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401276
1 parent 079db6c commit a9de9f0

1 file changed

Lines changed: 32 additions & 32 deletions

File tree

css2/conform.src

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: conform.src,v 2.24 1998-03-20 09:39:24 bbos Exp $ -->
3+
<!-- $Id: conform.src,v 2.25 1998-03-20 18:55:33 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Conformance: requirements and recommendations</TITLE>
@@ -164,37 +164,6 @@ element|element::following">Following element</span></strong>
164164
<dd>An element A is called a following element of an element B, if and
165165
only if B is a preceding element of A.
166166

167-
<div class="html-example">
168-
<p>Here is an example of a source document encoded in HTML:
169-
170-
<PRE>
171-
&lt;HTML&gt;
172-
&lt;TITLE&gt;My home page&lt;/TITLE&gt;
173-
&lt;BODY&gt;
174-
&lt;H1&gt;My home page&lt;/H1&gt;
175-
&lt;P&gt;Welcome to my home page! Let me tell you about my favorite
176-
composers:
177-
&lt;UL&gt;
178-
&lt;LI&gt; Elvis Costello
179-
&lt;LI&gt; Johannes Brahms
180-
&lt;LI&gt; Georges Brassens
181-
&lt;/UL&gt;
182-
&lt;/BODY&gt;
183-
&lt;/HTML&gt;
184-
</PRE>
185-
186-
<P>This results in the following tree:</P>
187-
188-
<P><IMG src="images/doctree.gif" alt="Sample document tree"></p>
189-
190-
<P>According to the definition of HTML, HEAD elements will be inferred
191-
during parsing and become part of the document tree even if the HEAD
192-
tags are not in the document source. Similarly, the parser knows where
193-
the P and LIs end, even though there are no &lt;/P&gt; and &lt;/LI&gt; tags
194-
in the source.
195-
</div>
196-
</dd>
197-
198167
<!--
199168
<dt>
200169
<span class="index-def" title="anonymous content">
@@ -235,6 +204,37 @@ document, read it aloud, cause it to be printed, convert it
235204
to another format, etc.</dd>
236205
</dl>
237206

207+
<div class="html-example">
208+
<p>Here is an example of a source document encoded in HTML:
209+
210+
<PRE>
211+
&lt;HTML&gt;
212+
&lt;TITLE&gt;My home page&lt;/TITLE&gt;
213+
&lt;BODY&gt;
214+
&lt;H1&gt;My home page&lt;/H1&gt;
215+
&lt;P&gt;Welcome to my home page! Let me tell you about my favorite
216+
composers:
217+
&lt;UL&gt;
218+
&lt;LI&gt; Elvis Costello
219+
&lt;LI&gt; Johannes Brahms
220+
&lt;LI&gt; Georges Brassens
221+
&lt;/UL&gt;
222+
&lt;/BODY&gt;
223+
&lt;/HTML&gt;
224+
</PRE>
225+
226+
<P>This results in the following tree:</P>
227+
228+
<P><IMG src="images/doctree.gif" alt="Sample document tree"></p>
229+
230+
<P>According to the definition of HTML, HEAD elements will be inferred
231+
during parsing and become part of the document tree even if the HEAD
232+
tags are not in the document source. Similarly, the parser knows where
233+
the P and LIs end, even though there are no &lt;/P&gt; and &lt;/LI&gt; tags
234+
in the source.
235+
</div>
236+
237+
238238
<h2><a name="conformance">Conformance</a></h2>
239239

240240
<P>This section defines <span class="index-def"

0 commit comments

Comments
 (0)