Can I create an Anchor Link so I can direct viewers to a specific area of my page?

Asked November 21, 2011
0

Sometimes I have a section listing on the top of my page and the sections follow further down the page. Can I link directly to those sections?

Category:

2 Answers

0
You can create an Anchor link, but it does require clicking on the HTML tab and editing the HTML code.
  • Go to the page that you want to link to.
  • Go to the area on the page where you want to link to.
  • Click on the HTML tab.
  • Find the area you want to link to.

You need to add id=”anchor-name” within either an existing tag such as an h2 tag or add a span tag to surround the spot that is going to be the anchor (where the link will point to).

Sample of the anchor tag:

<h3 id="lombard">Florida High Schools</h3> - if you have heading tags already in place (you are linking to a spot that is already a heading)

 <span id="lombard">Lombardi Scholars:</span>  - add the <span>  </span> tags if there is not a tag in that spot already.

  The actual link will use the # sign in front of the name (id) of that spot. <a href="#lombard"> Lombardi Scholars </a>  this would be the link if you are linking within the same page.   or <a href=”http://showcase.sites.medinfo.ufl.edu/fl-graduates-lombardi-stamps/#lombard” </a>   if the link is to a spot on another page.

<a href=”http://showcase.sites.medinfo.ufl.edu/fl-graduates-lombardi-stamps/#lombard”</a>  if the link is going to a spot on another page.

0
Is the "<a href=" etc... needed if you're NOT in the HTML of what you're linking from? If there's a hyperlink icon that you can use, would you just add the link starting with http: but also include the #[anchor name]?

Your Answer

Please login using your gatorlink information before submitting a question