JoHksi JoHksi - 5 months ago 9
HTML Question

Scroll down to certain place on third-party website

I am building an Angular/Rails app now. In my FAQ page, I make

a
tag to introduce my users to more information. When the user clicks the
a
tag, I want to take my users to a certain point of the website. Is there a way to do it? If I wanna take my users to the bottom of below
a
tag, how would I do it?

<a href="www.reddit.com">Click here for more info!</a>

Answer

If the article/section/div has an ID, just append that to the URL with a # like this:

https://www.reddit.com/#thing_t3_4ptfdr

Comments