description.content.html
- Default
- error
- Plugin
description
The description has no HTML tags in its text.
Why: A description holds plain text. Tags in it, such as an escaped <b>, show up as literal text in search results.
Only the tags of HTML elements, comments, and declarations count. A description can name a tag that no HTML element has, such as <svelte:head> or <my-element>.
When off: descriptions with tags pass.
<!-- ✗ Fails -->
<meta name="description" content="Our <b>best</b> bread." />
<!-- ✓ Passes -->
<meta name="description" content="Our best bread." />
<meta name="description" content="How <svelte:head> works." />
References
- Google: Snippets: A description is plain, human-readable text.