+ 1
I have added an image to my html code.But the code is not showing the image. Why? The img is from google link.
6 ответов
+ 1
Thank you ❤️
0
Mehbub Jevin you doesn't put the closing double quote at your img src attribute value... that's why the image is not displayed at all (invalig tag, as unclosed also, because all the code next is considered as part of the string value ^^)
however, even by fixing that, the image element will be displayed but not loaded: the url provided is not an image url, but a page url ;P
[edit] your code with the real image url correctly wrapped in quotes:
https://code.sololearn.com/WS8lYu82iIA6/?ref=app
0
<ing src=" "<~ >
You should always use images wich has the file type at the end. Like:
...google.PNG
..yahoo.JPEG
Ir you are searching in Google Images, you can right click on image and "Copy Image Adress".
Use this link but do not forgett the "" at the end and begin.
0
▲TopGun ▲ the file type as extention is no required, but the url must serve a image file (with correct mime type)...
0
▲TopGun ▲ thank you so much. It has been solved ❤️
0
visph Thank you so much. ❤️