The meta tag in HTML

The meaning of the meta tag in HTML

The meta element is used to add machine-readable information to an HTML document. Information added with the meta tag is not displayed to website visitors, but is made available for use by browsers and search engine crawlers.
The tag is placed in the head section of the page.

The metadata contained in the tag

The meta element contains information about your page. The metadata contained in the tag is designed to help with categorization, search engine indexing, and browser behavior.
Metatags should be used not only for proper display in the browser and search, but also for internal site optimization.

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="A short description of page content">
  <title>The meta tag in HTML</title>
  <meta name="keywords" content="keyword 1,..., keyword n">
  <meta http-equiv="refresh" content="120">

  <h2>The meaning of the tag meta in HTML</h2>
  The meta element is used to add machine-readable information to an HTML document.
using meta tag attributes

You can write meta tags in any sequence and in any quantity. It is extremely important to adhere to the main rule – do not use more than three keywords, which will be unique for each page. This will allow the site to work much more fully and consistently with the user audience.

The most important and frequently used attributes of meta tags

charsercharacter_setAssigns the HTML encoding to the document
contentтекстMain content of the meta tag. Specified with name or http-equiv
nameTag name
authorPage author name
descriptionPage content short description
keywordsPage Keywords
http-equivSpecifies the HTTP header of the content attribute
refreshSets the auto-update interval for the page
default-styleAssigns the preferred style sheet

When you create a website markup, it is recommended that you store two metadata (priority belts) in the /bib/hashtabs and /hashtabs/ metadata files. These same two metadata files are recommended at the root page. The tag should always be present.

Leave a Comment

Your email address will not be published. Required fields are marked *