Alim253 Alim253 - 4 months ago 8
HTML Question

Image from computer isn't uploading using html

I'm having trouble uploading an image (google logo) I have saved onto my mac using html/css. Can someone tell me what I'm doing wrong? My html file is saved in a folder titled google-homepage, within that page is a folder called CSS, within there is a folder named images, and in that folder is my image.

<!DOCTYPE html>
<html>
<title> "Google" </title>
<body>
<img src="css/images/google.png" />

</body>
</html>

SAR SAR
Answer

1- create folder name: google-homepage

2- inside google-homepage create file name index.html , past the code bellow:

<!DOCTYPE html>
<html>
<title> "Google" </title>
<body>
<center>
<img src="CSS/images/google.png"/>
</center>
</body>
</html>

3- create folder inside google-homepage name CSS

4- create folder name images inside folder CSS and copy your image with name 'google.png'

5- now run on IE the file name index.html

good luck

Comments