Adding Images in HTML




So, you are learning HTML, read all of the guides on my site, but, still don't know how to do obvious things like add pictures? Well, let me show you.


To add an image, type this in your page:



<img src="your url name here">

That would make a picture appear randomly on your page. Just replace "your URL name here" with your actual URL or file name of your picture.




But now what if you want to make your image smaller? Well, just add this code:



<img src="IMAGE URL" height="100" width="100">

But don't forget to change your attributes height and width to whatever you want it to be.




We hope this tutorial helped you! For suggestions, questions, or anything, contact yael@lime-pie.zzn.com or sasha@lime-pie.zzn.com.