Frames

Monday 8 September 2014

Table in HTML



TABLES IN HTML

The basic parts of a table are
-          a caption above the table,
-          table heading
-          The rows and columns of the table are divided into cells and
-          Each cell holds the data.

Creating a Table

<TABLE> element is used for creating table.
<TH> to create table row heading
<TR> to create a table row
<TD> to insert data into the table

<TABLE>
<TR>
            <TH></TH>
            <TH></TH>   
</TR>
<TR>
            <TD></TD>
            <TD></TD>   
</TR>
</TABLE>

No comments:

Post a Comment