Meta tags are placed in the header section of a web page, between the and tags. The header section is where you place various pieces of information, such as the page title, scripts, CSS style sheets, and meta tags.
Example of using a meta tag to set a page description:
<!DOCTYPE html>
<html>
<head>
<meta charset=”UTF-8″>
<meta name=”description” content=”Opis strony, który będzie wyświetlany w wynikach wyszukiwania”>
</head>
<body>
<!– treść strony –>
</body>
</html>
In the above example, the meta tag with the name=”description” attribute is used to set the page description that will be displayed in search results. The content attribute specifies the content of the description.