PDA

View Full Version : document type does not allow element "title"


twitchr377598
06-25-2010, 11:41 AM
I have a doctype of xhtml transitional and I have the title tags in the head tags, but I get this error: document type does not allow element "title" when I use the web standards advisor. If I simply use the validator in Dreamweaver CS3 this error doesn't show up. Any idea what it means or if I should worry about it?

Thanks in advance,
Twitch

Jason Byrnes
06-25-2010, 11:48 AM
can you send a copy of your page.

twitchr377598
06-25-2010, 01:27 PM
Will do after I take care of the other errors. I wanna see if fixing the other problems somehow helps this.

Basically what I'm doing to trying to turn a page created with frontpage 5 (that I did not create) and make it a valid xhtml page. There is a lot of worthless code on the page that I'm sifting through. The original doctype is <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
If I replace it with an xhtml doctype the tables "slide" and so I put it back to the original doctype for now to preserve the look of the page. I'm going to fix the other typical validation errors, then put the doctype back to xhtml and see if there is a difference.

I'll send the page if I still get the error. Thanks for the quick response, Jason. Really appreciate it.

Jason Byrnes
06-25-2010, 02:32 PM
yeah, front page does not create very good standards co pliant pages, your better off creating the page using dream weaver.

pages created using front page will not conform to the W3C standards that web Astandards Advisor is validating for.