Fix Embed Tag Error on W3C Validation Service
The W3C Validation Service validates multiple versions of XHTML and HTML, outputing many useful errors and warnings to help users to create a site that meets the W3C standards. If a site meets the W3C standards, it has several advantages. There is also a reasonable chance that the site will looks good in all browsers.
Embed is one of deprecated tags, you will get error message when you use this tag on your page, to fix this issue, you can use object tag instead
For HTML 4.01 Transitional:
For HTML 4.01 Strict (requires a container around code):
For XHTML 1.0 Transitional (requires self-closing end to param):
For XHTML 1.0 Strict (requires a container around code):
or you can also use javascript trick, use document.write+encodeURI to bypass the W3C validation, it will hide errors for embed and some other unacepted tags on the validator, use this tool :
http://crazydavinci.net/valid-w3c/
just enter your HTML then it will generate javascript code to use on your page.
You can see a sample page that has passed W3C validator here :
http://crazydavinci.info
see the source code, there are object tag and document.write trick inside
Proof : Click Here







Media-Box
May 4th, 2010 at 5:48 PM
Nice information, I really appreciate the way you presented.Thanks for sharing..
May 20th, 2010 at 12:00 PM
Wow this is a great resource.. I’m enjoying it.. good article
June 7th, 2010 at 8:25 PM
tdk dizinkan pmBAJAKAN
June 8th, 2010 at 6:28 AM
^ maksudnya pemBAJAKAN apa yah ???
ga jelas nih :-??
June 13th, 2010 at 9:17 PM
mas ajari hack facebook donk
August 8th, 2010 at 6:06 PM
Fine web site, exactly where did you come up with all the info in this piece? I’m pleased I found it although, ill be checking back quickly to see what other articles you might have.