On 27 Nov 2006, at 15:38:30, Tom Livingston wrote:
On 11/27/06 9:48 AM, "Philippe Wittenbergh" <[EMAIL PROTECTED]> wrote:
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
So then with this DOCTYPE:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
I can put IDs on the HTML element and go on my merry way. Right?
Yes. (My, it feels pleasant to say "Yes" for a change :-)
(FWIW, I checked it in IE6 and it works, despite the fact that IE
doesn't support XHTML. FF1.5 and Safari 2 also work, as expected.)
Regards,
Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************