Validifier takes your Flash embed code and generates valid XHTML 1.0 Strict markup.
Just paste your embed code into the box below to make it fully Validified!
How it works:
The unnecessary <embed> tag is removed.
A valid <object> tag is created.
Some magic happens.
...
Profit! It's 100% valid XHTML 1.0 Strict!
And yes, it works in Internet Explorer!
Why most embed codes FAIL
The <embed> tag
The <embed> tag is not valid XHTML 1.0. It was created during the browser wars and is
used now for compatibility reasons. All major browsers recognize the <object> tag, so
the <embed> tag is not needed anymore. Validifier gets rid of it!
The codebase and classid attributes in the <object> tag
These attributes are not required in XHTML, but are required by Internet Explorer for streaming media.
Should you be XHTML compatible, or IE compatible? Well, why not both? Validifier uses IE conditional
comments to circumvent these conundrums.
Absence of the type and data attributes in the <object> tag
Most embed code leaves out the type and data attributes of the <object>
tag. This causes some browsers (like Mozilla and friends) to not display the <object> code
and fall back on the <embed>. However, including these attributes doesn't make IE happy.
Validifier also resolves this by using IE conditional comments.
Improperly encoding html entities in attributes
Most embed code simply uses the URL of the Flash movie in the attributes. This may sometimes include the
& (ampersand). Ampersands must be properly encoded (&) to be valid XHTML. Validifier
makes sure your strings are properly encoded.