References

Collection of references for web development.

HTML meta tag

Description

The HTML <meta> element represents additional information about the document that is not visible to the user, this information is commonly stored in the <head> section of a document.

Attributes

Attribute Value Description
charset character_encoding Specifies the character encoding used for the document.
content string Specifies the content for the element.
http-equiv content-type,default-style,refresh Specifies the HTTP header for the content attribute.
name application-name
author
description
generator
keywords
referrer
Specifies the name of the element, its associated with the content attribute.

Example

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,minimum-scale=1">
		<meta name="description" content="Description about your websites document">
		<meta name="keywords" content="Comma-separated keywords indicating what the page is about">
		<title>Example document using meta tags</title>
	</head>
	<body>
		<p>Page content...</p>
	</body>
</html>