Posts

Showing posts with the label html

What is Meta tag in HTML and what does <meta charset="utf-8"> do?

Image
1. Introduction What is Metadata?         Metadata is data that describes data. It can be data about HTML, such as author, and import keywords that describe the document. The metadata can be added to an HTML document using the &ltmeta&gt element. There are a lot of different types of elements that can be added to your HTML document. Out of these &ltmeta charset="utf-8"&gt is also one type. Where should we place &ltmeta&gt tag inside HTML document?      The &ltmeta&gt must be placed inside the &lthead&gt tag. The job of the HTML head tag is to contain metadata about the document. The head of an HTML document is the part that is not displayed in the web browser when the page is loaded. It contains information such as the page &lttitle&gt, links to CSS, links to custom favicons, and other metadata. 2. What does &ltmeta charset="utf-8"&gt do? This element simply specifies the document's...