On Thu, Dec 07, 2006 at 12:41:57PM +0000, Chris Price wrote: > Is this any good? > http://choctaw.co.uk/tftw.php?counter=45 > Javascript is used on the page so its xhtml compliant.
No, it isn't. (1) Uses document.write. Most XHTML implementations don't support document.write. (2) The code that is document.written uses the <nolayer> tag... which isn't part of any XHTML standard I've seen. (3) Said code also fails to represent ampersands with the & entity. (4) <br> is missing the end tag (5) Iframes don't have marginwidth or marginheight attributes (6) ... and so on. Not to mention the obsolete and deprecated presentational markup. And the style attributes containing invalid CSS that won't work correctly in Standards mode in most browsers. -- David Dorward http://dorward.me.uk ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
