Answers for "what is the meta tag"

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
9

meta description

<meta name="description" content="A page's description, usually one or two sentences."/>
Posted by: Guest on June-13-2020
2

what are the attributes of meta tag

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"><!-- ensures the character encoding -->
<meta name="keywords" content="give a short or mid description about the content keywords of your website">
<meta name="description" content=""give a short or mid description about the contents of your website">
<meta name="author" content="write the name of the author of the webpage">
<meta name="refresh" content="50"><!-- writing this code will make sure the browser refreshes after every 50seconds -->
<meta http-equi="refresh" content="5; url="write the url of your website"><!-- writing this code, the browser will automatically redirect to the given page after the provided time , in this case it is 5seconds -->
<meta name="viewport" content="width=device-width, initial-scale=1.0"><!-- this makes sure that the webpage is supported on all devices -->
</head>
<body>
</body>
</html>
Posted by: Guest on September-10-2020
1

meta description

<meta name="description" content="Full Stack Web Developer Portfolio. Front-end & Back-end Web Developer based
in Berlin, Germany. Tech stack include React, JavaScript, Node, SQL.">
Posted by: Guest on October-03-2020
0

meta tag

<meta name="viewport" content="width=device-width, initial-scale=1.0">
Posted by: Guest on August-20-2021

Browse Popular Code Answers by Language