ohdang888 Posted July 29, 2008 Share Posted July 29, 2008 you know how sometimes theres links on a page that say "click to go to top/ bottom of page" and then it puts #bottom, or #top on the page, and you go there. How does that work, "a" tags or "span" tags? Link to comment https://forums.phpfreaks.com/topic/117248-top/ Share on other sites More sharing options...
obsidian Posted July 29, 2008 Share Posted July 29, 2008 You can either have an anchor tag with the NAME corresponding to the section to which you wish to link, or else I believe you can have a div with an ID to which you wish to link: <a name="#top">This is the top</a> <a href="#top">Go to top</a> Link to comment https://forums.phpfreaks.com/topic/117248-top/#findComment-603148 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.