Accepted answer

copying the code and testing the report would produce a blank page

Because you're outputting invalid HTML. There is no html or head element for starters.

Output your code in to a file like example.xhtml and open it in Firefox (specifically) as it's XML parser will very quickly tell you what line and column the first XML parser error is occurring on. You are rendering in standards mode instead of quirks though that does not imply your page meets standards.

var m=(document.compatMode == 'CSS1Compat') ? 'Standards' : 'Quirks'; window.alert(m+'-mode.');

Related Query

More Query from same tag