For my upcoming WP powered site, I’m experimenting “pure css” design and try to produce valid html code, since I thought it would be a safe bet to think that valid html code would probably render correctly in more browsers. By now, I’m almost done with my design, and it does display as desired in MSIE, Konqueror, Opera & Mozilla. But, it still doesnt validate …
I get errors like these :
Line 80, column 51: document type does not allow element "h3" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
(the ^ showing the ” before the first closing >)
Basically, I dont see why h3 onclick would be illegal 😛 and can’t find any explanation about this at W3 refs. So, I have 3 questions.
1. why doesnt this validate ?
2. Is there a more appropriate forum, for general html and validation matters, than this forum, since it’s not strictly WP related and might bother (or is this forum OK for this kind of questions ?)
3. More generally about validation : what is the point of it ? When your layout displays correctly in all browsers, and may or may not validate, are you satisfied, or why arent you ?
Thanks for any thoughts on this subject.
- You must be logged in to reply to this topic.