0% found this document useful (0 votes)
21 views

HTML

The document contains examples of how to create links to images and other files using HTML <a> and <img> tags, including removing borders from images, linking to external pages, creating email links, and inserting both static and animated images.

Uploaded by

Naiem Jalaly
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

HTML

The document contains examples of how to create links to images and other files using HTML <a> and <img> tags, including removing borders from images, linking to external pages, creating email links, and inserting both static and animated images.

Uploaded by

Naiem Jalaly
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

<html> <body> <p>Create a link of an image: <a href="default.asp"> <img src="smiley.

gif" alt="HTML tutorial" width="32" height="32" /> </a></p> <p>No border around the image, but still a link: <a href="default.asp"> <img border="0" src="smiley.gif" alt="HTML tutorial" width="32" height="32" /> </a></p> </body> </html>

<p>Locked in a frame?</p> <a href="http://www.w3schools.com/" target="_top">Click here!</a> </body> </html> <html> <body> <p> This is an email link: <a href="mailto:[email protected]?Subject=Hello%20again"> Send Mail</a> </p> <p>

<b>Note:</b> Spaces between words should be replaced by %20 to ensure that the browser will display the text properly. </p> </body> </html> <html> <body> <h2>Norwegian Mountain Trip</h2> <img border="0" src="/images/pulpit.jpg" alt="Pulpit rock" width="304" height="228" /> </body> </html> <html> <body> <p> An image: <img src="smiley.gif" alt="Smiley face" width="32" height="32" /> </p> <p> A moving image: <img src="hackanm.gif" alt="Computer man" width="48" height="48" /> </p> <p> Note that the syntax of inserting a moving image is no different from a nonmoving image. </p> </body> </html>

You might also like