Answers for "html meta image"

34

html meta tags

<head lang="en">
  <meta http-equiv="content-language" content="en">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="keywords" content="website, blog, foo, bar">
  <meta name="author" content="John Doe">
  <meta name="publisher" content="John Doe">
  <meta name="copyright" content="John Doe">
  <meta name="description" content="This short description describes my website.">
  <meta name="page-topic" content="Media">
  <meta name="page-type" content="Blogging">
  <meta name="audience" content="Everyone">
  <meta name="robots" content="index, follow">
  
  <title>My website title</title>
</head>
Posted by: Guest on August-27-2020
1

meta property="og:description"

<meta property="og:image" content="https://example.com/rock.jpg" />
<meta property="og:image:width" content="300" />
<meta property="og:image:height" content="300" />
<meta property="og:image" content="https://example.com/rock2.jpg" />
<meta property="og:image" content="https://example.com/rock3.jpg" />
<meta property="og:image:height" content="1000" />
Posted by: Guest on September-27-2020
0

html meta tags

<title>Website Title</title>
<meta name="description" content="Site Meta Description" />
<meta name="keywords" content="Site Meta Keywords" />
<meta name="author" content="Author Name" />

<!-- 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">
Posted by: Guest on July-24-2021
0

meta og tags

og tag
Posted by: Guest on November-19-2020

Browse Popular Code Answers by Language