+ 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
4 odpowiedzi
+ 27
Try This Way:
The Form Is: <img Attribute="value" />
So:
<img src="#" Alt="#" border="#" height="#" width="#" />
I Hope You Got It!!!😊✌
+ 3
<img src=“link_to_image”>
+ 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
+ 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">