A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/html/html-meta-name-attribute/ below:

HTML | <meta> name Attribute

HTML | <meta> name Attribute

Last Updated : 06 Jun, 2022

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:



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4