After clicking the a tag in the page, you want to make it jump to the corresponding place in the page. The method is very simple. The content in the href in the a tag is the same as the id of the area you want to jump to, for example: Copy code The code is as follows:<a href="#jump">Click me to see</a> <p id="jump">I am the corresponding content of this area</p> If you want to jump to the corresponding place on other pages, just add the link address before #jump in href, that is: <a href="link address#jump">Click me to see</a> That's it. Isn't it simple? |
<<: Several solutions for CSS record text icon alignment
>>: Automated front-end deployment based on Docker, Nginx and Jenkins
Migration is unavoidable in many cases. Hardware ...
Table of contents Preface Check Constraints Creat...
This article shares the specific code of videojs+...
Currently, many businesses are conducting promoti...
1. Who is tomcat? 2. What can tomcat do? Tomcat i...
px(pixel) I believe everyone is familiar with the...
This article shares the specific code of NodeJS t...
Maybe you are using include files here, which is u...
Preface This article records how I use docker-com...
Perfect solution to the scalable column problem o...
The mini program collected user personal informat...
Install Filebeat has completely replaced Logstash...
It has been a long time since the birth of vue3, ...
This article is translated from the blog Usability...
Added anti-crawler policy file: vim /usr/www/serv...