Open In App

HTML | <meta> name Attribute

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: 






<!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:

Article Tags :