---
layout: single
elementName: meta
---
Defines metadata attached to a web page.
Example:
Copy
Example:
Copy
Example:
Copy
Defines the character encoding for the whole web page. The value must be a valid character set. Defines meta rules for the web page. Defines a link to a web page's content policies. Allows to refresh the web page every N seconds, or even redirect to another URL. Defines which Internet Explorer verison the web page should be rendered as. Defines additional information attached to the web page. Defines dimension and scaling rules for the viewport. Defines a theme color which can be used by the browser or the operating system. Defines the content of the metadata. This varies according to the For the For the
#
meta
charset
"UTF-8"
http-equiv
"Content-Security-Policy"
"refresh"
"X-UA-Compatible"
name
"viewport"
"theme-color"
content
name or http-equiv value.
"width=device-width, initial-scale=1"
viewport metadata, you can specify the width and initial scale of the web page.
"2; url=http://cssreference.io"
refresh metadata, you can specify how many seconds to wait before redirecting to another URL.