xxxxxxxxxx
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
xxxxxxxxxx
<!-- Primary Meta Tags -->
<title>Google</title>
<meta name="title" content="Google">
<meta name="description" content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.google.com/">
<meta property="og:title" content="Google">
<meta property="og:description" content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.">
<meta property="og:image" content="">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://www.google.com/">
<meta property="twitter:title" content="Google">
<meta property="twitter:description" content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.">
<meta property="twitter:image" content="">
xxxxxxxxxx
<!-- Primary Meta Tags -->
<title>Google</title>
<meta name="title" content="Google">
<meta name="description" content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.google.com/">
<meta property="og:title" content="Google">
<meta property="og:description" content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.">
<meta property="og:image" content="">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://www.google.com/">
<meta property="twitter:title" content="Google">
<meta property="twitter:description" content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.">
<meta property="twitter:image" content="">
xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="Description of your web page">
<meta name="keywords" content="keywords, separated, by, commas">
<meta name="author" content="Your Name">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Web Page Title</title>
</head>
<body>
<!-- Your web page content -->
</body>
</html>
xxxxxxxxxx
<!-- meta tag defines about the metadata in an html document, meta tags
always go inside the head tag .It is typically used to specify
page description, character set, keywords, author of the document
and viewport settings. The information we store in the meta tag
are not displayed directly in the website but are read by the bots
of the browsers and using this our website will be positioned in
the search list of the search result. To rank our website, the keyword
content most importantly should be 'search engine optimised'(S.E.O).
-->
xxxxxxxxxx
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
xxxxxxxxxx
The <meta> tag defines metadata about an HTML document. Metadata is data (information) about data.
<meta> tags always go inside the <head> element, and are typically used to specify character set, page description, keywords, author of the document, and viewport settings.
Metadata will not be displayed on the page, but is machine parsable.
Metadata is used by browsers (how to display content or reload page), search engines (keywords), and other web services.
There is a method to let web designers take control over the viewport (the user's visible area of a web page), through the <meta> tag (See "Setting The Viewport" example below).