HTML Menu
Anchor Tag in HTML
- The most important capability of HTML is its ability to create hyperlinks. Hyperlinks can be applied to either text or images.
- Anchor tag is used to create link between two documents, Minimum it requires a parameter is "href" which indicates destination document.
format:
-------
"href" is mandatory argument and it specifies the path or url of the document.
"alt" is optinal argument and it specifies the alternative text.
- Sometimes images can be used as hyperlinks.
format:
![](imgname.jpg)
Example : "
anchor.html"
Home
Click Here
Example : "
welcome.html"
Welcome
Welcome to HTML
Output:
Next Topic :Marquee Tag in HTML