+ 3
Can someone please tell me more on how to insert an image in html
Image insertion
11 Respostas
+ 25
You need to use some image hosting site. I use imgur.
1. Go to imgur.com
2. Upload your image
3. Copy direct link to your image.
4. Paste this link as 'src' attribute of <img>
Thats it!!
+ 12
Use it...
<img src="img.jpg" alt="xyz" width=".." height="..">
+ 11
Thank you so much for the answer Mitali
I needed this đ
+ 9
To insert a img in HTML u need the img tag.
It's syntax is
<img src="#.." alt="N.a.">
Src attribute is use to define source or the URL of image .
U can copy URL from the web and paste it.
In sololearn u can't use the images of ur phone in ur code as it doesn't have a url.
Alt attribute is used to define alternate text for image if it fails to load.
These are the main attributes .
Else are width , height , float etc. Not so much important.
Thanks
+ 9
Using the <img> tag. Please check the html tutorial.
+ 7
<img src= "path" alt="Abc" />
+ 2
Use the img tag. You can get a clickable image by using nesting in an anchor tag. <a> đ€
0
<img src= "path">
0
<img src="image.jpg" />
0
Mitali you have pass certification exam, asking basic question.use
0
<IMG src= Ritesh.jpg