Formatting Images
Simply typing the HTML <img> tag will just "wedge" the image in wherever you happen to type the code, but you can make text flow around an image and add space around an image.
|
No formatting added to the image tag. |
|
||
|
The code looks like this:
|
|||
align="left" |
If you add this to the <img...> tag the image will be placed at the left margin and text will flow around it, aligned to the top of the image, like the image on the right. |
|
|
|
The code looks like this:
|
|||
align="right" |
If you add this to the <img...> tag the image will be placed at the right margin and text will flow around it, aligned to the top of the image, like the image on the right. |
|
|
|
The code looks like this:
|
|||
hspace="10" |
If you add this to the <img...> tag a 10 pixel space is created both sides of the image, like the image on the right. You can specify any value for the space. |
|
|
|
The code looks like this:
|
|||
vspace="10" |
If you add this to the <img...> tag a 10 pixel space is created above and below the image, like the image on the right. You can specify any value for the space. |
|
|
|
The code looks like this:
|
|||
- You can also format images with Cascading Style Sheets.
