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>

Be the first to comment - What do you think?  Posted by Capes - July 26, 2009 at 8:46 pm

Categories: HTML Notes   Tags: , , , , , , , , , , ,

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!

Be the first to comment - What do you think?  Posted by Capes - July 20, 2009 at 9:46 pm

Categories: HTML Notes   Tags: , , , , , , ,