Posts Tagged images

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>

, , , , , , , , , , ,

No Comments

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!

, , , , , , ,

No Comments