Basic HTML Link Code
The basic syntax for adding an HTML link is as follows:
<a href="URL">Text for Link</a>
In this case, URL is the place holder for the actual URL address, such as http://www.brighthub.com. Note that the URL does need to be enclosed in double quotes. Also, you would replace "Text for Link" with whatever user-friendly word or phrase that you want the reader to see instead of the raw hyperlink.
As an example, if we wanted to create a link that showed the text Bright Hub and directed the reader to http://www.brighthub.com, we would use the following code.
<a href="http://www.brighthub.com">Bright Hub</a>
If left unmodified, this code will cause the link to open the new page in the same browser window, navigating away from the current page. But, what if you want to create a link that will open a new page in the browser so that the current page stays open as well?