HTML http-equiv Attribute

HTML http-equiv Attribute: This attribute is mostly used in simulating an HTTP response header. It also provides an HTTP header for the information/value of the content attribute.



HTML http-equiv Attribute

This attribute can be applied to the <meta> element.

Syntax: <meta http-equiv=”value”>

Browser Support

This attribute is supported by the following browsers:

  • Chrome
  • Firefox
  • Opera
  • Safari
  • Internet Explorer

HTML http-equiv Attribute Example Using <meta> Element

<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="refresh" content="30">
</head>
<body>
<h1>freshersnow</h1>
<p>Freshers jobs and tutorial portal...
</html>

Output:

HTML http-equv attribute