Name

NAME — NN all IE all HTML all

Synopsis

NAME=”identifier"

Optional

An identifier for the name/value pair that constitutes the META element. Typically, the attribute value is a plain-language term that denotes the purpose of the META element, such as "author" or "keywords". You can assign a value to either the NAME or HTTP-EQUIV attribute, but not both, in the same META element.

Example

<META NAME="Author" CONTENT="Jane Smith">
<META NAME="keywords" CONTENT="benefits,insurance,plan">

Value

Any string identifier.

Default

None.

Object Model Reference

IE

[window.]document.all.elementID.name

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.