HTML a tag
HTML <a> tag defines hyperlink. hyperlink is the hypertext anchor that points the source (text link) to the destination source (other page or website). We can make a link to other websites or other web pages.
Tag Uses
Specific uses of <a> tagEmail links
-
Email links are also possible. The email link directs the user to the respective email address.
-
Preview ExampleTry itExample
<p>Email to: <a href="mailto:[email protected]" target="_blank">Becky.</a>
Tag omission
Both opening and closing tags are necessary for the a element.
Global Attributes
All the global attributes are applicable on a element.
<br> tag breaks a line into multiple lines.