Easy Tutorial
❮ Att Img Border Tag Source ❯

HTML <meta> name Attribute

HTML <meta> Tag

Example

Use the name attribute to define the description, keywords, and author of an HTML document:


Browser Support

All major browsers support the name attribute.


The name attribute specifies the name of the metadata. It specifies the name of the information/value of the content attribute.

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


Differences Between HTML 4.01 and HTML5

None.


Syntax

Attribute Values

Value Description
application-name Specifies the name of the web application represented by the page.
author Specifies the name of the author of the document. <br> <br>Example: <br> <meta name="author" content="Hege Refsnes">
description Specifies a description of the page. Search engines may display this description in search results. <br> <br>Example: <br> <meta name="description" content="Free web tutorials">
generator Specifies the software package used to generate the document (not used for hand-written pages). <br> <br>Example: <br> <meta name="generator" content="FrontPage 4.0">
keywords Specifies a comma-separated list of keywords - relevant to the page (used by search engines to relate the page to relevant topics). <br> <br>Tip: Always specify keywords (necessary for search engines to classify the page). <br> <br>Example: <br> <meta name="keywords" content="HTML, meta tag, tag reference">
❮ Att Img Border Tag Source ❯