What is the use of <a> tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of <a> tag?

10th Feb 2017, 3:14 AM
mohan borade
2 Answers
+ 9
<a> is a tag for turning text into a link. Use href to set what link it sends you to. Ex: <a href = "example.com">Click here!</a>
10th Feb 2017, 3:19 AM
Tamra
Tamra - avatar
+ 3
extra tip: use target="_blank" to make the link appear in a new tab
10th Feb 2017, 4:09 AM
Dawzy
Dawzy - avatar