HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

HTML meta Tag

HTML meta Tag

 

 

The meta tag defines metadata about an HTML document. It is information related to document data. It must always go inside the head tag. It is typically used to specify the character set, page description, keywords, author of the document, and viewport settings. It is not shown on the webpage but machines can read it.

 

Attribute Explanation:-

 

Attribute Value Description
charset character_set Specifies the character encoding for the HTML document
content text Specifies the value associated with the http-equiv or name attribute
http-equiv content-security-policy
content-type
default-style
refresh
Provides an HTTP header for the information/value of the content attribute
name application-name
author
description
generator
keywords
viewport
Specifies a name for the metadata

 

Syntax:-

 

Its syntax is:- < meta >

Code Explanation

All Tutorials related to HTML Tags List

All Sections related to HTML