New course! Every coder should learn Generative AI!
Try a free lesson0
What is the use of <a> tag?
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>
+ 3
extra tip:
use target="_blank" to make the link appear in a new tab