Page 229 - DCAP109_GRAPHIC_TOOLS
P. 229
Graphic Tools
Notes 10.2.5 Alignment
An image can be aligned using the <align> tag. The alignment options available are – left, right,
top, middle, bottom, absmiddle, absbottom, baseline and texttop.
Example:
<img src=” pumpkin.gif” align=”right”>
This picture is right aligned.
Figure 10.10: After Alignment
Source: http://www.htmlcodetutorial.com/images/_IMG_HSPACE.html
10.2.6 Border Size
The border attribute places a border around the image.
<img src=”image.jpg” border=”1">
Notes When the image is used as a hyperlink, a 1-pixel border is applied automatically.
Self Assessment
Fill in the blanks:
4. The …………………… attribute informs the browser which image is to be placed and
where is it located.
5. The …………………… attribute is designed to be an alternative text description for images.
6. The size attributes define the width and height of the image as ……………………
10.3 Tables
A table consists of head, rows, columns and cells. Data can be put in the table using the various
tags. Rows are horizontal and Columns are vertical. It makes the data much clearer to understand
and maintain.
222 LOVELY PROFESSIONAL UNIVERSITY