Page 98 - CA 165 ver 1.0 Class 10
P. 98
Inserting an Image
An image can also be inserted inside a table or any cell of the table by using <IMG> tag. For example:
<TABLE >
<TR><TH> <IMG SRC= “Filename” > </TH>
..........................................
</TR>
</TABLE>
Image as the
content of a cell.
Spanning of Columns and Rows
The columns and rows of a table can be spanned (merged) by using COLSPAN and ROWSPAN attributes.
COLSPAN attribute is used to merge the specified number of columns in one cell whereas, ROWSPAN
attribute merges specified number of rows in one cell. Syntax to use the COLSPAN and ROWSPAN
attributes is as follows:
<TABLE >
<TR> <TH COLSPAN= “Value”> Text </TH> </TR>
<TR> <TH ROWSPAN= “Value”>Text </TH> </TR>
</TABLE>
96 Touchpad Computer Applications-X

