meta content attribute
The content attribute on the meta element:
- → specifies the value of the metadata or the value of the pragma directive
- content is a specific attribute → can be applied ONLY on the next HTML5 element: meta
Note
The content attribute is present on the element ONLY IF either name attribute either http-equiv attribute are also present.
Examples
<meta | attribute | = | "value(s)" | > | Examples | ||
---|---|---|---|---|---|---|---|
4. | content | = | property_value | <name="author" content="John Smith"> <http-equiv="refresh" content="20"> |