The Html Link Code
This is a short guide explaining the html link code and how you use it on your website. This is a basic html code and is aimed at beginners. The html link code is a line of text that links one page to another, or one website to another. So if I wanted to link to google.com I would use this link command:
<a href=”http://google.com”>Visit Google</a>
The “ visit google” part between the “a” tags is what the user will click to visit the specified link, this text is also known as anchor text or link text.
The “a href=” is the standard link command which is used a lot by website coders and designers.
If you wanted to link to another page within your site you would use this html link code:
<a href=”page.html”>Visit this page</a>
When the user clicks “visit this page” it will take them to the specified page in the link command. You can also add titles to your links so when a user hovers over that link it wil display some text about that link I.e the title. So for example you would use this command:
<a href=”pahe.html” title=”click here”>Visit this page</a>
Now when the user hovers over the “visit this page” text it will display a small box saying click here. Copy and paste the commands and play around with them on your own site.