What this article brings to you is about using a link to jump to a certain part of this page or another page (code example). It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. Helps.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <a href="#aaa">跳转至aaa处</a><br/> <a name="aaa">我是aaa处</a> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> <p>... ... ... ... ... ...</p> </body> </html> 注:1. 必须保证跳转到的部分其后的内容能够覆盖整个浏览器的高度否则无法看出效果。 2.<a href="#name">...</a>和<a name="name">...</a>必须配对使用。 3.也可将<a name="name">改为<a id="name">。
The above is a complete introduction to using a link to jump to a certain part (code example) of this page or another page. If If you want to know more about HTML video tutorial, please pay attention to the PHP Chinese website.
The above is the detailed content of Use a link to jump to a certain part of this page or another page (code example). For more information, please follow other related articles on the PHP Chinese website!