Metadata Names

HTML meta name="robots"

Provides indexing and link-following directives to compatible crawlers, not access control. Crawlers must be able to fetch the page to see the directive; use authentication for private content. Place this metadata in the document head. Its consumer depends on the name: some values are browser settings, others are crawler or application metadata.

Formal Syntax & Structure

html syntaxhtml
<meta name="robots" content="noindex, follow">

Parameters & Attributes

NameTypeDescription
namekeywordUse robots.
contentname-specific text or tokensExample value: noindex, follow. Interpret according to the metadata name.

Working Example

Example Snippethtml
<!doctype html><html lang="en">  <head>    <meta charset="utf-8">    <title>Example</title>    <meta name="robots" content="noindex, follow">  </head>  <body>    <p>Example document</p>  </body></html>
HTML Reference