Skip to main content
HTML Validation

A document must not include more than one “meta” element with its “name” attribute set to the value “description”.

About This HTML Issue

Remove duplicate <meta> elements that set the name attribute to description from your HTML document.

HTML documents should only include one <meta> element with the name attribute set to description to provide a brief summary of the webpage content. This is crucial for search engine optimization, as search engines use this information to display summaries of your pages in search results. A duplicate description meta tag can confuse search engines, possibly affecting your webpage’s visibility negatively. To resolve this, locate all <meta> elements with name="description" in your HTML and remove duplicates, leaving only one that accurately describes your content.

Example of Duplicate Meta Tags

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Sample Page</title>
  <meta name="description" content="This is a description of the page.">
  <meta name="description" content="Another description here.">
  <meta name="author" content="John Doe">
</head>
<body>
  <h1>Welcome to the Sample Page</h1>
  <p>This page serves as an example for HTML structure.</p>
</body>
</html>

Corrected Version

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Sample Page</title>
  <meta name="description" content="This is a description of the page.">
  <meta name="author" content="John Doe">
</head>
<body>
  <h1>Welcome to the Sample Page</h1>
  <p>This page serves as an example for HTML structure.</p>
</body>
</html>

Ensure that the content for the description meta tag is meaningful and relevant to what visitors can expect to find on the web page.

Last reviewed: April 21, 2025

Was this guide helpful?

Find issues like this automatically

Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.

Ready to validate your sites?
Start your free trial today.