In HTML, links are created using the <a> tag, which stands for "anchor" (⚓).
The most important attribute of the <a> tag is href, which specifies the destination of the link. Here's the basic syntax:
Loading editor...
When a user clicks on the link text, their browser will navigate to the URL specified in the href attribute.
↗️
Loading editor...
↶
↷
Link Colors
By default, browsers display unvisited links in blue and underlined. After you've visited a link, it typically appears purple. You can change these styles using CSS.