Last reviewed: 3/23/2024 8:47:45 AM

In this article

<meta>

A <meta> element defines a metadata item as a name/value pair.

Syntax

<meta content="string"
      http-equiv="string"
      name="string" />

Attributes

content

The value of the metadata property.

http-equiv

The name of an HTTP response header.

name

The name of the metadata property.

Children

none

Parents

<grammar>

Example

The following example illustrates using metadata.

<meta name="Creator" content="Jane Doe"/>

<meta http-equiv="Expires" content="0"/> 
<meta http-equiv="Date"    content="Thu, 12 Dec 2000 23:27:21 GMT"/>