After You have an image in GIF or JPEG format ready to go, you can include it in your web page.
Images are indicated in HTML using <img> tag. The <img> tag, like <hr> and <br> tags,
has no closing tag. The most important attribute to the <img> tag is src. The src attribute indicates the filename or url of the image you want to include in quotes. |
<img src="../image.gif"> |
Example <html> <head> <title> Mulan </title><head> <body bgcolor=#000000 text=#ffffff link=#ff0000 vlink=#ff0000> <center> <h1>Mulan</h1> </center> <img src="mulanpic.gif"> <p>Look at me you may think you see.<br> Who I really am.<br> But you never know me.<br> Everyday it's as if I play a part.<br> Now I see if I wear a mask.<br> I can fool the world.<br> But I cannot fool my heart.<br> </body> </html> Output result |