Monday, March 30, 2009

XHTML 1.0 Compliance

You need to include certain headers in your xhtml documents if you want them to be fully compliant.

you can compy and paste these headers from this sample page.

Update: 27/04/2009
The code used by YouTube to embed videos in your page is not XHTML1.0 compliant. You may, if your really want to, include YouTube videos in your site without penalty. HOWEVER, your code must be otherwise XHTML1.0 compliant. It might be hard for you to enure that it is compliant, because the YouTube code might cause confusion. But if you are prepared to accept the risk, you may do so. My advice is to avoid the risk and leave the videos out.

No comments: