+ 12

How can I insert an image in my code in HTML?

Hello everyone, I need to add an image in my code...plz help me....how to insert image frm google to code

26th Feb 2019, 3:28 PM
Felix
4 odpowiedzi
+ 27
Try This Way: The Form Is: <img Attribute="value" /> So: <img src="#" Alt="#" border="#" height="#" width="#" /> I Hope You Got It!!!😊✌
1st Mar 2019, 12:09 PM
K͜͡ɩnɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - avatar
+ 3
<img src=“link_to_image”>
26th Feb 2019, 3:49 PM
Nathan Lewis
Nathan Lewis - avatar
+ 3
First, you need the URI of the image, the "address". If you want to insert an image you found on Google, simply right click the image in your browser and select something like "copy image address". You should be aware of copyrights in some images! Make sure the image you want to insert in your code is not 'protected' to avoid future problems. Then paste this address into your code between the " or ' in <img src="_paste_address_here_"> You may want to add an alt attribute, which displays some text, when the image could not be displayed and set the width and height attributes. Read more about inserting images here: https://www.w3schools.com/html/html_images.asp
26th Feb 2019, 7:39 PM
Pete Wright
Pete Wright - avatar
+ 3
You will have to put the name of Image file name in src attribute of <IMG> tag in HTML Example: <img src="smiley.gif" alt="Smiley face" height="42" width="42">
28th Feb 2019, 4:38 PM
Vipin Sankrit
Vipin Sankrit - avatar