link tag in html with example


<!DOCTYPE html>

<html>


<head>

  <meta charset="UTF-8">

  <meta name="viewport" content="width=device-width, initial-scale=1">

  <title>HTML LINK</title>

</head>


<body>

  <div style="color: green">

    <h2><b>How To Use HTML Links: </b></h2>

  </div>

  <hr />

  <button style="color: blue">

    <h3>If You Want To Go To Another Website From Your Website, Then You Need To Use HTML Link</h3>

  </button>

  <p>

    <div style="color: violet">

      Now We Will Create Link Of Some Websites:

    </div>

  </p>

  <br>

  <ul>First Website Link:

    <li><a href="https://www.google.com/" target="blank">Google</a></li>

    Click Here

  </ul>

  <ul>

    Second Website Link:

    <li><a href="https://www.youtube.com/" target="blank">YouTube</a></li>

    Click Here

  </ul>

  <ul>

    Third Website Link:

    <li><a href="https://m.facebook.com/" target="blank">Facebook</a></li>

    Click Here

  </ul>

  <ul>

    Forth Website Link:

    <li><a href="https://www.amazon.in/" target="blank">Amazon</a></li>

    Click Here

  </ul>

</body>


</html>

Click Here To See The Preview



Post a Comment (0)
Previous Post Next Post