Forum Moderators: phranque

Message Too Old, No Replies

Please Help With Meta Tags

I need help with Meta Tags

         

MrCountry

12:47 pm on Oct 12, 2005 (gmt 0)

10+ Year Member



I am using the IBP HTML Validator And It Is Giving My Numerous Errors Mostly In The Meta Tags. Here Are Some Of The Errors. Can Someone Help Me With This. Can You Look At My Code And Tell Me What I Am Doing Wrong. I Really Appreciate Any Help That I Can Get.

Error Line 6 column 353: end tag for "meta" omitted, but OMITTAG NO was specified.
...air, residential remodel, estimates">
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Error Line 7 column 207: end tag for "meta" omitted, but OMITTAG NO was specified.
...g. Located in Jacksonville Florida.">

Error Line 8 column 11: there is no attribute "NAME".
<META NAME="author" CONTENT="Country Custom Tile, Ceramic And Marble Contracto..
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

And Several More. 23 Errors In All

BeeDeeDubbleU

1:36 pm on Oct 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I get this type of message too but I don't think it's all that important. Is it?

MrCountry

2:35 pm on Oct 12, 2005 (gmt 0)

10+ Year Member



I really dont know if its important or not. Its also showing me errors wirh the images on the index page and i just want to make sure that it get it all right

tedster

3:01 pm on Oct 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What DTD are you validating to?

MrCountry

3:35 pm on Oct 12, 2005 (gmt 0)

10+ Year Member



I went from using Dreamweaver MX

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

To Dreamweaver 8 Using
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

Could there be a problem there. I really dont know anything about it. Thanks for your help.

mattur

4:01 pm on Oct 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The validation errors you are getting are probably because you have copied and pasted your existing page code (HTML) into a new page with an XHTML doctype (which expects XHTML code).

By default Dreamweaver 8 is set to create new pages as XHTML. I suspect there is no reason for you to make the switch to XHTML, so I would strongly recommend you stick with your previously used HTML 4.01 doctype.

Go into DW Preferences -> New Document -> Default Document Type (DTD) and set it to HTML 4.01 Transitional

MrCountry

4:40 pm on Oct 12, 2005 (gmt 0)

10+ Year Member



Thanks so much for the help. I will do that right now. I hope that will help. Is there anything else that i should consider.

mattur

11:22 am on Oct 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



First try validating your new page(s) with the HTML 4.01 transitional doctype.

I'd recommend you learn more about HTML syntax (DW code view is your friend ;)) so that you can debug any validation messages yourself, but if you do have further problems with validation, post the errors here - I'm sure someone will be able to help you.