You are here: Reference > HTML > attributes > content (meta)

content attribute (meta)

Browser support:
Sets or returns the meta information itself.
The available values of the content attribute are dependent on the value of the name and the http-Equiv attributes.
JavaScript page for this attribute: content. You can find other example(s) there.

Possible values:

String that sets the given type (specified by http-Equiv or name attribute) of information. The value of this attribute is dependent on the value of the http-Equiv and the name attributes.
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the content attribute:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Expires" content="Tue, 20 Aug 2020 14:25:27 GMT" />
    <meta name="Author" content="Dottoro" />
<body >
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content