Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

HTML & CSS How to setup a link to jump to a certain point on your webpage using HTML?

Malcolm

Administrator
Administrator
Staff Team
Code Plus
Company Plus
I've seen it before but have no clue on how to do this. I played around with Bootstrap studio and it had it setup as a link point to an ID attribute on the element that you want to jump to when you click the link.

An example is:

[CODE lang="html" title="HTML - Link jump to a point on a page."]<a href="#h1">Click this link to scroll down to H1</a>
<h1 id="h1">Yay you scrolled down to me!</h1>[/CODE]

Can someone please tell me if this is correct?
 
Last edited:
I've seen it before but have no clue on how to do this. I played around with Bootstrap studio and it had it setup as a link point to an ID attribute on the element that you want to jump to when you click the link.

An example is:

[CODE lang="html" title="HTML - Link jump to a point on a page."]<a href="#h1">Click this link to scroll down to H1</a>
<h1 id="h1">Yay you scrolled down to me!</h1>[/CODE]

Can someone please tell me if this is correct?
Very useful. Thanks for sharing!
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom