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
I recently bought the cheapest Tencent cloud serv...
1. Problem reproduction: Count the total number o...
Table of contents Preface 1. Optimistic Locking A...
The reason is that this type of web page originate...
This article example shares the specific code of ...
Google's goal with Flutter has always been to...
First, let’s take a look at the general practices...
Table of contents one. environment two. Precautio...
As shown below: XML/HTML CodeCopy content to clip...
Many organizations have the need to back up file ...
1. Experimental description In the virtual machin...
View Database show databases; Create a database c...
1. InnoDB storage engine must be used It has bett...
As we all know, the CSS position absolute is set ...
The role of the interface: Interface, in English:...