Saturday, 14 October 2017

In HTML, how do you customize a table in any manner you want?


  1. Use the HTML <table> element to define a table.
  2. Use the HTML <tr> element to define a table row.
  3. Use the HTML <td> element to define a table data.
  4. Use the HTML <th> element to define a table heading.
  5. Use the HTML <caption> element to define a table caption.
  6. Use the CSS border property to define a border.
  7. Use the CSS border-collapse property to collapse cell borders.
  8. Use the CSS padding property to add padding to cells.
  9. Use the CSS text-align property to align cell text.
  10. Use the CSS border-spacing property to set the spacing between cells.
  11. Use the colspan attribute to make a cell span many columns.
  12. Use the rowspan attribute to make a cell span many rows.
  13. Use the id attribute to uniquely define one table.

No comments:

Post a Comment

Popular Posts