Direct a hyperlink to a specific location in a Web page | Community
Skip to main content
January 6, 2014
Solved

Direct a hyperlink to a specific location in a Web page

  • January 6, 2014
  • 3 replies
  • 1803 views
I have an email going out that has a link to the post I want to share. Also, I included the titles of the sections on the email and want to link them to their proper location in the post. Is this possible? If so can you please share how to do this. Thanks in advance!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by
Use html anchor tags (#).
You can find more information at
http://www.w3schools.com/html/html_links.asp

3 replies

Accepted solution
January 6, 2014
Use html anchor tags (#).
You can find more information at
http://www.w3schools.com/html/html_links.asp

January 6, 2014
Thanks for posting this! I tried putting this into the "Link URL" box and it did not read it. Just in case I did not explain myself correctly, the email just has the links to the post on our website. I inlcuded a link that is just the URL of the post and that works fine. However, in the email, I included the 4 sections and I want to link each section to the location on the post in which the section begins. So let's say it says "Section 1" in the email. I want the person to be able to click on that and be brought to that exact section of the post. If you could provide any more help I would greatl appreciate it. Thanks!
January 7, 2014
 
 
 
Here are a few examples.
http://en.wikipedia.org/wiki/Table_of_contents
http://en.wikipedia.org/wiki/Table_of_contents#Examples
http://en.wikipedia.org/wiki/Table_of_contents#References
 
So for you, it might be
http://yourblog.com/article.htm
http://yourblog.com/article.htm#Section1
http://yourblog.com/article.htm#Section2
etc
 
But for it to work, on the web page http://yourblog.com/article.htm you need to have anchor tags in the html appropriately.
 
Such as
<a name="Section1">Section 1</a>
 
<a name="Section2">Section </a> etc at appropriate places.
 
More info,
http://stackoverflow.com/questions/11994834/the-anchor-top-on-subpages-send-to-index-page
 
Also wanted to mention, Anchor tags are not fully supported by all email clients. This means that after all your hard work of coding and formatting your newsletter, recipients may end up with broken anchor tags. 
 
Some of the more popular email clients, including Outlook 2003, Express, Hotmail, and Yahoo! Mail, support anchors for the most part. Those that did not support the anchor tags were Gmail, AOL Mail, and Android 2.3.

Hope this helps

Rajesh