How does Google handle supported meta tags and HTML attributes?

ProcrustesPR

Google handles the meta tags and HTML attributes it supports according to their purpose: some provide page descriptions, some control indexing and search snippets, and others help discover resources. Unsupported tags are ignored. It is therefore inaccurate to say broadly that Google “does not use meta tags” or to treat all tags as the same kind of search setting.

ProcrustesPRProcrustesPRHow Long Does It Take to Evaluate SEO Results?

Meta tags belong in the head section; their function depends on their content

Meta tags provide search engines and other clients with information about a page and should be placed in the HTML head section. Google can interpret both HTML and XHTML formats. If you use a content management system (CMS) such as WordPress or Wix, you may be able to enter this information through its search engine settings without editing the code directly.

For example, description provides a short description of the page, which Google uses as a search result snippet in some circumstances. There is no guarantee that the text will appear exactly as written. charset defines the character set; Google’s documentation recommends using Unicode/UTF-8 whenever possible.

Indexing rules: which search engines they apply to and when they work

robots can provide instructions to search engines that support the relevant rules, while googlebot targets Google specifically. Different search engines may interpret these rules differently, so you should not assume that the same setting will produce identical results.

  • The default rules are index, follow, so there is no need to specify them explicitly.
  • When rules conflict, Google applies the more restrictive one. For example, if both max-snippet:50 and nosnippet are specified, nosnippet applies.
  • You can use noindex to prevent indexing, but Google must be able to crawl the page to read this rule.

You therefore cannot block Google’s access with robots.txt while expecting it to read the page’s noindex rule. To specify rules for non-HTML resources such as PDFs and images, you can use the X-Robots-Tag HTTP response header.

HTML attributes help discover resources and limit snippets

Google supports a limited number of HTML attributes for indexing purposes. src and href help discover resources such as images and URLs, while the rel attribute can describe the nature of outbound links.

To keep a particular passage out of search snippets, place it inside a div, span, or section element with the data-nosnippet attribute. This serves a different purpose from asking that the entire page not be indexed.

Google also ignores location-related meta tags such as geo.position and distribution, as well as HTML attributes that specify geographic regions. If your site has multilingual or multiregional versions, use methods such as hreflang and explicit links to tell Google about them.

Verification, translation, and reading aloud each have dedicated settings

  • google-site-verification can be placed on your site’s top-level page to verify ownership in Search Console. The name and content values must exactly match the verification information provided, including capitalization.
  • When Google believes a page may not be in the language a user wants to read, it may offer a translated title and snippet. You can use notranslate to tell Google not to offer a translation of that page.
  • nopagereadaloud can prevent Google’s text-to-speech services from reading the page’s content aloud.
ProcrustesPRProcrustesPRWhere should I start if I want to do SEO myself?

Google’s supported meta tags and HTML attributes: perspectives from across the web

What is the viewport tag used for?

The viewport tag tells browsers how to render a page on mobile devices. According to Google’s documentation, this tag lets Google know that the page is suitable for viewing on mobile devices. Its purpose is to provide information about mobile rendering, not to set indexing rules for the page.

How can you label pages containing explicit adult content?

You can use the rating meta tag to label a page as containing sexually explicit adult content, indicating that SafeSearch should filter it out. Values you can use include adult and RTA-5042-1996-1400-1577-RTA.

Can you use meta refresh to redirect to another URL?

Yes. Meta refresh can send users to a new URL after a period of time, so it is sometimes used as a simple redirect method. However, not all browsers support this tag, and it may confuse users. Google’s documentation recommends using a server-side 301 redirect instead.

ProcrustesPRShould I rewrite or update an old article that does not rank?

References

  1. Google 支援的中繼標記和屬性 | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Discusses: What is the viewport tag used for?; How can you label pages containing explicit adult content?
  2. 使用「noindex」禁止 Google 搜尋建立索引 | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Source used in the article above.
  3. 管理多地區和多語言版本的網站 | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Source used in the article above.

Related articles

How Long Does It Take to Evaluate SEO Results?Where should I start if I want to do SEO myself?Should I rewrite or update an old article that does not rank?What should I check when organic traffic suddenly drops?Why can I not find my published article on Google?Will Reposting Social Content on My Website Cause a Duplicate-Content Penalty?Eight SEO essentials for beginners: Getting your pages indexedWhat Is SEO? Understanding Optimization Priorities Through How Search Engines Work
ProcrustesPR
ProcrustesPR