Multiple <meta> Tags with the Same Name

moey picture moey · Jun 30, 2011 · Viewed 9.1k times · Source

I need to specify multiple copyrights or authors using the <meta> tag. Can I use a <meta> tag with the same name multiple times?

<meta name="copyright" content="Company A" />
<meta name="copyright" content="Company B" />

Will the search engine respect both values? Or, do I need to comma-separate them in one <meta> tag?

Thanks.

Answer

Floern picture Floern · Jun 30, 2011

Using multiple meta tags with the same name is valid HTML.

But we don't know how search engines and other readers will interpret them. Either two meta tags will be concatenated or one of them will be ignored/overwritten.

Example: The PHP-function get_meta_tags() will ignore multiple meta tags with an equal name.

To avoid possible problems I would recommend to use a single meta tag:

<meta name="copyright" content="Company A, Company B" />