The Anatomy of HTML Links

The a element and 9 of its attributes

aliceyt
Better Programming
Published in
5 min readJan 16, 2020

--

Photo by JJ Ying on Unsplash

HTML links are one of the easiest elements to create. While its default behaviour suffices for most use cases, there are times when we need finer control over what happens when a user clicks on a link. In such a situation, we can make use of its optional attributes.

--

--