0
HTML, How to put an image?
How to put an imagen? Help!!
18 Answers
+ 1
To insert an image in your HTML code:
<img src="image directory" />
<img> -Specifies an image
src -Reference to the source of the image to be used
Image directory-The location of image
Hope it helps
+ 7
<img> does not need an end tag.
+ 3
use img tag and use src tag for image url
or an alternative alt tag that defines any text about imag eif browser didn't support
<img src="url" alt="text">
+ 3
Please use the search bar at the top and type the tag according to the question to avoid duplicate questions
https://www.sololearn.com/discuss/760123/?ref=app
https://www.sololearn.com/discuss/380709/?ref=app
https://www.sololearn.com/discuss/462935/?ref=app
https://www.sololearn.com/discuss/1028911/?ref=app
https://www.sololearn.com/discuss/1346372/?ref=app
https://www.sololearn.com/discuss/2024906/?ref=app
https://www.sololearn.com/discuss/1968235/?ref=app
https://www.sololearn.com/discuss/1035878/?ref=app
https://www.sololearn.com/discuss/1143805/?ref=app
https://www.sololearn.com/discuss/390824/?ref=app
https://www.sololearn.com/discuss/442043/?ref=app
And this is also in the course, open it and study
https://www.sololearn.com/learn/HTML/1030/
+ 2
<img src="url"> this not have final tag
+ 2
See my example:
https://code.sololearn.com/W0YYbYE1b35P/?ref=app
+ 2
<img src"files name and directory " >
+ 1
Use img tag
like following code
<img src="url" alt="any-text" >
if you want to insert image from your local storage
move the image into html file folder
and simply add name of image instead of url field
otherwise copy the url from browser
and put the url of image into the url field
Hope this is helpfull
0
Angelo Romero Cairel from device is not working in SL, from dropbox better
0
To import image into your html file on Solo learn
<img src="url-link" alt="the-description" width="px, cm, % etc" height="px, cm, % etc" />
Explanations:
<img /> : is the image tag and the end backslash are added to close the tag
src : is the attribute of img tag which requires value
src="url-link" : the url-link represents the the link to the image or directory e.g
<img src="www.sololearn.com/home/logo.png" alt="Sololearn logo" width="50%" height="30%" /> that's for the image from another site
<img src="Image/logo.png" alt="Sololearn logo" width="50%" height="30%" /> that's for the image from directory or file
0
<img src="photo.png" alt="Not support in browser">
0
To insert an image in html use <img> tag.
<img src= urimageloction/imagename.jpg(or)png />
Here src will direct the location of image
Eg: <img src = cute.jpg />
0
judging by the number of responses this guy will become an enlightened guru for inserting images on a web page!
0
Go to www.imagebb.com upload your images and copy url then paste it to your code ,if you open browser you will see your image
0
<img src="img.jpg" alt="Not Support">
0
You can add image using IMG tag with src attribute
0
Where src will be the location of the image