Sobes.tech
Middle

What is a meta tag? What is it used for?

sobes.tech AI

Answer from AI

The <meta> tag is used in HTML to store metadata about a web page that is not displayed directly to the user. It is placed inside the <head> and serves to specify information such as the page's character encoding, description, keywords for SEO, viewport settings for responsive design, and other parameters.

Example of usage:

<meta charset="UTF-8">
<meta name="description" content="Page description">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

Thus, <meta> helps browsers and search engines correctly process and display the page.

What is a meta tag? What is it used for? — Frontend - sobes.tech