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
-
Will skipping <H> tags affect your SEO?
Will skipping <H> tags on a page have any impact on your SEO, e.g. skipping a <H2> so your page has a <H1> and then goes to a <H3>? Obviously a page must have a <H1>, but does it matter if you skip other headings?
Technical SEO | | ciehmoz0 -
Is Tag Manager a good option to insert text in websites?
Is Tag Manager a good option to insert text in websites? When a website doesn't have an administration panel adding text is a very big problem.
Technical SEO | | propertyshark0 -
Google is not respecting the meta title
We're experiencing a peculiar situation with Google not respecting our meta <title>.</p> <p>As you can see in the first image (search result), the title <a href="http://open.iebschool.com/profesores/startups/">for the page</a> is a part of the content. This is relatevely normal for the description, but we never heard of Google doing this before.</p> <p>In the code, the <title> and meta description are correctly implemented.</p> <blockquote style="background-color: #f7f7f7; padding-top: 5px; margin-left: 0px; padding-left: 2px; padding-bottom: 5px; white-space: nowrap; overflow-y: auto; font-family: monospace; background-position: initial initial; background-repeat: initial initial;"> <p><meta name="description" content="Profesores, tutores, autores y docentes 2.0 de Open IEBS. Conoce su Biografía, experiencia, reputación, conexiones sociales y las valoraciones de alumnos."/><br /><title>Conoce los profesores, tutores, autores y docentes de Open IEBS.</title> In a further research, we discovered that the title which is using is an in anwith the following code (cleaned and simplified for the question): <hgroup> Pilar Soro
Technical SEO | | ofuente
0 Seguidor
Para poder seguir al Profesor, debes de registrarte aquí. Profesora y experta en redes sociales. Formadora de docentes, [...]
</hgroup> Note: we're correcting the code since this is quite messy, but it's the one we have now The point is that google has considered that this particular is more important than the title itself. This would make sense if we were looking for that name, but the search was simply "site:domain.com". Two things for which this is even more strange are the following: while all the /profesor/%category%/ has the same code, this only happens in some search results and not in all of them; why is it appearing in some pages, but respecting my title in others? the previous code is not the only one in the page, there are about 10 others and some are placed before and some are placed after; so, why this one and not the first or the last? What is more strange is why this article in particular and not any other of the 10 on the page since some of them are placed before and some of them are placed after. Provided this situation, we would like to know: is this a common situation? Is it happening to more people? why is it happening? Is it somehow related to , <hgroup>and ? why that piece of code and not any other article? and why is it only happening in some pages? more important, can it be corrected or can we take advantage of it somehow? Thank you in advance. Any light you can shed on this will be well received! AJ2CUSe.png?1?8232 </hgroup>0 -
Meta tags
Hello, Does anyone know how long it takes for the meta descriptions to show up in Google? This because I just updated my meta descriptions for the whole website, but while moz toolbar is showing it correctly, google is still showing the old ones, even if i used the see as googlebot tool from webmaster tools. Thanks for a reply
Technical SEO | | socialengaged
Eugenio | Social Engagement0 -
Canonical tag problem
Hello I'm newbie here i dont know very well about seo but i would like to ask your help? I'm running report about my website and on report I dont have canonical tag on my products. But if i check from on page report link by link it shows that I have canonical tag. At the same time if i check my pages code i can see below canonical tag codes? Do we use canonical tags wrong? What can cause this different information? Could you please help me? Is it important to use canonical tag beginning or end? I'm using now trial version and trying to understand report is correct what is my mistakes. Thanks in advance My code is
Technical SEO | | FRUTIKO0 -
Why is there 4 lines in competitors meta description in SERP?
Hi there, I have noticed several sites now display 4 lines of meta description in Google. Has anyone else seen this? Any help would be appreciated...thoughts? Barry
Technical SEO | | HaymarketMediaGroupLtd0 -
Canonical tags and internal Google search
Quick question: I want some pages that will have canonical tags, to show up in internal results for a Google site search that's built into the site. I'm not finished with the site, but is it correct to assume that pages with canonical will NOT show up in internal site search results, when powered by Google?
Technical SEO | | EricPacifico0