Please how can I add a picture to an HTML program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Please how can I add a picture to an HTML program

Html

18th Aug 2022, 10:39 PM
Sheriff yahaya
Sheriff yahaya - avatar
8 Answers
+ 3
https://www.sololearn.com/discuss/2832340/?ref=app
19th Aug 2022, 3:06 AM
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika)
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika) - avatar
+ 2
You can use <img src="image url"/> Where "image url" is path to your image, it can be image from internet or from your computer/phone Note: local images dont work on sololearn so you need to upload image to some cloud like drop box
18th Aug 2022, 10:43 PM
PanicS
PanicS - avatar
+ 2
Ok thanks
18th Aug 2022, 10:52 PM
Sheriff yahaya
Sheriff yahaya - avatar
+ 2
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0";> <title>Image</title> <link rel="stylesheet" href="style.css"> </head> <body class="body"> <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTPGGOif2hN0ojHqVg2OZDQgERhHVD70MoaDg&usqp=CAU"> </body> </html>
19th Aug 2022, 5:47 AM
ㅤㅤㅤㅤ PrคงēŞh Şiຖງh Pคtēl 🎃
ㅤㅤㅤㅤ PrคงēŞh Şiຖງh Pคtēl 🎃 - avatar
19th Aug 2022, 5:16 PM
ㅤㅤㅤㅤ PrคงēŞh Şiຖງh Pคtēl 🎃
ㅤㅤㅤㅤ PrคงēŞh Şiຖງh Pคtēl 🎃 - avatar
0
You use <img src="---------------.jpg/jpeg/gif">
19th Aug 2022, 4:25 PM
Mark Junior
Mark Junior - avatar
0
Add the code <img src="(Your URL image)" If you want to add a picture.
19th Aug 2022, 7:16 PM
Aaron Zida
Aaron Zida - avatar