when i try to validate my website at w3c i get mor ethan 1000 erros. can some one tell me why? one of the errors is :
Error Line 4 column 52: end tag for "meta" omitted, but OMITTAG NO was specified.
<meta http-equiv="Content-Language" content="en-us">You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

I made it in dreamweaver . i thought it was right. is it possible to be making me have bad SEO in google? thanks :)

if u can try to validate it to help me, the website is <snipped>]

Recommended Answers

All 8 Replies

I took just a quick glance at your source. You are not ending your meta tags properly. Your site is listed as xhtml, so every tag must be self-contained, i.e. <tag/> or have a beginning and ending tag, i.e. <tag></tag>.

It may affect Google, and other search engines, from being able to parse your HTML properly which could affecting your rankings (they can't read your content) and ability to be indexed. Either way, 1,000 errors is really bad and you need to address that right away.

Hi there,

Well check your code and close/self-close every try properly

Like :

<meta http-equiv="Content-Language" content="en-us">

This should look like 

<meta http-equiv="Content-Language" content="en-us" />

<p> this will close like this </p>

<br />

if you are using Dreamweaver,
just go to

File menu > Convert > XHTML 1.0 Transitional

This will help you rectify the error

Best Regards,

Sorry By The Stupid Question. but. why is my page Xhtml? if i done Html or Php? i done Php To support Cutenews, i converted the page to xhtml but i still get 1000 eroors. i jost got rid of 66. help me pls =D

just gor rid of 50 % of the erros by converting to Html 4.0 Tran. I have 400 errors now, but due to the Ads Codes, and the php ( cutephp) that i intergrated in my website. anyway to get rid of this codes?

Member Avatar for GreenDay2001

Sorry By The Stupid Question. but. why is my page Xhtml? if i done Html or Php? i done Php To support Cutenews, i converted the page to xhtml but i still get 1000 eroors. i jost got rid of 66. help me pls =D

See what your doctype is at the top of your page source

just gor rid of 50 % of the erros by converting to Html 4.0 Tran. I have 400 errors now, but due to the Ads Codes, and the php ( cutephp) that i intergrated in my website. anyway to get rid of this codes?

Congrats:p

well, if you are submitting your page by "typing" (pasting) it into the box on the W3C site; it will probably complain bitterly about the php constructs. if you access your page on the internet, that php code should all become (X)HTML, and some of those errors will likely go away. you can test that by uploading the page, and validating via an URL rather than validating a block of mixed HTML/PHP.

javascript can cause markup errors, but only if its inline javascript that contains < or > characters. for the most part you're safer keeping javascript in an external .js file, but if you must have inline javascript, enclose it in comments, or a CDATA tag:

http://www.w3schools.com/xml/xml_cdata.asp

The best advice for fixing validation errors is to read/understand the errors reported by the validator, and fix them. That's what the validator is for. If you don't understand the error messages, then you need to learn the basics of HTML and XHTML. Buy a good book, study.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.