Wednesday, May 22, 2013

How To Use Hyperlink Tag in Html

0 comments
In this Post i will teach you how to create and use hyperlinks to your webpage.A hyperlink or link is a word, group of words, or image that you can click on to jump to another document.An unvisited link is underlined and blue.A visited link is underlined and purple.An active link is underlined and red.You can also set the target using target attribute which specifies where to open the linked document.You can also use the id attribute for creating a bookmark inside the Html Document.

For a Simple Link: <a href="url">Link text</a>

For Target Attribute: <a href="url" target="_blank">Visit Blank</a>

For ID Attribute: <a id="tips">Useful Tips Section</a>


The above tag and attributes are use in the example given below.

<html>
<head>
<title>
How To 99
</title>
</head>
<body>
This Is My First Blog.<br><a href ="http://www.lovetech.in">Full Mobile Phone Specification</a><br>

Target Attribute<br><a href="howto99.blogspot.com" target="_blank">How To 99</a><br>

<a id="http://howto99.blogspot.com/2013/05/how-to-make-momos-both-steamed-and-fried.html">Useful Tips For Making Momos</a></body>
</html>
Copy the above Code and Paste in your Notepad or Notepad++ and saves the code with .html like abc.html or whatever you want and run the code

Leave a Reply

 
How To 99 © 2013 How to 99 &

How to Tutorial in 99 Categories