Use of Images in Website

Any web content can extract the interest of the target audience when it is said well as well as depicted with necessary relevant images. Images add an extra value to your web contents. Images can be added pretty easily to a website. Here I am presenting some very basic technique of using images to a website.
The image or tag has only two required attributes. They are ‘src’ and ‘alt’. The ‘src’ attribute tells the browser about which images to be displayed and the ‘alt’ tag means the alternate text. It tell the browser about the text to be shown if unfortunately the images can be produced.
The <img> Tag: <img src=”URL to the image” width=”width in pixels” height=”height in pixels” alt=”alternative description of the image” />
There are two other attributes that are strongly recommended when the images are to be inserted. These two attributes are ‘Width’ and ‘Height’. The width and height attributes tell the browser about the shape of the picture. This allows the webpage to render more quickly, as it helps the browser to locate the necessary space for the image and then steps forward for the next contents.
There are some other less common image attributes which are used rarely but has a definite impact.
Longdesc: The ‘longdesc’ attribute is used to place a pointer URL in the image tag to a longer description of the image. It allows to supplement the information in the alt attribute.
Title: The ‘title’ attribute provides the ability to entitle the uploaded image.
usemap and ismap: These two attributes allow you to set client-side (usemap) and server-side (ismap) image maps to your images.
Images and the Clear Property
When working with images there is a great property which has been held helpful. If you have a right-alligned image, and you want the text to follow after it rather than wrap around, you can use the property ‘clear:right’ on the following text (in a <p>, <div> or whatever). The easiest thing to remember is clear:both which endures that all text after that property will begin below the images.
Credit: About.com
| Print article | This entry was posted by Nazmul Alam on May 2, 2010 at 1:51 PM, and is filed under Articles. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
No comments yet.
- Recipe News: Recipe: Chicken Marsala Stew With Spring Vegetables Includes recipe for: RECIPE | Recipe Burgers
- North Capitol Street » Blog Archive » Source: NYC Bomb Suspect Upset Over Drone Attacks
- North Capitol Street » Blog Archive » Obama Urges Congress to Start Immigration Overhaul This Year
- North Capitol Street » Blog Archive » Obey Won’t Run For 22nd Term in House, Says He’s ‘Bone Tired’
- Make Your Beats – How to Start
- Double Your Cup Size, Natural Breast Enlargment. | Portable Air Conditioning Units
- Yu Gi Oh 138 (1/2) English Version | digguk
- Yu Gi Oh 10 (2/2) English Version | digguk
- Yu Gi Oh 202 (2/2) English Version | digguk
- Digital Camcorder Guide! | Camcorders Optical Zoom
- Yu Gi Oh 181 (2/2) English Version | digguk
- Yu Gi Oh 105 (1/2) English Version | digguk
- Use of Images in Website
- Optimizing Your Fall Ship Web site For Search engines « Ebay Wholesale and Internet Marketing Tips
- Web Hosting: Exactly what is it. And how do you get a good web host | Host Rage
- Satellite images show Spill tripled in size | digguk
- I would like to create a website. Which companies offer hosting services? | Host Rage
- Tweets that mention Use of Images in Website — Topsy.com
- ScreenDASH! Image Software. | TOP 10 VACUUMCLEANERS
- ScreenDASH! Image Software. | TOP 10 VACUUMCLEANERS
- Use of Images in Website | PhotoShopped
