Meta can be called data about data. It means it holds information about other information, but the information is in the form of raw data. Meta Tags in HTML allows you to provide Metadata of your HTML page.
What is HTML Meta Tag
Meta tags are text snippets in the form of data that depict the content of your page. These meta tags and their value do not emerge on the web page you create. However, it can be seen in the source code of your HTML page. Meta tags act as small content descriptors that allow you to convey to search engines what your web page is about and what keywords it contains.
Other than that, metadata can be used by browsers, web services, and APIs to take data regarding a particular page. It is to be noted that the HTML <meta> tag comes within the <head> tag. Moreover, meta tags get passed in the form of a name-value pair.
<!DOCTYPE html> <head> <title> Example for Meta Tag </title> <meta name = "keyword" content = "html, css, jQuery"> </head> <body> Welcome to w3schools.in<br> You are learning about HTML Meta Tags </body> </html>
Meta tags are also used to provide a brief description of a web page, which is a helpful component for search engines.
It is used like this:
<meta name = "description" content = "HTML Meta Tag - Meta can be called as data about data." >
Moreover, Meta tags are also used for redirecting pages as well. In this case, the duration can also be set to be redirected to a specific number of seconds.
<meta http-equiv = "refresh" content="4; url = 'http://example.com' ">