@@ -4130,7 +4130,7 @@ can often be described by a fictional tag sequence that closes and
41304130then re-opens the element. Thus, if we mark up the previous paragraph
41314131with a SPAN element:</p>
41324132
4133- <pre>
4133+ <pre class="lang-xml" >
41344134<P><b><SPAN class="test"></b> This is a somewhat long HTML
41354135paragraph that will be broken into several
41364136lines.<b></SPAN></b> The first line will be identified
@@ -4161,7 +4161,7 @@ container element.</a>
41614161element may occur inside a
41624162block-level descendant in the same flow (i.e., a block-level
41634163descendant that is not positioned and not a float). E.g., the first
4164- line of the DIV in <code><DIV><P>This
4164+ line of the DIV in <code class="lang-xml" ><DIV><P>This
41654165line...</P></DIV></code> is the first line of the P (assuming
41664166that both P and DIV are block-level).
41674167
@@ -4182,7 +4182,7 @@ block-level element. (Since CSS1 and CSS2 (1998) were silent on this case,
41824182authors should not rely on this behavior.) Here is an example. The
41834183fictional tag sequence for
41844184
4185- <pre>
4185+ <pre class="lang-xml" >
41864186<DIV>
41874187 <P>First paragraph</P>
41884188 <P>Second paragraph</P>
@@ -4544,7 +4544,7 @@ not.
45444544Suppose there is an H1 element with an emphasizing element (EM)
45454545inside:</p>
45464546
4547- <pre>
4547+ <pre class="lang-xml" >
45484548<H1>The headline <EM>is</EM> important!</H1>
45494549</pre>
45504550
@@ -7307,7 +7307,7 @@ set to zero, the position of the float is undefined.
73077307<div class="example">
73087308<p>This HTML fragment results in the b floating to the right.
73097309
7310- <pre>
7310+ <pre class="lang-xml" >
73117311<P>a<SPAN style="float: right">b</SPAN></P>
73127312</pre>
73137313
@@ -7483,7 +7483,7 @@ which the
74837483clearance is -1em. (Assume none of the elements have borders or
74847484padding):
74857485
7486- <pre class="html">
7486+ <pre class="lang- html">
74877487<p style="<b>margin-bottom: 4em</b>">
74887488 First paragraph.
74897489
@@ -10904,7 +10904,7 @@ elements that are not nested, is the following. This shows how the
1090410904style rules given above to number chapters and sections would apply to
1090510905the markup given.
1090610906
10907- <pre>
10907+ <pre class="lang-xml" >
1090810908 <!--"chapter" counter|"section" counter -->
1090910909<body> <!-- {chapter=0 | -->
1091010910 <h1>About CSS</h1> <!-- chapter++ (=1) | {section=0 -->
@@ -13444,7 +13444,7 @@ In the following style sheet and document fragment:
1344413444anonymous inline element that surrounds the span element, causing
1344513445the text "Help, help!" to be blue, with the blue underlining from
1344613446the anonymous inline underneath it, the color being taken from the
13447- blockquote element. The <code><em>text</em></code>
13447+ blockquote element. The <code class="lang-xml" ><em>text</em></code>
1344813448in the em block is also underlined,
1344913449as it is in an in-flow block to which the underline is propagated. The final line of text is fuchsia, but the underline
1345013450underneath it is still the blue underline from the anonymous inline
@@ -13749,7 +13749,7 @@ CSS 2 does not fully define where line breaking opportunities occur.</em>
1374913749<p>
1375013750Given the following markup fragment, taking special note of spaces (with varied backgrounds and borders for emphasis and identification):
1375113751</p>
13752- <pre><code>
13752+ <pre class="lang-xml" ><code>
1375313753
1375413754 <ltr>A<span class="egbidiwsaA"> </span><rtl><span class="egbidiwsbB"> </span>B<span class="egbidiwsaB"> </span></rtl><span class="egbidiwsbC"> </span>C</ltr>
1375513755
@@ -14404,7 +14404,7 @@ anonymous cell object to be created as well.</em>
1440414404<p>Here is an example illustrating rule 5. The following illegal
1440514405 (X)HTML snippet defines conflicting cells:
1440614406
14407- <pre>
14407+ <pre class="lang-xml" >
1440814408<table>
1440914409<tr><td>1 </td><td rowspan="2">2 </td><td>3 </td><td>4 </td></tr>
1441014410<tr><td colspan="2">5 </td></tr>
@@ -16610,7 +16610,7 @@ category and subtotal. Some cells define marks along an axis while
1661016610others give money spent at points within this space. The markup
1661116611for this table is:</p>
1661216612
16613- <pre>
16613+ <pre class="lang-xml" >
1661416614<TABLE>
1661516615<CAPTION>Travel Expense Report</CAPTION>
1661616616<TR>
0 commit comments