How is meta tag used in a HTML page

 
 
<meta http-equiv="X-UA-Compatible" content="IE=10">
 
 <meta http-equiv="refresh" content="30">
<meta name="generator" content="Oracle UIX"> 
<meta name="viewport" content="width=device-width,initial-scale=1.0">
 
Use the name attribute to define a description, keywords, and the author of an HTML document.
 
 <meta name="value"> 
 
Attribute Values:
 
 application-name
author
<head>
  <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> 
 
 
 
 The http-equiv attribute provides an HTTP header for the information/value of the content attribute.
 
<head>
  <meta http-equiv="refresh" content="30">
</head>
 
Note: If the http-equiv attribute is set, the name attribute should not be set. 
 
HTML5 introduced a method to let web designers take control over the viewport (the user's visible area of a web page), through the <meta> tag  
 
<meta name="viewport" content="width=device-width, initial-scale=1.0"> 
 
The width=device-width part sets the width of the page to follow the screen-width of the device (which will vary depending on the device).
The initial-scale=1.0 part sets the initial zoom level when the page is first loaded by the browser.

 
 

Analytics