+ 2

HTML HYPERLINK PROBLEM !

If i want to go to top of the page made from html or on the middle how may i do it Suppose I write <a href="#">click to go to top</a> Then i go to the top of webpage so how can I go to middle of the webpage or end ??? (Lisa Can you help ??)

6th Feb 2022, 5:55 AM
CODY RAZA ツ
CODY RAZA ツ - avatar
1 ответ
+ 3
You need to define two anchor tags. The first one is the target where you want to jump to, it can be an empty tag too. <a name="chapter1"></a> And a second anchor is the actual hyperlink that points to the named position on the same page <a href="#chapter1">go to chapter 1</a>
6th Feb 2022, 6:03 AM
Tibor Santa
Tibor Santa - avatar