gecko-dev/parser/htmlparser/tests/html/span001.html

31 строка
671 B
HTML

<!--Commented code available in commented_code/index.html-->
<HTML>
<HEAD>
<TITLE>Test SPAN001</TITLE>
</HEAD>
<BODY>
<p>
In HTML standard, SPANs are not allowed to cross Paragraphs.
<br> In Vav4.0, SPAN tags go thour paragraphs and other block-level elements,
except tbles.
<br>It be compatable with Nav4.0 and HTML standard, HTMLParser
close all SPANs before open a new paragraph, and reopen SPANs
inside the new paragraph
<br>
<FONT color=red>
Text ater the color=red SPAN is opend.
</P>
Text in a new paragraph.
</P>
<p>
Text after the new paragrapg is closed, still in color=red SPAN.
</FONT>
<br>
Text ater the color=red SPAN is closed.
</BODY>
</HTML>