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

Apply for HTML Certification

https://www.vskills.in/certification/certified-html-designer

Back to Tutorials

Using a tag for Creating Links
Other Attributes

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?