Thomas Tidy Duct Tape

Input


Output

line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 1 column 1 - Warning: inserting implicit <body>
line 1 column 27 - Warning: missing </b> before </p>
line 1 column 67 - Warning: discarding unexpected </b>
line 2 column 1 - Warning: missing </u> before <p>
line 2 column 7 - Warning: inserting implicit <u>
line 2 column 73 - Warning: discarding unexpected </u>
line 1 column 1 - Warning: inserting missing 'title' element
line 2 column 1 - Warning: trimming empty <u>

Preview:

Highlighted Output

Note - for copy/paste use the box above - the stuff below may not be accurate, e.g. if you put a " in there (&quot;) it will just show as " - I haven't had time to look at and fix such stuff.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title></title>
  </head>
  <body>
    <p align="center">
      Hoyt<br />
      <b>This is purposely messed up html!</b>
    </p>
    <p>
      <u>To remove this, click in the box, hit ctrl+A then hit delete</u>
    </p><!-- Comments are useful -->
    <p style="color: red;">
      So long now...
    </p>
  </body>
</html>

 

© Jon Thomas Stokkeland 2012 - View Source