+ 1
Why this is your error? When i use img in html
i use program imur for lonk img can you explain what is wrong this link for use img in sololearn but why it is wrong: https://code.sololearn.com/WqUmgAiiEt5B/?ref=app
7 Respuestas
+ 1
https://code.sololearn.com/WGhsBpLOqcrF/?ref=app
+ 1
Thank bro Calviղ But can you explain what it is wrong for code me
+ 1
Hello sarmad! If you want I can explain what happened:
1) the link in the src attribute was not in quotes, and
2) the link did not direct to an image, but to the web page. The links that store images end with the extension, for example "www.example.com/abcdef.jpg" (the link is false).
if you do not understand something, you tell me
+ 1
You have 2 errors:
The first error is the the link, https://imgur.com/gallery/jR01T you put on img is not the image link, it's imgur.com webpage link.
Website link is html file, you cannot take it as image file.
Image link must be an url link with image file name. eg. https://www.xxx.com/imgfile.jpg
Image files could be file names with file extension jpg, png, gif, svg, and etc.
To get the image file from imgur.com link, you need to right click the image and copy the image file link to your clipboard and paste it into your codes.
The second error is the image link in the src attribute of img tag must be enclosed with double quotes characters ", image link is a string, not a variable.
+ 1
Thank Calviղ
You are where you got the image link from?
+ 1
Right-click on the image and choose Copy Image Address.
+ 1
Thank