HTML-Links
- HTML links are used to navigate from one page to another. It is also known as a hyperlink.
- They allow users to click on a text or an image and be redirected to another page or location on the web.
- HTML links are created using <a> tag
Let’s take an example –
π Try it yourself! Click the button below to run the code and see the output in action.
HTML Code
Output
In above example, if you click on Join Now then you will navigate to the “designwithrehana.com” page.
href attribute, which indicates the link’s destination