Please help
I need help adding a image
Started by CyleDyerHero1, Sep 03 2010 08:13 PM
6 replies to this topic
#1
Posted 03 September 2010 - 08:13 PM
|
|
|
#2
Posted 03 September 2010 - 11:09 PM
<img src="title_image.gif" width="100" height="100">
#3
Posted 04 September 2010 - 01:42 AM
CyleDyerHero1 said:
Please help
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#4
Posted 04 September 2010 - 06:24 AM
Thanks Vizlim!
@Nullw0rm -- I did Post a Constructive Question and i had done this In the Title
@Nullw0rm -- I did Post a Constructive Question and i had done this In the Title
#5
Posted 08 September 2010 - 10:03 PM
i always recommend your html files to be XHTML valid. And some performance improvements follow
1.image needs to be loaded fast then provide width , height.
2. Dont scale down a Big image using width , height
3.Provide a Absolute URL/Path to image [ to avoid getting 404'ed ]
4.Use the alt attribute. So your image should always be
1.image needs to be loaded fast then provide width , height.
2. Dont scale down a Big image using width , height
3.Provide a Absolute URL/Path to image [ to avoid getting 404'ed ]
4.Use the alt attribute. So your image should always be
<img src="http://URL/Images/bull.png" alt="Matador" width="100px" height="40px" onClick="location.href='http://adURL'"></img>
#6
Posted 17 October 2010 - 12:40 PM
whenever you insert an image make sure and add an alt= attribute or it wont pass validation.. alt= "imagename" width and height
#7
Posted 23 November 2010 - 12:09 AM
Its quite simple...
In html <img> tag is used to add an image on the page.
<img> tag contain two main attribute. (src & alt)
src tells the source path of the image.
alt is the tooltip that shows when you put the cursor on the image.
For example, your image file name is image.gif and it is placed in the same folder, then your code to add image on the page will be.
In html <img> tag is used to add an image on the page.
<img> tag contain two main attribute. (src & alt)
src tells the source path of the image.
alt is the tooltip that shows when you put the cursor on the image.
For example, your image file name is image.gif and it is placed in the same folder, then your code to add image on the page will be.
Quote
<img src="image.gif" alt="Image" />


Sign In
Create Account


Back to top









