# SEO

Compass validates that all the HTML meta tags specific to SEO are present on your pages with values that make sense.

The very first requirement for SEO meta tags is that they are part of the <head> HTML tag and nowhere else on the page.

# Title

Every page must contain a title tag. For best results, this tag's content must be between 40 and 60 characters.

<!-- With 48 characters, this title is a good length:  -->
<title>
What is happening in your town -Latest- The News
</title>
<!-- With 8 characters, this title is too short: -->
<title>
The News
</title>

<!-- With 88 characters, this title is too long: -->
<title>
The News - A web magazine about the latest information and everything you want to learn!
</title>

# Description

Every page should include a description meta tag:

<meta name="description" content="[DESCRIPTION]" />

# Crawling Robots meta tags

Compass verifies the content of two different crawling-related meta tags: robots and googlebot.

They are both optional. However, if your pages contain them, they should never include noindex, none, or nosnippet. Your article pages wouldn't be indexed as expected if they did.

# Text encoding

Your pages must include one of the following meta tags:

<meta charset="[CODIFICATION]" />
<meta http-equiv="Content-Type" content="[CODIFICATION]" />

If you use the first or second tag, respectively, the charset or content value must be text/html; charset=utf-8.

# Page versions

All your pages must include a link to their canonical version, that is to say, the original standard Web version.

For any given article, there can be only one valid canonical URL and only one AMP URL.

<link rel="canonical" href="https://www.news.com/missing-phonebox.html" />