Dev.to WebDev 🛠 Dev 👁 0 📖 1 min read

Html table and their attributes

Html table:- it is a tabular form representing the data or values in the rows and columns on the html document Some of the html table tags are <Table>:- it is table declaration tag and table elements ,contents describe

Html table:- it is a tabular form representing the data or values in the rows and columns on the html document

  • Some of the html table tags are
  • <Table>:- it is table declaration tag and table elements ,contents described within this <table> tag

  • <Caption>:- used to give the title to the table or information about the table

  • <thead>:- this tag is a header section of the table tag

  • <tbody>:- this a body section where the actual data or values are entered

  • <tfoot>:- this a footer section of the table

  • <tr>:-this is table row tag which is used to create a row in the table ,in between this we use <td> and <th> tags to enter the value

  • <td>:- this tag is used to enter the values in the body section of the table

  • <th>:- this tag is used to enter the values in the head section of the table

  • <colspan>:- merge two cell of the table in the horizontal manner

  • <rowspan>:- merge two cell of the table in the vertical manner

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.