Skip to main content

Html Tutorial on Hyperlink

Exclusive Html Tutorial on Hyperlink on special demand of my blog regular visitor.



Simple Hyperlink


Code:<a href="http://www.yahoo.com">Yahoo<a>


Output: Yahoo

Explaination: <a> is known as anchor tag and used to inter link different web pages or topics on same webpage.

Giving Title To Hyperlink


Code: <a href="http://www.yahoo.com" title="Tahoo MailBox">Yahoo<a>


Output: Yahoo


Explaination: title in <a> tag is used to give text which gonna appear when cursor is placed on link.

Open in New Tab


Code: <a href="http://www.yahoo.com" title="Tahoo MailBox" target="_blank">Yahoo<a>


Output: Yahoo


Explaination: target=_blank in <a> tag is used to tell browser to open hyperlink in new tab

Open In Same Tab


Code: <a href="http://www.yahoo.com" title="Tahoo MailBox" target="_self" >Yahoo<a>


Output: Yahoo




Explaination: target="_self" in <a> tag is used to tell browser to open the hyperlink in same tab.

Link Language


Code: <a href="http://www.yahoo.com" hreflang="en" title="Tahoo MailBox" target="_blank" rel="nofollow">Yahoo<a>


Output: Yahoo


Explaination: hreflang="en" in anchor tag is used to tell search engine about the language of outgoing
link.This helps in getting better ranking for regional ranking.For example google.co.fr will have better
ranking for french and english links then google.co.in

Outerlink Not To Follow


Code: <a href="http://www.yahoo.com" title="Tahoo MailBox" target="_blank" rel="nofollow">Yahoo<a>


Output: Yahoo


Explaination: rel="nofollow" in <a> tag is used to tell search engine bot that this link is not a part of
your website or blog and you are not responsible for content in it.This is a good pratice in case of you are giving ou links
to unknown or new websites.

Giving name to topics on same webpage


Code: <a name="top">Simple Hyperlink <a>


Explaination: name="text" in <a> is used to give link name to topic on same webpage.
To provide for this link code is
<a href="#text"> .
Note: Always put # before linkname while giving link for topic on
same webpage.This is a good trick if you have long webpages.


Output:
Go to simple hyperlink



Please give your review on this post by comments.

Comments

  1. Hi thanks for sharing these. I already know the basics but the others are new to me. thanks again.

    ReplyDelete
  2. Beginners will benefit from this. Nice share! ^^

    ReplyDelete
  3. Thanks a lot
    for your appreciation
    will consider to introduce much more in the coming month

    ReplyDelete

Post a Comment

If You Like The Post Or want to Add Something More
then feel free to comment

Popular posts from this blog

How to add moving text to Blog or website

In this tutorial i will tell you How to add Moving text or Scrolling text or Marquee text in the Blog. This is moving text Moving Right to Left Code For Simple Moving Text : <marquee>This is moving text Moving Right to Left </marquee> But Simple Moving Text Looks really ugly. To make it attractive,we will add background colour to it by bgcolor="hexadecimal code" . This is moving text With Background Colour Code For Moving Text With Background Colour : <marquee bgcolor="#33cc99">This is moving text with Background Colour </marquee> You will notice that text is not clearly readable. So,we gonna change the colour of the text. This Is Coloured Scrolling Text With background colour. Code For Scrolling Text With Coloured Text & Background. : <marquee bgcolor="#33cc99" style="color:white;">This Is Coloured Scrolling Text With Background Colour </marquee> You can even control the ...

learn periodic table in hindi

H LI Na K Rb Cs Fr Rhyme: 1.Hamari lina kabr se farar 2.hai lina ki rab se fariyad Be Mg Ca Sr Ba Ra Rhyme: beta maange car scooter baap roe sc-science ti-teacher v-very cr-cruel mn-maange fe-fair co-copy ni-nickel cu-copper zn-zinc Rhyme- 1.science teacher very cruel maange fair copy nickel copper zinc 2.Still  Trying Various Creative Methods For Controlling Naughty Children Zinc y-ye zr-zara nb-nai mo-modern tc-technology ru- rh- pd- ag-agriculture cd-cdma Rhyme:ye zara nai modern technology ........................................… cdma la-laa hf-haf ta-ta w-wo re-rahi os-oos ir-idhar pt-phata au-udhar hg-hata Rhyme-la haf ta wo ree oss idhar hata udhar phata b-ba al-el ga-gai in-in ti-tabela Rhyme-bael(bull) gai(cow) in tabela c-ca si-si ge-gae sn-sunn pb-pade Rhyme-kaashi(religious place) gae sunn(fainted) pade o-aur s-sahi se-se te-te po-po Rhyme-aur sahi se tepo(cheat) f-far cl-cal ...

Snap deal Review

Hi today m going to write a review on Snapdeal to which i get introduced through online advertisments. This is one of the best website i found to get the best deals in your own city Just register ,Select your city and find deal you like and pay some small amount in my case it was just RS. 50  deduced in advance 200 in shop .deal was pay 250 for combo meal in place of 599. I paid through HDFC NetBanking . More over when you refer a friend to Snapdeal You get Rs100 off on bookmyshow.com and Rs 50 Cash which you can redeem in Snapdeal isn't that cool Visit the Snapdeal.com Other Competitors of Snapdeal.com are Mydala.com my favourite after snapdeal Coupondunia.in Khojguru.com