Baseline Widely available
The content
attribute specifies the value of a metadata name defined by the <meta>
name
attribute. It takes a string as its value, and the expected syntax varies depending on the name
value used.
The types of values that a content
attribute accepts depends on the name
value. For details on specific formats and types, see the <meta>
name
attribute page.
The following <meta>
tag uses name=description
to set a "meta description" for a document. The content
attribute provides the value for the metadata:
<meta
name="description"
content="The HTML reference describes all elements and attributes of HTML, including global attributes that apply to all elements." />
Specifications Browser compatibility See also
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