30. September 2009 22:54
Page Links
Links are essential to traversing a webpage. We have all clicked on the blue text to go to another page. That was a link, of course. Links are easy to insert into your page, as they are just more HTML markup codes.
The most basic link is setup as follows:
<a href = “The website URL address” >Some text describing the site</a>
Which will look like:
WebDesign Blog--Clicking me will go back to the home page.
This linking system can also be used to jump to specific sections of the same page.
These are called page anchors. They will require two lines of markup. One to act as the link and one to be the anchor tag.
<a name="anything">Anything</a> This is the anchor.
<a href="#anything">Go to Anything</a> This is the link to the tag. See the example below.
Go to Images
There is also a Target attribute, which will determine where the new page will load when a link is clicked. If you put no tag the new page will load in the current browser window and leave your page. If you want the guest to keep your page open, you can set the link to open in a new browser window.
<a href= “URL” target="_blank">awebsite</a>
Images-the anchor
You can also use images to act as links by placing the image tag where the description text would go.
<a href="http://www.yourpage.com"><img src="picture.gif" "></a>
b7c2853e-b441-4159-85cc-0c6fb24b71ed|0|.0