<meta> tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

<meta> tag

what is the function of meta tag in the head tag?

19th Feb 2018, 5:25 AM
Blizz
Blizz - avatar
2 Answers
+ 61
The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page. Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata. the metadata can be used by browsers , search engines, or other web services. web designers can take control over the viewport, through the <meta> tag. Eg:- <meta name="viewport"content="width=device-width, initial-scale=1.0"> https://www.w3schools.com/tags/tag_meta.asp
19th Feb 2018, 5:47 AM
Elizabeth🌸
Elizabeth🌸 - avatar
+ 5
the meta tag is for adding metadata
19th Feb 2018, 7:18 AM
Shardul Nalegave