How can i put pictures on my web page? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How can i put pictures on my web page?

24th Apr 2020, 8:02 AM
Yash Samdadia
74 Answers
+ 14
<img src="picture_name.png" /> You can resize it like this: <img src="picture_name.png" width=50 height=25 />
25th Apr 2020, 12:57 AM
Henri Evjen
Henri Evjen - avatar
+ 9
<img src="picture.png"> Instead of picture.png write the name of your picture 😊👍
24th Apr 2020, 8:09 AM
F L a Z z Y
F L a Z z Y - avatar
+ 7
First resize the image as <img src= "image_name.png" height=50 width=50/> further you can refer from the site https://www.geeksforgeeks.org/
26th Apr 2020, 4:15 AM
Aditya
Aditya - avatar
+ 6
By img tag and use alt=name of the image because in case image not opening in ur browser then name of image show.
25th Apr 2020, 2:14 AM
Anand Kumar
Anand Kumar - avatar
26th Apr 2020, 3:13 AM
BroFar
BroFar - avatar
+ 3
Copy the link and past in the comment 😁
24th Apr 2020, 8:20 AM
F L a Z z Y
F L a Z z Y - avatar
+ 3
I am haveing trouble developing a self sustanable ai. There are too many ifs and buts
25th Apr 2020, 4:22 AM
God of gods
God of gods - avatar
+ 3
Use img src tag and define ur image link/url in double quotes
25th Apr 2020, 6:58 AM
The CodeGeek
The CodeGeek - avatar
+ 3
<img src=" past your copied image link here" />
25th Apr 2020, 7:26 AM
Samuel Adade
Samuel Adade - avatar
+ 3
How to not Google
26th Apr 2020, 4:57 AM
Bhavya
Bhavya - avatar
+ 3
<I'm src="picture_name.png"/>
27th Apr 2020, 12:36 AM
Raymond Agbenyefia
Raymond Agbenyefia - avatar
+ 2
After that what to do?
24th Apr 2020, 8:12 AM
Yash Samdadia
+ 2
It is not showing picture on my web page
24th Apr 2020, 8:13 AM
Yash Samdadia
+ 2
Ok
24th Apr 2020, 8:15 AM
Yash Samdadia
+ 2
How to show the code?
24th Apr 2020, 8:17 AM
Yash Samdadia
+ 2
Actually I am doing it on my PC
24th Apr 2020, 8:20 AM
Yash Samdadia
+ 2
So, just copy your code and past here😝
24th Apr 2020, 8:21 AM
F L a Z z Y
F L a Z z Y - avatar
+ 2
How are you?
24th Apr 2020, 8:33 AM
F L a Z z Y
F L a Z z Y - avatar
+ 2
If the picture is not in the same destination as your .htm or .html file your picture will not be shown so you can point out your destination of picture by <img src="/downloads/images/picture.jpg"> . Or you can put your .html or .htm code and pictures in the same folder and just point out the picture in the code with <img src="picture.jpg">. I hope this might help you.
24th Apr 2020, 6:18 PM
Rakesh Thapa
Rakesh Thapa - avatar