0

How to make a image in html

when we open it like a link it becomes big

5th Dec 2016, 3:55 AM
Saharsh Rattanpaul
Saharsh Rattanpaul - avatar
3 Risposte
+ 3
<img src="url" alt="" /> Just like that. this Will display the image at your page
5th Dec 2016, 4:00 AM
Nahuel
Nahuel - avatar
+ 2
yes when you open a image or open it as a link or put only image then browser automatically does so. so you can make a div container with image height and width and set this to onclick on make it visible instead of link
5th Dec 2016, 4:19 AM
Sandeep Chatterjee
0
<img src="url" alt="" style="width:300px;height:250px;"> Always specify the width and height of an image, if width and height are not specified, the page will flicker while the image loads.
5th Dec 2016, 7:36 AM
arun menon
arun menon - avatar