What is the use of meta tag in the head section of HTML?

By: Madan K S | 04 May 2019


Swapnil Bharti

26 July 2019

The Meta tag uses to provide information about data in HTML documents. The <meta> tag is an empty element and It does not have a closing tag but it carries information within its attributes. 

In Meta tag, Metadata (information about data) will not be displayed on page BUT will be machine parsable. Most important information the <meta> tags always go inside the <head> tag.

Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata in the HTML head section, the example mentioned below:


  <meta charset="UTF-8">

  <meta name="description" content="A answer of the meta tag">

  <meta name="keywords" content="HTML, HTML Meta Tag, XML, JavaScript, CSS">

  <meta name="author" content="Swapnil">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">


1 votes

Your Answer

Advertise With Us

Email us for details: advertise@gdatamart.com

Legal Policy
Sitemap & Support
© 2021 GDATAMART.COM (All Rights Reserved)