XHTML W3 Meta Tag Validation

Status
Not open for further replies.

matt-dublin

New Member
Hey guys,

need some help...

Im trying to validate my code and its xhtml transitional 1.0 and i keep getting errors on w3 validation with my meta tags.

for example...
there is no attribute "Name".
element "META" undefined.
there is no attribute "Content".

i tried changing the name attribute to both id and property with no avail..

can anyone please help me?
 

3rigena

New Member
Hey guys,

need some help...

Im trying to validate my code and its xhtml transitional 1.0 and i keep getting errors on w3 validation with my meta tags.

for example...
there is no attribute "Name".
element "META" undefined.
there is no attribute "Content".

i tried changing the name attribute to both id and property with no avail..

can anyone please help me?

xhtml is case sensitive.. so there is no META tag. it's meta.
your content bit should look like this [with your preferred char encoding]
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="mysite.com">
 

matt-dublin

New Member
thanks a million 3rigena,

i didn't realise it was case sensitive!

i hate its the way its the simplist of things that cause the most problems!!

clicky clicky > xhtml valid!

thanks again
 
Status
Not open for further replies.
Top