[thelist] Adding attributes for tags

Christian Heilmann codepo8 at gmail.com
Tue Jul 12 04:30:24 CDT 2005


> >Invalid code is invalid code. Does not really matter how you generate it.
> >
> Not really, however this script obviously uses a hack which causes
> invalid code, it's never going to validate as XHTML, the best he can
> hope for is XHTML+XML. If one of his requirements is valid XHTML served,
> this second hack will allow it to happen, though of course it will
> swiftly be invalidated.
> 
> Personally, I'd recode the script to identify the elements with id
> fields but that's just me ;)

Exactly. The idea of valid code is not to  please the validator, but 
to  have valid code at any stage of the process. Only this ensures
proper rendering on any newer UA.


-- 
Chris Heilmann 
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/  
Binaries: http://www.onlinetools.org/


More information about the thelist mailing list