Forum Moderators: not2easy
To be honest, I wouldn't worry too much about the validation error in this particular case. It's always a difficult call to make, but there is no sure method which works cross-browser and validates. You could cheat and use javascript document.write, but you are in reality no further forward - your page may pass validation, but the page would still be invalid. The validation problems lie with unrecognised attributes, and the non-standard
<embed> tag. Neither of these errors will affect document parsing in a compliant browser (which will ignore such elements).