-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeta.html
More file actions
35 lines (34 loc) · 1.33 KB
/
meta.html
File metadata and controls
35 lines (34 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<pre>
meta tag defines the metadata about an HTMl element
metadata is data about data.
This tag typically used for specify charecterset,page description,keywords, author of the document and view port of the settings.
metadata didn't displayed on the browser.
Attributes :
<code>charset - speciefies the charecter encoding(UTF-8)</code>
<pre>
Ex : <code> meta charset="UTF-8" </code>
</pre>
<code>content - specifies the value associated with the http-equiv</code>
<pre>
Ex : <code>meta name="keywords" content="html,css,javascript"</code>
</pre>
<code>http-equiv - provides an HTTP header for the information of the content attribute</code>
<pre>
Ex : <code>meta http-eqiv="refresh" content=30</code>
</pre>
<code>name - the name deifnes descriotion,keywords and the author of an HTML element</code>
<pre>
Ex : <code>meta name="description" content="free web tutorials"</code>
</pre>
</pre>
</body>
</html>