cycles
0
Q:

what is the meta tag in html

<head>
  <meta charset="UTF-8">
  <meta name="description" content="Free Web tutorials">
  <meta name="keywords" content="HTML, CSS, JavaScript">
  <meta name="author" content="John Doe">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
3

    <head>

  
 <meta charset="UTF-8">

  
 <meta name="description" content="Free Web tutorials">

  
 <meta name="keywords" content="HTML,CSS,XML,JavaScript">

  
 <meta name="author" content="John Doe">
  <meta 
    name="viewport" content="width=device-width, initial-scale=1.0">

 </head>
 
4
<!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>
1


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

 
4
<!-- 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).

 -->
     
0

<meta http-equiv="refresh" content="30">
 
1

New to Communities?

Join the community