Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

HTML http-equiv Attribute


Definition and Usage

The http-equiv attribute provides an HTTP header for the information/value of the content attribute.

The http-equiv attribute can be used to simulate an HTTP response header.


Applies to

The http-equiv attribute can be used on the following element:

Element Attribute
<meta> http-equiv

Example

Meta Example

Refresh document every 30 seconds:

<head>
<meta http-equiv="refresh" content="30">
</head>
Try it Yourself »

Browser Support

Attribute
http-equiv Yes Yes Yes Yes Yes