1A bare string 2<!DOCTYPE xsl:stylesheet SYSTEM "htmlent.dtd"> 3<!DOCTYPE xsl:stylesheet PUBLIC "htmlent.dtd"> 4<div><![CDATA[A CDATA section where it doesn't belong]]></div> 5<div><svg><![CDATA[HTML5 does allow CDATA sections in SVG]]></svg></div> 6<div>A <meta> tag</div> 7<div>A <br> tag that supposedly has contents.</br></div> 8<div>AT&T</div> 9<div><textarea>Within a textarea, markup like <b> tags and <&<& should be treated as literal</textarea></div> 10<div><script>if (i < 2) { alert("<b>Markup within script tags should be treated as literal.</b>"); }</script></div> 11<div>This numeric entity is missing the final semicolon: <x t="piñata"></div> 12<div><a href="http://example.com/</a> that attribute value never got closed</div> 13<div><a href="foo</a>, </a><a href="bar">that attribute value was closed by the subsequent tag</a></div> 14<! This document starts with a bogus declaration ><div>a</div> 15<div>This document contains <!an incomplete declaration <div>(do you see it?)</div> 16<div>This document ends with <!an incomplete declaration 17<div><a style={height:21px;}>That attribute value was bogus</a></div> 18<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">The doctype is invalid because it contains extra whitespace 19<div><table><td nowrap>That boolean attribute had no value</td></table></div> 20<div>Here's a nonexistent entity: &#foo; (do you see it?)</div> 21<div>This document ends before the entity finishes: > 22<div><p>Paragraphs shouldn't contain block display elements, but this one does: <dl><dt>you see?</dt></p> 23<b b="20" a="1" b="10" a="2" a="3" a="4">Multiple values for the same attribute.</b> 24<div><table><tr><td>Here's a table</td></tr></table></div> 25<div><table id="1"><tr><td>Here's a nested table:<table id="2"><tr><td>foo</td></tr></table></td></div> 26<div>This tag contains nothing but whitespace: <b> </b></div> 27<div><blockquote><p><b>This p tag is cut off by</blockquote></p>the end of the blockquote tag</div> 28<div><table><div>This table contains bare markup</div></table></div> 29<div><div id="1">\n <a href="link1">This link is never closed.\n</div>\n<div id="2">\n <div id="3">\n <a href="link2">This link is closed.</a>\n </div>\n</div></div> 30<div>This document contains a <!DOCTYPE surprise>surprise doctype</div> 31<div><a><B><Cd><EFG>Mixed case tags are folded to lowercase</efg></CD></b></A></div> 32<div><our☃>Tag name contains Unicode characters</our☃></div> 33<div><a ☃="snowman">Attribute name contains Unicode characters</a></div> 34<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 35