DizzyDan Posted June 3, 2011 Share Posted June 3, 2011 Hey guys,What i am looking to do is in an email i have 3 links. Each link goes to the same webpage but to a different section. Is there a way to have it so link 1 is at the top of the page. link 2 goes to the next article on the page and link 3 goes to the 3rd article on the page.I been searching but i couldn't find any direct answers.Thanks, Link to comment Share on other sites More sharing options...
thescientist Posted June 3, 2011 Share Posted June 3, 2011 yes, you can use named anchors.http://www.w3schools.com/html/html_links.asp Link to comment Share on other sites More sharing options...
DizzyDan Posted June 3, 2011 Author Share Posted June 3, 2011 does this mean i would have to put the anchor name on the website i am linking to? Link to comment Share on other sites More sharing options...
ShadowMage Posted June 3, 2011 Share Posted June 3, 2011 You don't necessarily have to have anchors. You can just use id's as a hash in the url.Say you have: <div id='sect1'> ....content.....</div><div id='sect2'> ....content.....</div><div id='sect3'> ....content.....</div> You can link to section 2 like this:www.website.com/index.html#sect2 Link to comment Share on other sites More sharing options...
thescientist Posted June 3, 2011 Share Posted June 3, 2011 or if you have a specific page, it could be something like www.website.com/contact.html#dizzydan Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.