HTML5 > Elements of HTML

Hyperlink in HTML5

How to display hyperlink in HTML?

Anchor Tag

Anchor tag is an one of the main element in the HTML which is used to create Hyperlinks. 

Hyperlink (also called link) is generally a text that appears as active text, hovering mouse changes mouse icon to hand and clicking this text executes an event. By default this text color is blue with underline style.

<a href="" title=""></a> 

In the above code snippet, "href" stands for 'Hypertext refernce' and "http" stands for 'Hypertext transfer protocol'.


Notice the hyperlink in the above output image. Clicking on the hyperlink sends user to website in the same tab. If we want to open the target in the new tab we use "target" attribute as below.

<a href="" target="_blank" title=""></a>  
 Views: 7300 | Post Order: 2

Write for us

Hosting Recommendations