How do you link to an external website?

QuestionsQuestions4 SkillsProHTML LinksDec, 01 2025
0106

To link to an external website, you can use the <a> (anchor) tag with the href attribute set to the URL of the external site. Here’s an example:

<a href="https://www.example.com" target="_blank">Visit Example Website</a>

In this example:

  • href="https://www.example.com" specifies the URL of the external website.
  • target="_blank" is optional and opens the link in a new tab or window when clicked.
  • The text "Visit Example Website" is what users will see and click on to follow the link.

Make sure to replace https://www.example.com with the actual URL you want to link to.

0 Comments

no data
Be the first to share your comment!