HTML / JDI Hint – Image Size

Consider using this tag …

<img  src=”http://upload.wikimedia.org/wikipedia/commons/3/36/2006-ca-turkey.jpg”>

 

You will notice that the image takes up the entire screen because it is such a large size.

 

Now try adding the WIDTH option to manually set the width of the displayed image like this …

<img width=300 src=”http://upload.wikimedia.org/wikipedia/commons/3/36/2006-ca-turkey.jpg”>

 

Did you notice what happened?

Leave a Reply