Open In App

HTML | <meta> name Attribute

Last Updated : 06 Jun, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

The HTML <meta> name Attribute is used to specify the name for the metadata. This attribute is used to define the name for the information/value of the content attribute. 

Note: If the http-equiv attribute is set, the name attribute should not be set. 

Syntax:

<meta name="value">

Examples: 

html




<!DOCTYPE html>
<html>
 
<head>
    <meta name="keywords"
        content="Meta Tags, Metadata"  />
</head>
 
<body>
    <center>
        <h1>GeeksForGeeks</h1>
        <h2> Meta name attribute</h2>
        <p>Hello GeeksforGeeks!</p>
</center>
</body>
 
</html>            


Output:

  

Supported Browser: The browsers supported by HTML <meta> name Attribute are listed below:

  • Google Chrome 1 and above
  • Edge 12 and above
  • Internet Explorer 6 and above
  • Firefox 1 and above
  • Opera 12.1 and above
  • Safari 4 and above

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads