Hey, I was wondering if anyone can give me some input on this xhtml. I need to get my site working in IE8 and these errors might be the cause. Web Journey's XHTML Errors
Why don't you simply fix the mistakes? The validator is very clear on what's the matter. You forgot to close an element; go back and close it. You closed an element a second time; go back and remove the redundant tag. You misspelled an attribute; go back and correct the spelling. Go down the list of errors and fix each in order. Re-validate occasionally. Fixing one error may correct an issue that caused other errors. If you get really stumped, we can help. Don't expect us to do the work for you. cheers, gary
you can go for w3c validation..................... it will show you the code.............with out error................for which code you are validating....................
Use this DOCTYPE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Code (markup): Rather than DOCTYPE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Code (markup): Because "strict doctype" don't allow using some tages like: <font>, <center>,... _________________________________________________________________ End tag for "h3" omitted. <div id="feature-box-column-right"> <h2>Killer Resources</h2><h3>Themes, eBooks, And More </div> _________________________________________________________________ ID "container" has been defined more than one time, it is error, ID there should be one time, if you need define properties more than one time use CLASS. _________________________________________________________________ Best Regards, Mohammad www.ehome-jo.com
Why ever would you recommend using deprecated (invalid) tags, and presumably invalid attributes, too? cheers, gary
Thank the gods, those tags cause cancer and diabetes in old people. If you're using them, stop building websites. I'm almost proud of how my colleague managed to take a recent, table-less Drupal theme and not only add a layout table, but also have NESTED center tags. Yeah, nested center tags rock. W00! I guess those were to make the text inside... even MOAR centered?
Yeah, you're using too archaic tags. Is way better to use CSS to style your page, rather than using inline styling of any sort of type.
Don't worry too much on Validation, Google's Matt Cutts has said on many occasions that if they ranked validated sites higher in the SERPs then it would be "a very slippery slope"!
Is not exactly about SE or anything like that why you want a valid markup. It's due usability, accesibility and easier browser compatibility.
It's true for now, they care more about content than valid code. Understandably. Still, those who worry about being valid and accessible usually at least are aware of what things they should and should not do for bots. No reason not to make your code as valid as possible along with any SEO stuff you're doing.
Nah, you don't need that. If your code is valid and looks great in FF, Opera, Safari, Chrome, Etc then it'll look great in IE8 as well... if you wrote your site for IE7 then you'll add that meta tag in to make IE8 act as buggy as IE7 so the bugs in the page look the same. But the problems will still be there for FF etc. The meta tag might be good for testing IE7 though if you don't have a copy of it.