In HTML, you can use meta tags or a tags to jump to pages. The code for jumping pages is "" and "".
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
Meta jump in HTML
In HTML pages, you can use meta tags to jump into the page. This method can control the jump time and liberalize it. The definition of the jump URL
html jump code is as follows
<meta http-equiv="refresh" content="5;url=//m.sbmmt.com">
Code explanation
Looking at the code above, there is a content attribute in the meta tag, which means that this page is opened After, how many seconds will it take to start the jump. There is also a URL attribute, indicating the redirected URL
The A tag in HTML jumps
The A tag in HTML can also be regarded as a page jump kind, just click the mouse to enter the jump
html A tag jump code is as follows
<a href="//m.sbmmt.com">PHP中文网</a>
Recommended tutorial: "html video tutorial"
The above is the detailed content of What is html jump code. For more information, please follow other related articles on the PHP Chinese website!