[thelist] XHTML1.1 Validation errors with Javascript

Tim Burgan burgan at iprimus.com.au
Sun Oct 26 18:01:25 CST 2003


Burhan,


 : ----- Original Message -----
 : From: "Burhan Khalid"
 :
 : Encapsulate your embedded javascript with
 : <![CDATA[ /*javascript goes here*/ ]]> tags, and it
 : should validate.


Thanks for your reply. I'd never heard of CDATA before.
This will certainly be of assistance in the future.

Why don't courses that teach web programming basics use valid HTML or
XHTML code? The teachers/lecturers are just leading the students down
the wrong path from the beginning.

Thanks
Tim Burgan



More information about the thelist mailing list