Get the HTTP header for the information of the content attribute in HTML

HTMLWeb DevelopmentFront End Technology

Use the http-equiv attribute to get the HTTP header for the information of the content attribute in HTML.

Example

You can try to run the following code to implement http-equiv attribute −

<html>
   <head>
      <title>HTML http-equiv attribute</title>
      <meta name = "keywords" content = "HTML, meta tag, metadata" />
      <meta name = "description" content = "Description of the document" />
      <meta http-equiv = "refresh" content = "10" />
   </head>
   <body style = "background-color:gray">
      Document content goes here
   </body>
</html>
raja
Published on 14-Mar-2018 16:18:39
Advertisements