How to Insert Hyperlink in HTML Page?

HTMLWeb DevelopmentFront End Technology

With HTML, easily add hyperlinks to any HTML page. Link team page, about page, or even a test by creating it a hyperlink. You can also create a hyperlink for an external website. To make a hyperlink in an HTML page, use the <a> and </a> tags, which are the tags used to define the links.

The <a> tag indicates where the hyperlink starts and the </a> tag indicates where it ends. Whatever text gets added inside these tags, will work as a hyperlink. Add the URL for the link in the <a href=” ”>. Just keep in mind that you should use the <a>…</a> tags inside <body>…</body> tags.

Example

You can try to run the following code to insert a hyperlink in an HTML page

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Hyperlinks</title>
   </head>

   <body>
      <h1>Company</h1>
      <p>
         We’re a <a href="/about/about_team.htm">team</a> of professionals working
         hard to provide free learning content.
      </p>
   </body>
</html>
raja
Published on 18-Jan-2018 14:36:00
Advertisements