| Home - Books - Reviews - Tutorials - Software - Download - Orders - Newsletter | |
| Subscribe here for our free email newsletter - monthly updates |
Custom Search
|
HTML - text & graphics1. Once you have managed to produce a web page full of text, the next thing you usually want is to add graphics. 2. You add the graphics using the simple tag -
Incidentally, your graphic can also be a link. If you click the book cover here, you will be taken to Amazon, where you can order the book. Here's how to do it. 4. Add the following INSIDE the tag
hspace=x [where x=number of pixels] vspace=x [where x=number of pixels] So the tag should look like this:
5. This creates a 5 and 8 pixel gap around the side and the bottom of the graphic - to stop your text bumping into the picture. 6. Experiment with the x=number to see the effect. 7. If you want to add another refinement, you can add a border.
8. And you should set x=0 for no border. 9. You can also add a title:
10. This will show up on screen when you move your cursor over the graphic. It is NOT a caption to the picture. 11. And you might wish to add the size of your graphic file.
HEIGHT=x [where x=number of pixels] 12. You find these dimensions by opening the graphic file in your graphics editor and looking at the size or dimensions. 13. Adding the dimensions will help your page download faster - because the browser knows how big a space to leave for the picture before it starts loading. 14. So - here's an example of all these features in one tag:
align=left hspace=7 vspace=5 border=0 alt="The Origins of the Internet" width="90" height="140"> |
|
| Home - Books - Reviews - Tutorials - Software - Download - Orders - Newsletter | |
|
Mantex - PO Box 100 - Manchester M20 6GZ - UK Tel: +44 0161 432 5811 — Email: info@mantex.co.uk Copyright © Mantex 2000—2007 |