HTML Attributes
HTML content attribute
Provides the value for a meta element using name or http-equiv. The acceptable syntax depends on the selected metadata key. Applicable elements include: <meta>. Check each element’s value rules.
Formal Syntax & Structure
html syntaxhtml
content="A guide to vegetable gardening."Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| content | text interpreted by metadata key | Provides the value for a meta element using name or http-equiv. The acceptable syntax depends on the selected metadata key. |
Working Example
Example Snippethtml
<meta name="description" content="A guide to vegetable gardening.">