W3C validation and valid XHTML code


Laste update : 15 February 2011
The W3C offers a markup validation service to check the markup validity of web documents in HTML, HTML, SMIL, MathML, etc. or specific content such as RSS/Atom feeds or CSS stylesheets.

The present weblog is valid XHTML 1.0 code.



To create valid XTHML code, you need to declare a DOCTYPE, specify the character encoding, indicate the language and include a minimum of tags in the head (title) and the body sections.


If you use the EmbedIt WordPress plugin, you must use the following structure to embed your special code in a wordpress entry to get valid XHMTL 1.0 code.

</p> <div> your code </div> <p>

To get the right MIME type for valid XHTML 1.1 code, the webpage needs an .xhtml extension.

The code YouTube shows on the embed field is not valid XHTML! Tools4Noobs offers a code generator to create valid xhtml code for embedded youtube videos.

A unified W3C online validator is available at the Unicorn website.