Skip to content
Related Articles

Related Articles

HTML | <meta> name Attribute

Improve Article
Save Article
  • Difficulty Level : Basic
  • Last Updated : 06 Jun, 2022
Improve Article
Save Article

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
My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!