+ 1
Does anyone know how to go to another "page" on the same page using the HTML button tag?
3 Réponses
+ 2
Using HTML
One can use the anchor tag to redirect to a particular section on the same page. You need to add an "id attribute" to the section you want to show and use the same id in the href attribute with "#" in the anchor tag. So that, on clicking a particular link, you will be redirected to the section that has the same ID mentioned in the anchor tag.
+ 2
Or you can checkout this link https://www.geeksforgeeks.org/jquery/how-to-redirect-to-a-particular-section-of-a-page-using-html-or-jquery/
0
Mind that sololearn playground is a sandbox, and you can not do actually multipage projects.