Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Adding ID attribute to HTML tag


Kendo - 11:33 pm on Jul 9, 2012 (gmt 0)


I have a web page that is throwing errors due to the DOCTYPE statement negating its presence. HTML5 doesn't like this tag either. The ID is needed by a JavaScript and without it we get errors and code failure. This is the tag that we need...

<HTML id="xyz">

I think that I read or dreamed somewhere that an alternative might be to use JavaScript to declare this ID, but how?


Thread source:: http://www.webmasterworld.com/html/4473946.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com