jueves, 24 de julio de 2008

htmls-tags-2- All About on Include Pictures to Your Page

html tags



see: html codes



The use of images is one factor that has both popularized the World Wide Web. Include pictures in a Web presentation is very simple, should only take into account that the images must have the GIF, JPEG or PNG. The images online are specified from the tag that does not have a corresponding closing tag but may be accompanied by the following attributes:


Src = This attribute is mandatory and indicates the name of image file (in quotes) or URL to be represented.

Align # = Allows control the alignment of an image with regard to an adjacent line of text or other images in this direction. The three possible values are already known left, right, top, middle and bottom.


# = Alt is the alternative that was established when there were still displays only text. Among quotes we can write a text that would supplant this image if it does not charge or while loading or when, already displaying the image, we can move the mouse over.


WIDTH = # This attribute is optional but it is advisable to help bring the browser to represent the image, it means the width of the image that we are going to represent.


HEIGHT = # Like the WIDTH attribute is optional and recommended put, this means the top of the picture.

Border = edge specify the width of a rim that surrounds the image.

IMG SRC="/graphics/baby1.jpg" WIDTH=140 HEIGHT=210 BORDER=0 ALT="Baby"› .

Also See: html tags

No hay comentarios: