Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.5k views
in Technique[技术] by (71.8m points)

html - Is there a way to include an id tag for a webpage to scroll too automatically from the domain?

I have found that in html you can use the attribute id="someidname" and a link like <a href=#someidname> to scroll to that id, is there a way to include #someidname in a domain name so that by including said domain in the href atribute of a link in a different page on a seperate server, it automatically opens the page and scrolls to #someidname?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...