Table represents rows and columns will see how in HTML.
similarly for table rows creation | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
for
table data/cell tags respectively. We will see on example below
Example:
Table BorderIn HTML form for a table require a boarder by using this boarder attribute with value to create a boarder on HTML form using CSS boarder property. Collapsed BorderBy default table borders will display 2 lines, this can also possible to collapse into one border by using CSS property that is border-collapse : collapse as value , will see more on example In this property of CSS Padding specifies the space between cell and borders surrounding it. In HTML table headings are center alignment and bold it will displays Between the cells we can create border space by using this CSS property In HTML table some we require to merge the two or more columns for column title to be write For the purpose of this in attribute colspan with value will do this facility.
In HTML table some we require to merge the two or more rows for rows title to be write For the purpose of this in attribute rowspan with value will do this facility.
|