In HTML page have various link on text or images or link menu, which links allow to go directly to the another page. The HTML links set a way from one page to other page.
In HTML links use for Hyperlinks and <a> tag is define for the hyperlink on the texts, images, and many link option. HTML links process:
- Start <a> tag before text or image and set </a> end tag after text or image.
- <a> tag work it’s attribute that is href attribute.
- Give link address in the href attribute. That’s like <a href=”datainflow.com”> Click here</a>
HTML Links – the HTML hyperlinks allow to anyone to navigate in a website, when they are visit in the web sites and click on texts or images.
HTML Text Links:
HTML text link is the visible part of a web page. The document or word links display the other page document. Give a text link:
- Start <a> tag before text element and define end </a> tag after text or word document. Which text or document you need to set link.
- Give the destination address of other page in the href attribute.
For example:
<a href = "http://datainflow.com/programming/"> Programming Tutorial </a>
HTML Image Links:
Create hypertext link using images in our web pages. In HTML page it is easy to set hyperlink on a image and define other page or web page location in the herf attribute.
You know the how to use a image in HTML page using <img> tag. So now, we will learn how to use images to create hyperlinks.
- Set image tag between <a> atg and </a> tag and set the image path in the image tag.
- Give the destination address of other page in the href attribute.
For example:
<a href = "http://datainflow.com/"> <img src = "/images/datainflow.png" alt = "Datainflow" /> </a>