Search
 
SCRIPT & CODE EXAMPLE
 

HTML

meta tags

<!-- 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="">
Comment

list of meta tags

<head lang="en">
    <meta http-equiv="content-language" content="en">
    <meta charset="UTF-8">
    <meta name="robots" content="index, follow">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Site Meta Description" />
    <meta name="keywords" content="Site Meta Keywords" />
    <meta name="author" content="Author Name" />
    <meta name="publisher" content="publisher">
    <meta name="copyright" content="copyright">
    <meta name="page-topic" content="Media">
    <meta name="page-type" content="Blogging">
    <meta name="audience" content="Everyone">
    <title>My website title</title>
    <!-- Facebook, whatsapp, instagram, twitter and other popular social media -->
    <meta property="og:title" content="Site Title">
    <meta property="og:description" content="Site Content short description">
    <meta property="og:image" content="http://example.com/thumbnail.jpg">
    <meta property="og:url" content="http://example.com">
    <meta name="twitter:card" content="summary_large_image">

    <!-- Some Non-essential but recommended -->
    <meta property="og:site_name" content="Website Name"> <!-- Optional -->
    <meta name="twitter:image:alt" content="Alt text for image"> <!-- Optional -->

    <!-- If has need analytics for facebook and twitter -->
    <meta property="fb:app_id" content="your_app_id" />
    <meta name="twitter:site" content="@website-username">

</head>
Comment

meta tags

<!-- 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="">
Comment

Meta tags

<!-- Required meta tags -->
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
Comment

meta tag

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

meta tags

<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Comment

meta tag

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).
Comment

uses of meta tag in html

meat tag
Comment

PREVIOUS NEXT
Code Example
Html :: uncaught error: bootstrap 
Html :: default value input 
Html :: html to pdf angular 
Html :: markup embed youtube 
Html :: embed xml in html page 
Html :: image as banner html 
Html :: Cannot resolve net.md-5:bungeecord-api:1.16-SNAPSHOT 
Html :: button attributes in html 
Html :: how to put dowloadable resume on website html 
Html :: add image in html 
Html :: how to set canvas on background html 
Html :: move cursor to end of line javascript 
Html :: xpath equals 
Html :: ul html 
Html :: html + sign 
Html :: how to download file html button 
Html :: hard reload chrome 
Html :: angular material disable radio button 
Html :: slick slider slidestoshow auto 
Html :: &nbsp html 
Html :: how to make a username and password in html 
Html :: bootrsrap 
Html :: link react to html 
Html :: a href rel 
Html :: how to put a name on a fieldset 
Html :: muted not working in video tag angular 
Html :: link d3 
Html :: split screen html 
Html :: how to make a list in html 
Html :: time.mktime 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =