Jump to content

my page will not validate to html5 ?


jasonc

Recommended Posts

 

<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Adhesives - Welcome to our web site</title>
<link rel="stylesheet" href="styles.css" type="text/css" />
<meta name="description" content="Adhesives, Barbecue Accessories, Barbecues, Bin Fresheners, Camping Furniture, Chimeneas, Coolbags, Decorating Aids, Door Curtains, Fans, Fertilisers, Fillers, Garden Electrical, Garden Essentials, Garden Landscaping, Garden Lighting, Garden Ornaments, Garden Planters, Garden Watering, Garden Woodcare, Gardening Tools, Kitchen Essentials, Ladders, Lanterns, Laundry, Lawncare, Lunch On The Go, Outdoor Living, Paint Remover, Paints, Pest Control, Picnicware, Plantcare, Specialist Paints, Travel Essentials, Varnishes, Weedkillers" />
<meta name="keywords" content="xyz" />
<meta name="owner" content="admin@" />
<meta name="copyright" content="copyright" />
<meta name="author" content="author" />
<meta name="language" content="en" />
<meta name="rating" content="General" />
<meta name="robots" content="index,follow" />
<meta name="revisit-after" content="2 days" />

<meta http-equiv="expires" content="" />
<meta http-equiv="content-type" content="text/html; charset=windows-1252;" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-language" content="en" />


<link rel="shortcut icon" href="Image2.gif" />
<link rel="alternate" type="application/rss+xml" title="RSS feed" href="http://www.*******.com/rss.php" />

<meta name="geo.region" content="GB" />
<meta name="geo.placename" content="" />
<meta name="geo.position" content="" />
<meta name="ICBM" content="" />

<meta name="DC.title" lang="en" content="General" />

<meta name="DC.creator" content="DC.creator" />
<meta name="DC.subject" lang="en" content="DC.subject" />
<meta name="DC.description" lang="en" content="DC.description" />
<meta name="DC.publisher" content="DC.publisher" />
<meta name="DC.contributor" content="DC.contributor" />
<meta name="DC.type" scheme="DCMIType" content="Text" />
<meta name="DC.format" scheme="IMT" content="text/html" />
<meta name="DC.identifier" content="/meta-tags/dublin/" />
<meta name="DC.source" content="/meta-tags/" />
<meta name="DC.language" scheme="RFC1766" content="en" />
<meta name="DC.relation" content="/meta-tags/" />
<meta name="DC.coverage" content="World" />
</head>

<body>
welcome
</body>
</html>

 

I was hoping to have the pages valid for HTML5

 

http://dev.w3.org/html5/spec/

 

but when i use a standard doctype the page validates, but as I am trying to have the page validate to HTML5 I get the following errors.

 

---

 

Validation Output: 28 Errors

 

Error Line 8, Column 36: Bad value owner for attribute name on element meta: Keyword owner is not registered.

 

<meta name="owner" content="admin@">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 9, Column 43: Bad value copyright for attribute name on element meta: Keyword copyright is not registered.

 

<meta name="copyright" content="copyright">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 11, Column 35: Bad value language for attribute name on element meta: Keyword language is not registered.

 

<meta name="language" content="en">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 14, Column 44: Bad value revisit-after for attribute name on element meta: Keyword revisit-after is not registered.

 

<meta name="revisit-after" content="2 days">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 16, Column 38: Bad value expires for attribute http-equiv on element meta.

 

<meta http-equiv="expires" content="">

 

Error Line 18, Column 57: Bad value content-style-type for attribute http-equiv on element meta.

 

<meta http-equiv="content-style-type" content="text/css">

 

Error Line 19, Column 65: Bad value content-script-type for attribute http-equiv on element meta.

 

<meta http-equiv="content-script-type" content="text/javascript">

 

Error Line 20, Column 49: Using the meta element to specify the document-wide default language is obsolete. Consider specifying the language on the root element instead.

 

<meta http-equiv="content-language" content="en">

 

Error Line 26, Column 37: Bad value geo.region for attribute name on element meta: Keyword geo.region is not registered.

 

<meta name="geo.region" content="GB">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 27, Column 38: Bad value geo.placename for attribute name on element meta: Keyword geo.placename is not registered.

 

<meta name="geo.placename" content="">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 28, Column 37: Bad value geo.position for attribute name on element meta: Keyword geo.position is not registered.

 

<meta name="geo.position" content="">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 29, Column 29: Bad value ICBM for attribute name on element meta: Keyword icbm is not registered.

 

<meta name="ICBM" content="">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 31, Column 50: Bad value DC.title for attribute name on element meta: Keyword dc.title is not registered.

 

<meta name="DC.title" lang="en" content="General">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 33, Column 45: Bad value DC.creator for attribute name on element meta: Keyword dc.creator is not registered.

 

<meta name="DC.creator" content="DC.creator">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 34, Column 55: Bad value DC.subject for attribute name on element meta: Keyword dc.subject is not registered.

 

<meta name="DC.subject" lang="en" content="DC.subject">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 35, Column 63: Bad value DC.description for attribute name on element meta: Keyword dc.description is not registered.

 

<meta name="DC.description" lang="en" content="DC.description">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 36, Column 49: Bad value DC.publisher for attribute name on element meta: Keyword dc.publisher is not registered.

 

<meta name="DC.publisher" content="DC.publisher">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 37, Column 53: Bad value DC.contributor for attribute name on element meta: Keyword dc.contributor is not registered.

 

<meta name="DC.contributor" content="DC.contributor">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 38, Column 54: Bad value DC.type for attribute name on element meta: Keyword dc.type is not registered.

 

<meta name="DC.type" scheme="DCMIType" content="Text">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 38, Column 54: The scheme attribute on the meta element is obsolete. Use only one scheme per field, or make the scheme declaration part of the value.

 

<meta name="DC.type" scheme="DCMIType" content="Text">

 

Error Line 39, Column 56: Bad value DC.format for attribute name on element meta: Keyword dc.format is not registered.

 

<meta name="DC.format" scheme="IMT" content="text/html">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 39, Column 56: The scheme attribute on the meta element is obsolete. Use only one scheme per field, or make the scheme declaration part of the value.

 

<meta name="DC.format" scheme="IMT" content="text/html">

 

Error Line 40, Column 56: Bad value DC.identifier for attribute name on element meta: Keyword dc.identifier is not registered.

 

<meta name="DC.identifier" content="/meta-tags/dublin/">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 41, Column 45: Bad value DC.source for attribute name on element meta: Keyword dc.source is not registered.

 

<meta name="DC.source" content="/meta-tags/">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 42, Column 55: Bad value DC.language for attribute name on element meta: Keyword dc.language is not registered.

 

<meta name="DC.language" scheme="RFC1766" content="en">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 42, Column 55: The scheme attribute on the meta element is obsolete. Use only one scheme per field, or make the scheme declaration part of the value.

 

<meta name="DC.language" scheme="RFC1766" content="en">

 

Error Line 43, Column 47: Bad value DC.relation for attribute name on element meta: Keyword dc.relation is not registered.

 

<meta name="DC.relation" content="/meta-tags/">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

Error Line 44, Column 41: Bad value DC.coverage for attribute name on element meta: Keyword dc.coverage is not registered.

 

<meta name="DC.coverage" content="World">

 

Syntax of metadata name:

A metadata name listed in the HTML specification or listed in the WHATWG wiki. You can register metadata names on the WHATWG wiki yourself.

 

---

Link to comment
Share on other sites

most, if not all html5 validators are experimental. Just make sure your page does not break in other browsers. And keep in mind that for quite some stuff you require javascript to compensate for older browsers such as shim: http://code.google.com/p/html5shim/ or you need to set display block for new block elements.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.