0% found this document useful (0 votes)
8 views6 pages

Understanding HTML Meta Elements

The HTML <meta> element is used to provide metadata about a web page, including character set, keywords, description, author, and viewport settings for responsiveness. These tags are placed within the <head> section of the HTML document and are not displayed on the web page but are utilized by browsers and for SEO purposes. Examples of various <meta> tags are provided, including character set and keywords for search engines.

Uploaded by

Snehal Pawar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views6 pages

Understanding HTML Meta Elements

The HTML <meta> element is used to provide metadata about a web page, including character set, keywords, description, author, and viewport settings for responsiveness. These tags are placed within the <head> section of the HTML document and are not displayed on the web page but are utilized by browsers and for SEO purposes. Examples of various <meta> tags are provided, including character set and keywords for search engines.

Uploaded by

Snehal Pawar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

The HTML <meta>

Element
Why <meta> tags are used??

Metadata is data about data

These are used basically for the character set, page


description, keywords, author of the document, and
viewport settings(responsiveness).

it is not displayed on a web page, it is basically used by


browsers

Used for SEO

@designwithrehana
Where we will include all meta tags?
In <head> tag. Example is given below:

<head>

<meta .........>
<meta .........>

</head>
All the Meta tags given below

Character set
<meta charset="UTF-8">

Define keywords for search engines:


<meta name="keywords" content="HTML, CSS,
JavaScript">

Description of your web page


<meta name="description" content="Frontend
Development">
Author of a page
<meta name="author" content="Rehana">

Refresh document every 10 seconds


<meta http-equiv="refresh" content="10">

Viewport (for Responsiveness)


<meta name="viewport" content="width=device-
width, initial-scale=1.0">

You might also like