Frontend Development

Images in HTML

Submitted by NSA, , Thread ID: 10769

Thread Closed
01-10-2015, 08:21 PM
#1
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

RE: Images in HTML

#2
Or just:
Code:
<img src="IMG LINK" alt="Description">
Fetches original height and width.
Been working with MyBB since 2013. Been involved with several forum such as Crackingseal & Cracked.to

RE: Images in HTML

OP
#3
01-10-2015, 08:22 PM
Perileos Wrote:
Or just:
Code:
<img src="IMG LINK" alt="Description">
Fetches original height and width.

read the note....
xxx

RE: Images in HTML

#4
<IMG SRC="IMG LINK" ALT="Description" ALIGN="ALGNMENT">

RE: Images in HTML

#5
or if you want to get fancy
<a href="WEBSITE URL HERE"><img src ="url" height = "xxx" width="xxx" alt="desc"/></a>

RE: Images in HTML

#6
And now with HTML5 we can use :

Code:
<img src="images.png"
   srcset="images.png, images-hd.png 2x"
   width="" height="" alt="">

Users browsing this thread: 1 Guest(s)