html link                                 

HTML link is one of the most powerful feature of HTML. Usually a website consists of a number of webpages and hyperlinks provides a way to establish link between these webpages so that user can easily navigate from one page of the website to another.

By simply clicking on a hyperlink, a user can quickly can jump from one webpage to another either within same webpage or somewhere else on WWW.

By HTML link,one can create three kinds of links-

  1. link to different webpage on the current website(INTERNAL link)
  2. link to different parts within current webpage.(INTERNAL link)
  3. link to webpages on different websites (EXTERNAL link)
------------------------------------------ANCHOR TAG(<a>)-----------------------------------------

The anchor tag is used to create a hyperlink on the webpage. It is always specified in the body of webpage's code. it actually tells the browser where link starts. The closing tag </a> indicates the end of the link.

HTML link


<a> tag is used as-
                                <a href="URL"> hyperlinked text </a>

HREF----It must be specified along with it. HREF stands for hypertext reference that contains the URL of the destination page to which a link will move to.

The Hyperlinked Text-----It acts a  hyperlinked which when clicked by a user, will activate the link and URL specified in HREF attribute will open.

NOTE--if you want to know more about URL click on this link-webdesigningtutoriall.blogspot.com/what-does-url-mean.html

example-
                               <a href="library.html">library</a>

It will create library as a hyperlink which when clicked then library.html fill will open.

A hypertext can be distinguished from normal text by following characterstics--

  • A hypertext is by default, blue in color but you can change it using LINK attribute in <body> tag.
  • These are always underlined.
  • When mouse pointer is moved over the link, the cursor shape changes to hand shaped cursor.

NOTE- If you want to know about about the types of links the click on this link-
types-of-links.html
HTML link

HTML a tag
HTML a tag
HTML a tag
HTML a tag
HTML a tag
HTML a tag
HTML a tag


a tag in html
a tag in html
a tag in html
a tag in html
a tag in html
a tag in html
a tag in html
a tag in html