Add an Image
index.htmlindex.htmlabout.htmlabout.html
contact.htmlcontact.html
1. You will need
• homepage.txt – renamed to index. html; and
• divers-circle.jpg
Image Tip
When using images in your website make sure that you get the name exactly right
Image Tip
When using images in your website make sure that you get the name exactly right
• To add an image to your page:
• CODE:
• <img src=“image.jpg” alt=“describe image” width=“how wide” height =“how high” />
•inline element – should be contained in a block level element
Insert this image into your index.html file
Ensure you include:• the alt attribute• the height attribute• the width attribute
divers-circle.jpg
Top Related