W3C html5 meta tags invalid?
-
Dear Mozers,
we get errors when validating meta tags in html5.
I know it's experimental and not all metas are valid, but how do you handle this? Leave the tags out?
here are some examples:
`…name="DC.title" content="my content...xyc.." /**>**` ``` `>` ``` `>` ``` `>` ``` `>` `>`
I tried to find some information but couldn't. What would you do? Thanks a lot, Barbara
-
Thanks a lot Oleg!!
-
Did some more research... those aren't valid name values - see this.
DC.title = <title>your title here</title>
author =
language =
copyright - no longer valid, just place it into your footer as regular text
reply-to - not sure what this does
cache - must be set via htaccess/server side. and http-equiv is no longer valid
Cheers
-
Hi Oleg,
thank you for your answer.
Here are the errors:
Bad value DC.title for attribute name on element meta: Keyword dc.title is not registered.
Bad value web_author for attribute name on element meta: Keyword web_author is not registered.
Bad value copyright for attribute name on element meta: Keyword copyright is not registered.
Bad value language for attribute name on element meta: Keyword language is not registered.
Bad value reply-to for attribute name on element meta: Keyword reply-to is not registered.
Bad value pragma for attribute http-equiv on element meta. -
What error is given? Those are still valid HTML5 tags - see this.
Only difference I see is self-close in your code.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
"No Meta Description Tag"
Google is not showing Meta Description for the Keyword Rankings of my website in the SERPs. All of my Keywords Ranking are coming with just two fields. Which are just 1. Title Tag & 2. Page URL. The description tag is missing in it. Here is a proof Kindly advice please.
Technical SEO | | seobac1 -
What punctuation can you use in meta tags? Are there any Google does not like?
So I know you can use dashes and | in meta tags, but can anyone tell me what other punctuation you can use? Also, it'd be great to know what punctuation you can't use. Thanks!
Technical SEO | | Trevorneo1 -
How can my homepage have 2 meta descriptions?
Hi all, When googling our company, I see our main page pop up with 2 different meta descriptions, depending on the search query. The situation
Technical SEO | | NHA_DistanceLearning
The search query 'nha' (on google.nl) returns the main page with a meta description that looks like a random grab from the code by Google itself, starting with 'Ik volg een cursus bij de NHA...' The search query 'nha.nl' (on google.nl) returns the main page with the proper meta description, starting with 'Aanbieder van thuisstudies met onder meer MBO-opleidingen...'. So yeah, I'd like to have the main page only appear with the proper meta description, the latter one. We did have a redirect issue (duplicate homepages) a few weeks ago and programming fixed it. Could this have something to do with a redirect? I'd love to hear your thoughts. Thanks!0 -
Duplicate Title Tags on Word Press
I am having duplicate title tag. The screenshot is attached. Screaming Frog http://i.imgur.com/jsh0aF8.png I can provide my site if necessary. Appreciate any help to fix it. jsh0aF8.png jsh0aF8.png
Technical SEO | | Chris-tx0 -
What if meta description tag comes before meta title tag? Do the search engines disregard or penalize if the order is not title then description in the HTML?
Do the search engines disregard or penalize if the order is not title then description in the HTML? A client's webmaster is a newbie to SEO and did just this. Suggestions?
Technical SEO | | alankoen1230 -
Worpress Tags Duplicate Content
I just fixed a tags duplicate content issue. I have noindexed the tags. Was wondering if anyone has ever fixed this issue and how long did it take you to recover from it? Just kind of want to know for a piece of mind.
Technical SEO | | deaddogdesign0 -
Magento Canonical Tags
Magento pages have been giving me a lot of trouble with the canonical tags. In some cases duplicate pages are showing up, so I need to add the canonical tag. In other cases I'm getting an error that there are multiple canonical tags per page. How can I get my pages canonized without duplicate tags? It seems like it's either too much or not enough, no matter what I do. Note: this only applies to category and product pages.
Technical SEO | | GravitateOnline0 -
Meta tags question - imagetoolbar
We inherited some sites from another vendor & they have these tags in the head of all pages. Are they of any value at all? Thanks for the help! Wick Smith
Technical SEO | | wcksmith0