Please how can I add a picture to an HTML program | Sololearn: Learn to code for FREE!

+2

Please how can I add a picture to an HTML program

Html

8/18/2022 10:39:41 PM

Sheriff yahaya

8 Answers

New Answer

+7

Images https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML audio: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio video: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video How To Upload your phone images on SoloLearn using phone https://code.sololearn.com/WT3661NHpV3B/?ref=app Upload content with Dropbox [Tutorial] https://code.sololearn.com/WW6t4B73kJVz/?ref=app How to host/upload an image (IMGBB way) /by Farhanaz/ https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app Upload content with Google drive https://code.sololearn.com/Wa25A17a19a1/?ref=app

+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

+2

Ok thanks

+2

+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>

+2

๐Ÿ‘‡๐Ÿ‘‡ https://code.sololearn.com/W7XBmZVRmLzw/?ref=app ๐Ÿ‘‡๐Ÿ‘‡ https://code.sololearn.com/WVwTFcL6T3Uw/?ref=app

0

You use <img src="---------------.jpg/jpeg/gif">

0

Add the code <img src="(Your URL image)" If you want to add a picture.