Skip to main content
HTML Validation

Element “meta” is missing one or more of the following attributes: “http-equiv”, “itemprop”, “name”, “property”.

About This HTML Issue

A <meta> element with a content attribute also needs an attribute that declares what that content means: name, http-equiv, property, or itemprop.

The content attribute only holds a value. Without one of the four declaring attributes, browsers and search engines have no way to tell whether that value is a page description, a viewport setting, an Open Graph property, or something else, so the tag does nothing. The validator usually reports this when the declaring attribute was misspelled (nme="viewport"), accidentally deleted while editing, or stripped out by a CMS or template.

Pick the attribute that matches the metadata you intend: name for document metadata such as description or viewport, http-equiv for pragma directives, property for Open Graph and other RDFa vocabularies, and itemprop for microdata.

Invalid example

This <meta> tag has a value but nothing that identifies it as the viewport configuration:

<head>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1">
  <title>Example page</title>
</head>

Valid example

Adding name="viewport" gives the value its meaning:

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Example page</title>
</head>

Find issues like this automatically

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

Help us improve our guides

Was this guide helpful?
🌍 Trusted by teams worldwide

Validate at scale.
Ship accessible websites, faster.

Automated HTML & accessibility validation for large sites. Check thousands of pages against WCAG guidelines and W3C standards in minutes, not days.

Scheduled Reports
API Access
Open Source Standards
$7 / 7 days

Pro Trial

Full Pro access. Cancel anytime.

Start Pro Trial →

Join teams across 40+ countries