<?xml version="not-even-close"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Test File For HtmlLexer & HtmlParser</title>
<link rel=stylesheet type="text/css" src=foo/bar.css />
<body
bgcolor=white
linkcolor = "blue"
"
properly escaped code in a handler
");"
>
<!--
ln("Some initialization code in global context
");
-->
// hi there
ln("More initialization
");
Clicky
<input id=foo>
alert("<b>hi</b>");
</input>
<div id=notarealtag =notcode()>
<!-- some tokenization corner cases -->
< notatag<atag/>
notatag> t
< < < all in one text block > > >
<xmp>Make sure that <!-- comments don't obscure the xmp close</xmp>
<% # some php code here
write("<pre>$horriblySyntacticConstruct1</pre>\n\n");
%>
<!--
alert("hello world");
// -->
*/alert('hi');
*/alert('hi');-->
<xmp ><!--/* </xmp> */alert('hi');--></xmp>
<style><!-- p { contentf: '</style>' } --></style>
<style>Foo<!-- > </style> --></style>
<textarea><!-- Zoicks </textarea>--></textarea>
<!-- An escaping text span start may share its U+002D HYPHEN-MINUS characters
- with its corresponding escaping text span end. -->
</body>
</html>
<![CDATA[ No such thing as a CDATA> section in HTML ]]>
<img /><a ><a />
<span title=malformed attribs' do=don't id=foo checked >Bar</span>