Documentos de Académico
Documentos de Profesional
Documentos de Cultura
HTML Images
HTML Images
Previous
Example
Next Chapter
Try it yourself
4/4/13
HTML Images
< i m gs r c = " p u l p i t . j p g "a l t = " P u l p i tr o c k "w i d t h = " 3 0 4 "h e i g h t = " 2 2 8 " >
Tip: It is a good practice to specify both the height and width attributes for an image. If these attributes are set, the space required for the image is reserved when the page is loaded. However, without these attributes, the browser does not know the size of the image. The effect will be that the page layout will change during loading (while the images load).
More Examples
Aligning images How to align an image within the text. Let an image float to the left and to the right How to let an image float to the left or right of a paragraph. Make a hyperlink of an image How to use an image as a link. Create an image map How to create an image map, with clickable regions. Each region is a hyperlink.
w3schools.com/html/html_images.asp
2/3
4/4/13
HTML Images
<area>
Previous
Next Chapter
w3schools.com/html/html_images.asp
3/3