Thursday, 7 October 2010

IDAT 102

In the lecture for website design today I added images to my webpage this is the html script I used.

<img src =”the image name.png(or whatever the file format is)” alt”name of picture” width “ size of image width” height “ size of image height” />
its very similar to the way the linking between pages and websites are done it has img src which means the file is going to be an image file then it equals the image name.png or jpg or other picture file, then the alt equals the name of the picture and then the width you want the picture and also the height you want the picture then close it off with /> this is because its only an image and not a link.

To list text you use the
The listed code element which is <li> and this lists your text
The unordered list code is <ul> which makes your list unordered
To paragraph text you put the code <p> after the text, the <strong> code is useful for people who are blind this is because it makes the narration strong.

No comments:

Post a Comment