Links are one of the most basic, yet deeply fundamental and foundational building blocks of the web. Click a link, and you move to another page or are moved to another place within the same page.
Use the HTML a
element to create links whenever possible. Browsers provide valuable functionality for native HTML links, e.g., open the target in a new window and copy the target URL to the system clipboard.
Keyboard Interaction
Links are focusable elements. In other words, they can be selected using the Tab key on a keyboard.
Enter
: Executes the link and moves focus to the link target.