Mobile app version of vmapp.org
Login or Join
Steve110

: How do I define an HTML anchor to jump to specific location within a page? I see thousands of tutorials teaching you a very simple thing, how to use #section to jump to a specific section

@Steve110

Posted in: #Anchor #Html

I see thousands of tutorials teaching you a very simple thing, how to use #section to jump to a specific section within your page. However, nobody unveils the secret of coding the target anchor. Can you do that?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Steve110

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jennifer507

The anchor can be a <div>, <table> etc. So what you need o do is give it an id:

<td id="tips">


So then, to link to it, you do the following:
a.com/a.html#tips

That's all.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme