0

How to mak images work

DOCTYPE html> <html> <head> <h1><b><center>Checkers</center></b></h1> <img src="checkerboard.png" alt="Checker board" height="500" width="500"> </head> <body> </body> </html>

12th Jan 2019, 2:38 AM
Elliot Alderson
3 ответов
+ 5
Apart from the typo, your code doesn't seem to be wrong. It could be a case where the image fails to load because the image does not exist on the relative path. Try specifying the full path, e.g. <img src = "https://example.com/checkerboard.png">
12th Jan 2019, 2:49 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Just like explained above paste an image url in the src that'll work
12th Jan 2019, 2:58 AM
Mohsin Pannu
Mohsin Pannu - avatar
0
thanks
12th Jan 2019, 2:59 AM
Elliot Alderson