Images in HTML Code
To add an image in HTML code, insert:
<img src=”image.jpg” />
Adding alternative text, is as follows:
<img src=”http://bahoot.com/image.gif” alt=”I am an image!” />
add image size details:
<img src=”http://bahoot.com/image.gif” alt=”I am an image!” height=”10″ width=”15″/>
Images as links:
<a href=”http://www.bahoot.com/”>
<img src=”image.gif”>
</a>
Categories: HTML Notes Tags: alt, alternative, image gif, image height, image jpg, image size, images, img src, lt, size details, src image, width
HTML – How to wrap images around text?
How do you wrap images around text, instead of having them occupy a whole row on you page leaving a blank space.
Well, here’s how:
add the following to the img tag:
align=”left”
i.e. <img src=”image.jpg” align=”left”>
or
align=”right”
i.e. <img src=”image.jpg” align=”right“>
simples!
Categories: HTML Notes Tags: blank space, html, images, img src, img tag, src image, wrap image, wrap image with text
