Using href Attribute

Using href Attribute

Text or image contained between the opening <a> tag and closing </a> tag becomes hypertext that user clicks on. The destination URL to which the user is taken to is specified as the value of the href attribute in source anchor.

By default, the link is underlined and in blue text as shown

HTML code

<a href=”http://www.vskills.in/”>Click for Vskills Web site</a>

Browser output

Using href Attribute

Get industry recognized certification – Contact us

Menu