banner

Links?


     What is link? Link is a address or a link of another page on web server. We can say with the link we can traverse on page to another on internet. HTML links is very easy to implement. Here is some example of links implementation in HTML.

    Here we use <a>...</a> tag to provide link of new page. href is attribute of <a></a> tag to give new page path or new page name with extention if page is on same edirectory.

href="filename with extention"

Note:- if file is not same directory give name with full path.


Example:-

<html>
<body>

<a href="http:../safaltaa.com">Safaltaa.com</a>

</body>
</html> 


     Write above code on notepad and save it with link.html or any name and open it. Page screenshot is given below:-

Example:-

The work of above link you can see here:-

clik on below link:-

Safaltaa.com   click on link and see result.

Example:-

<html>
<body>

New File

</body>
</html> 


     Save this file with newfile.html name.

<html>
<body>

<a href="newfile.html">New file </a>

</body>
</html> 


     Save this file with firstfile.html name.

Note:-Put both file in same directory.