How do I make a link that opens another website and drags you automatically to a spacific paragraph of this website? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I make a link that opens another website and drags you automatically to a spacific paragraph of this website?

So, I know I can write <a href="url"> to open another website, and I know I can write <p id="example"> and then write <a href="#example"> to make a link that brings you to this paragraph inside your website, but how do I make a link that brings you to a paragraph in another website? The other website is mine, so I can edit it, I just don't know if thats possible and how I can do that.

4th Jul 2020, 2:21 PM
Karak10
Karak10 - avatar
1 Answer
+ 5
try to join them: <a href="myweb.com/#mypara">
4th Jul 2020, 2:23 PM
Raj Chhatrala
Raj Chhatrala - avatar