Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Html Link tag | How to insert link or anchor tag in html

Here are the Steps to insert a link in Html or html5 page or website:-

1.HTML links are hyperlinks that help us to navigate different information or data on the internet using web pages. One click on the link help you to jump to another document or other web page.

2. A Html Link cannot only be apply on the text, you can apply it on images or any other element.

Html link tag3.To insert link or hyperlink in html, we use tag.

 Example:
a href="http://www.google.com/" >GOOGLE

   In the above example,when you click on GOOGLE text it takes you to "http://www.google.com/" address on the internet.

4. You can also connect to other pages using html links as a local links.

    Example: Home

     In the above example,when you click on Home text it takes you to "main_index.php" page.Html link tag

5.You can also use target attribute to define where the new link will be open on the browser window or tab.These attribute are _blank, _parent, _self(default), _top.

Example: 
target="_blank">Home

    when you click on Home ,Home page will be open in new tab/window.
Html link tag

6.You can also apply link on images or other elements.

    Example:


Full Description:
Html link tag

   
          Image Tag
   
   
Text Link

Heading Link



   


The output is:-


Html Link tag

















Please comment to suggestions and improvements or email me for any questios.

Html link tag
How to add image in HTML , HTML5 or add image in your Website 
https://androidbarclub.blogspot.in/2016/07/how-to-add-image-in-html-html5-or-add.html



This post first appeared on The Code Developer, please read the originial post: here

Share the post

Html Link tag | How to insert link or anchor tag in html

×

Subscribe to The Code Developer

Get updates delivered right to your inbox!

Thank you for your subscription

×