Posts Tagged images
Images in HTML Code
Posted by Capes in HTML Notes on July 26th, 2009
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>
HTML – How to wrap images around text?
Posted by Capes in HTML Notes on July 20th, 2009
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!