HTML · Metadata and script attributes

content

Provides the value for a meta element such as viewport, description or theme-color.

Syntax
content="width=device-width, initial-scale=1"

Example

Try it

More in this group

async blocking charset defer http-equiv nomodule property

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course