How to give link in html

=> open ur text editer :-

=> And save it as demo1.html and write below code:-

<html>

<body>

<a href="img/img.html">image file</a><br/>
<a href="../img/img.html">image file2</a>

</body>

</html>

=>then u make one folder give name img then open and save another file name is img.html :-

<html>

<body>

<img src="Images\wallpaper1.jpg" height="200" width="200" alt="nature" title="nature" />

</body>

</html>

=>then run on ur browser.

=>if u download source code then click on below link :-

Download Source Code

Comments

Post a Comment

Popular posts from this blog

How to create simple biodata form in html

How to use Height and Width property in HTML using CSS