Header Ads

Hyperlinks




A hyperlink is referred to as a link. It refers to linking to another Web page or to a section in the same Web page.

A hyperlink is referred to as a link. It refers to linking to another Web page or to a section in the same Web page.
The A (anchor) element is used to create a hyperlink. You can specify a text or an image as a hyperlink. When you move the mouse over such content, the cursor changes into a hand
with its index finger pointing towards the content. This means that clicking them will take you to the respective link. To specify the linked page section or linked Web page, you must
use the attributes of the A element. 


The basic syntax to provide a hyperlink is always the same. The <a> tag is used to provide a hyperlink. This contains the href= attribute that would contain the link to a URL or path of a Web page. An example of a href attribute code is as follows:




The description and reference text that will serve as a hyperlink must be provided before closing the <a> tag by using </a>.


Out put of code.







Disqus Shortname

Comments system

Powered by Blogger.