After spending most of the easter break working on clients web sites, i decided i would take today off and work on making Bluepearl Design 100% Valid XHTML 1.0.
Well after a few hours i am glad to say this site is now 100% XHTML 1.0 Transitional, i even managed to get all my style sheets validated also
It wasnt until today though that i realised how many HTML tags r no longer used in XHTML. For example
valign is no longer used, same with
background tags. I even had to recode my flash scripts as alot of the code which Macromedia gives you when you publish your document as HTML is not valid XHTML
This is the code i used for flash which is 100% valid with XHTML
HTML Code:
<object type="application/x-shockwave-flash" data="http://www.bluepearl-design.com/forums/images/Frost/Frost/header.swf" width="950" height="176">
<param name="movie" value="http://www.bluepearl-design.com/forums/images/Frost/Frost/header.swf" />
</object>
I recommend everyone taking the time to make there sites valid XHTML as they will learn about alot of changes that has happened from HTML to XHTML.
I am going to make sure that all the next versions of my styles will be valid XHTML 1.0 Transitional from now on.
One thing i had to disable for the time being is the toplist hack used on this site, it was giving me 14 errors when validating so i will work on recoding it to work with XHTML in the next few days or contacting the author and get him to do it lol