HTML: Working with Special Characters (Page 1 of 5 )
Working with Links
Links in HTML allow the user to navigate pages. Duh. A link can be attached to text or images and even objects, such as pull down menus, buttons, and so forth. They typically link to another page either within your website or someone else’s website, though they can also link to different places on the same page. They may also point to a music or video file or even documents, such as a PDF.
Linking to a Page within Your Own Website
To link to a page within your website, you simply use the <a href> tag, like so:
Let’s say you had a website named funnypeople.com. The above code, when referenced by your browser, would interpret the line <a href=”nerd.htm”> as a link to the page funnypeople.com/nerds.htm. The word Nerd would be displayed in the browser and when the user clicked the word, it would load the funnypeople.com/nerds.htm page.