On Nov 27, 2006, at 11:14 PM, Nick Fitzsimons wrote:
Sounds logical. However, I am using IDs on the body to give, among
other
things, different bg images to site sections. Can I give the HTML
element an
ID instead? I just never heard of doing this type of thing to that
element.
Afraid not, the HTML element can only have lang and dir attributes:
<http://www.w3.org/TR/html4/struct/global.html#edef-HTML>
This only applies to HTML 4.01 and XHTML 1.1.
XHTML 1.0 allows for the id attribute on HTML.
AvK has some details and references
<http://annevankesteren.nl/2003/08/html-id>
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************