HTML Anchor

Table of Contents

HTML Anchor

What is Anchor tag in HTML?

It┬ádefines┬áthat a hyperlink created through an anchor tag can be used to move from one page to another. Also, it can create a hyperlink to other web pages as well as files, locations, or any URL. The “href” attribute is the attribute of the HTML anchor tag and which links to the destination page or URL.


<a href = "URL or the file link"> Link Text </a>


<!DOCTYPE html>  
    <title>Your Title</title>  
  Click <a href="" target="_blank"> this-link </a>

Leave a Reply