Wednesday, 5 September 2007

Links



An anchor can be used in two ways:
To create a link to another document by using the href attribute
To create a bookmark inside a document, by using the name or id attribute
An anchor can point to any resource on the Web: an HTML page, an image, a sound file, a movie, etc.
The anchor tag is used to create an anchor to link from, the href attribute is used to address the document to link to, and the words between the open and close of the anchor tag will be displayed as a hyperlink.
Here is an example of how a link can be created in notepad++:


No comments: