Hello Programmers, actually i dont have knowledge of XHTML or PHP or similar languages I just edited my Wordpress theme TOO MUCH (i can do simple changes though), and as a result i am getting lots of error in W3C validation even IE 6 Showing "Page Loaded but with errors !!" so any one here who can help me out ?, Its WORDPRESS BLOG, PR 4, but such errors !! Here is the validation link Please let me know if anyone can help in this matter Helpers will be get rep+
1. Put all your tags in lowercase - META should be meta, SCRIPT should be script. Thats bad practice, looks ugly and is invalid. 2. After every <script> tag (before the Javascript), put <!-- Code (markup): Before every </script> tag, put //--> So your Javascript things should look similar to this: <script><!-- //Javascript here //--> </script> Code (markup): 3. Replace language="javascript" Code (markup): with type="text/javascript" Code (markup): 4. "<br>" must become "<br />". That should solve a fair bit of it.
Ohh, so these are few Problem I will try to replace all your given suggestions Thanks very much for this usefull post, i wil let you know when i am ready with above mentioned changes rep+ added
This Page Is Valid XHTML 1.0 Transitional! Thanks very much It took 2Hr to Do this various works on it , i also removed few widgets which were causing these . But one more problem Whenever i add ALEXA WIDGET on my Site it again shows problem Do we need to change in that ? If yes pls do specify them , i need on my blog, i want to increase alexa rank
Is the Alexa widget flash? There are serious validation problems with embedding Flash into HTML / XHTML... You recommended way by Adobe is to actually embed flash using PHP... If they've got a javascript version of their widget use that instead of flash...
I've just gone through to the page and I see that it is javascript... hmm... if you are cutting and pasting from a HMTL page make sure that you unformat it first... cut and past it into notepad and from there into you code... just a thought... And are you putting this into the head with the rest in the body? <script type="text/javascript" src="http://widgets.alexa.com/traffic/javascript/graph.js"></script> <script type="text/javascript">/*
Can you please post me the code of the Alexa thing? If its flash, just live with it. There are ways around it, but IMO, its not worth it. Next step is getting to validate it strict Thanks.
Alexa widget is NON FLASH Its just Java Script here its Code <SCRIPT type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/t/a?url=http%3A%2F%2Fwww.orangmuda.com'></SCRIPT> Code (markup): Please try to make it W3C Validate I need it to put it in <BODY> and not under <HEAD> and with ref: to my blog link , pls check the above code
Remember what I said about lowercase? Try this: <script type="text/javascript" src="http://xslt.alexa.com/site_stats/js/t/a?url=http%3A%2F%2Fwww.orangmuda.com"></script> Code (markup):