You are on page 1of 6

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