+ 1
I used img tag to put image on my website.but it didn't worked.please help me
I used src and alt attribute
10 Réponses
+ 4
shirja Beevi
You can't use your phone's image file on the online website.
You have to upload your image somewhere on the internet like DropBox.
You can upload there and get a link then paste in your code.
https://code.sololearn.com/WT3661NHpV3B/?ref=app
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
https://www.sololearn.com/discuss/1054246/?ref=app
+ 3
<img src="pic_trulli.jpg" alt="Italian Trulli">
First check the syntex once again and try
+ 2
shirja Beevi
Because you are working in your local machine so you can access anything but your local machine is not connected to online website (means your local machine is not a server). So you can't access your local file on online website.
+ 1
And we are not use <img/> tag in the img tag have no closing tag
+ 1
Send me your aal text code
+ 1
we won‘t be able to help you like this.
share your code.
+ 1
Thanks it only worked on laptop
0
I know it is a self closing tag
0
I tried didn't worked
0
Try it with picture tag.