"."/> ".">

Home  >  Article  >  Web Front-end  >  What is the automatic jump attribute of html web pages?

What is the automatic jump attribute of html web pages?

青灯夜游
青灯夜游Original
2021-11-17 11:30:492659browse

htmlThe automatic jump attribute of the web page is the http-equiv attribute of the meta tag; the http-equiv attribute needs to be used in conjunction with the content attribute. The syntax "".

What is the automatic jump attribute of html web pages?

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

The automatic jump attribute of the html web page is the http-equiv attribute of the meta tag.

The http-equiv attribute is used to associate the content attribute to the HTTP header; therefore, the http-equiv attribute needs to be used in conjunction with the content attribute.

Jump syntax:

<meta http-equiv=&#39;refresh&#39; content=&#39;跳转时间间隔; url=页面地址&#39;>

http-equiv='refresh': The document is automatically refreshed.

content='Jump time interval; url=page address': Define the jump time interval and jump address for automatic document refresh.

Example:

<meta http-equiv=&#39;refresh&#39; content=&#39;3; url=http://www.php.cn&#39;>

means that the page will jump to http://www.php.cn after 3 seconds ( PHP Chinese website)

What is the automatic jump attribute of html web pages?

Recommended tutorial: "html video tutorial"

The above is the detailed content of What is the automatic jump attribute of html web pages?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn