Press "Enter" to skip to content

htmlmeta

HTML Meta Tag

The META Element includes the document information used by server (search engines) for identifying, Indexing , cataloguing documents.
The META tag is place inside the <HEAD> ..</HEAD> Elements.
The META tag have the following attributes.
HTTP-EQUIV :The HTTP servers can read the content of the document head to generate response header for any elements defining a values for this attribute. 

Document after 5 seconds the code is as below:

<!DOCTYPE html>
<html>
<head>
<title>Meta Tags Example</title>
<meta name=”keywords” content=”HTML, Meta Tags, Metadata” />
<meta name=”description” content=”Learning about Meta Tags.” />
<meta http-equiv=”refresh” content=”10″ />
</head>
<body>
<p>w3htmlschools.. Tutorial Web site </p>
</body>
</html>

Example for HTML Meta Tag

<head>
<Meta name=”description” content=”W3htmlschool.com provides html ,mysql and PHP  tutorials” >
<body>
<b> Welcome to w3htmlschool.com ! .. will help beginner and expert to learn HTML .Make your own web page </b>
</body>
</head>

HTML head Tag/Element Attribute and Description Details

AttributeDescription
NameName = to define as keywords, description, author, revised, generator etc.
ContentCan be define the property’s value
schemea scheme to interpret the property’s value (as declared in the content attribute)
http-equivFor http response message headers meta http-equiv is used.For Example http-equiv use for refresh the page

NAME this gives the meta information name . Examples include, keywords, description, author, revised, generator etc.
CONTENT :The meta information contents to be associated with the given name and HTTP response header

HTML Tutorials