OK, so reading between the lines ...
Supposing I want to distinguish between HTML and XHTML, then I do not want to go for total lower case in my HTML.
Since browsers will tolerate all sorts of variations of case, sequence and quotation marks, the innerHTML displayed by JavaScript can not be...
If I code a simple HTML DIV like this:
<div id=DivC align="left" CLASS="DivClass" style=HEIGHT:20PX;width:100%>C</div>
it works fine. No problem. And if in IE I 'view source', the above is what it shows me.
However, if in JavaScript I display the outerHTML of the DIV, it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.