Images in HTML

by NSA - 01-10-2015, 07:21 PM
أ) هو ميمي)
Supreme
Posts:
1,987
Joined:
Jan 2015
Likes:
115
Credits:
443
Reputation:
93
3 Years of Service
#1
OP
Posted: 01-10-2015, 07:21 PM
Code:
<img src="URL" alt="Text to display if cant load image" width="104" height="142">
*Note* leaving out the width and height atributes will make the image its actual size.
xxx
Doubt kills.
Prime
Posts:
396
Joined:
Sep 2015
Likes:
30
Credits:
6
Reputation:
29
2 Years of Service
#2
Posted: 01-10-2015, 07:22 PM
Or just:
Code:
<img src="IMG LINK" alt="Description">
Fetches original height and width.
Money is the motivation.
أ) هو ميمي)
Supreme
Posts:
1,987
Joined:
Jan 2015
Likes:
115
Credits:
443
Reputation:
93
3 Years of Service
#3
OP
Posted: 01-10-2015, 07:28 PM
(01-10-2015, 07:22 PM)Perileos Wrote: Or just:
Code:
<img src="IMG LINK" alt="Description">
Fetches original height and width.

read the note....
xxx
Novice
Posts:
20
Joined:
Oct 2017
Likes:
0
Credits:
4
Reputation:
0
1/2 Year of Service
#4
Posted: 24-10-2017, 11:24 PM
<IMG SRC="IMG LINK" ALT="Description" ALIGN="ALİGNMENT">
Newbie
Posts:
15
Joined:
Nov 2017
Likes:
0
Credits:
10
Reputation:
0
1/2 Year of Service
#5
Posted: 02-11-2017, 09:29 PM
or if you want to get fancy
<a href="WEBSITE URL HERE"><img src ="url" height = "xxx" width="xxx" alt="desc"/></a>
Novice
Posts:
29
Joined:
Nov 2017
Likes:
0
Credits:
7
Reputation:
0
1/2 Year of Service
#6
Posted: 10-11-2017, 02:55 PM
And now with HTML5 we can use : 

Code:
<img src="images.png"
    srcset="images.png, images-hd.png 2x"
    width="" height="" alt="">
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)