Your browser does not support JavaScript!'

HTML a href | Hyperlink In HTML & [It's Uses Complete Guide] ~ VUSs

Welcome to VUSs, as you guys know. VUSs is all about Computer Science's fundamentals and Tests Preparation.
All published articles are organized in simple, easy, and short English sentences to familiarize the students with computer science.
In that respect today's article is HTML a href | Hyperlink In HTML & [It's Uses Complete Guide]


Today's Topic
HTML a href | Hyperlink In HTML & [It's Uses Complete Guide]


HTML Anchor tag example




Purposes Of Html A Tag

HTML A Tag is used to interlinking (connect) different web pages. In the addition, HTML Links OR Hyperlinks are the only way to joint the HTML pages. Link is a clickable text which is used to jump to another page.

<a href=""> Anchor Text </a>      Output: Anchor Text

Attributes of A Tag

The actions of A Tag can be made more useful by using Different Attributes an Attributes can make element more effective in it's actions. <a href="" target="_AttributeValue"> Anchor Text </a>      Output: Anchor Text

_AttributeValue Description
_blank _blank It will open the links in a blank windo or Tab
_self _self It will poen the link in the same tab                   
_parent _parent It Opens the linked pages in the parent frame
Download Download attribute It will enables you to connvert a link into a Download link

HTML a download

You can convert any HTML hyperlink into an HTML download link by using Download Attribute. It will connvert the simple href link into a html download link. <a href="" download="Link_To_Download"> Anchor Text </a>      Output: Anchor Text

HTML Image Link an Image also can be used as an anchor OR Hyperlink In Html. Anchor link example (s) are also provided, here i will tell you How can we use an image in an Anchor Tag <a href="https://VU-Ss.Blogspot.com"> <img src="Dummy_Image.png"/> </a>

Output:

Html A Onclick

An Onclick attribute also can be used to trigger an HTML Hyperlinks OR a link to call some functions and events. <a href="https://VU-Ss.Blogspot.com" onclick="Action"> </a>

Output: Simple button with an Popup windo

HTML Tags

Post a Comment

0 Comments

^