Tutorials References Exercises
Log in
Buy Courses

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


Meta Example

Refresh document every 30 seconds:

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

Browser Support

http-equiv Yes Yes Yes Yes Yes