+ 5

How to add an image from the web in html

https://code.sololearn.com/WclM9QJRcd63/?ref=app

13th Feb 2018, 4:33 PM
DEEPENDU PANDIT
DEEPENDU PANDIT - avatar
5 Answers
+ 11
1) You didn't close the <img> tag 2) The "src" attribute is not pointing to any image, it's pointing to a google search link. 3) There is no <width> tag... i hope. 4) <font> is deprecated, don't use it. 5) The "bgcolor" attribute is deprecated, don't use it. The first two points are related to the problem, the other ones are just advices to improve the quality of your code, here the working demo: https://code.sololearn.com/W39J65xJTRMW/?ref=app
13th Feb 2018, 4:44 PM
Maz
Maz - avatar
+ 8
@MISAmisa you can, but you have to use deprecated and old stuff, i recommend to take the CSS course later on.
13th Feb 2018, 5:12 PM
Maz
Maz - avatar
+ 4
maz can we change the color or border using html only?
13th Feb 2018, 4:49 PM
DEEPENDU PANDIT
DEEPENDU PANDIT - avatar
+ 3
ok maz thanks...i hav completed my code check it out
13th Feb 2018, 5:41 PM
DEEPENDU PANDIT
DEEPENDU PANDIT - avatar
0
Make sure that your image is save with PNG or jpg format before you upload
26th Aug 2020, 2:29 PM
Ismail Idris
Ismail Idris - avatar