what other tags can be used in the table tag?
Answers
TABLE TAG –
The table tag is used for creating a table .
A table is used to arrange the data in the form of row and column. When data is arranged in a table, it looks more organised.
For example–
If your class teacher tells you to create a class list with the provision of Palam which can store marks in different subject then the best way to do the task is to use table.
the process of creating an HTML table is similar to the process that you used to create your web page and any elements that you may have already included in your page, such as links.
Coding HTML tables into your webpage is fairly easy since you need only understand a few basic table codes.
CREATING TABLE IN HTML
<TABLE
ALIGN= "LEFT / RIGHT / CENTER"
BGCOLOUR= "COLOUR"
BORDER= "VALUE"
CELLPADDING= "VALUE"
CELLSPACING= "VALUE"
HEIGT= "HEIGHT"
WIDTH= "WIDTH"
>
........
</TABLE>
the attribute of <table> tag
⛤ ALIGN
It specify the horizontal placement off the table. This attribute can take one of the following values: LEFT, RIGHT or CENTER.
⛤ BGCOLOUR
This attribute sets the colour of the background for the table.
⛤ BORDER
This attribute is used to draw border around the table.
⛤ HEIGT
The HEIGHT attribute specifies the height of the table.
⛤ WIDTH
The WIDTH attribute specifies the width of the table.
⛤ CELLPADDING
The CELLPADDING attribute of the table tag determine the amount of space between the border of a cell and the content inside it.
⛤ CELLSPACING
The CELLSPACING attribute determine the amount of space between individual cells in a table.