Answers for "html table properties"

106

table html

<table>
  <thead>
    <tr>
      <th>header1</th>
      <th>header2</th>
      <th>header3</th>
    </tr>
   </thead>
   <tbody>
     <tr>
       <td>text1.1</td>
       <td>text1.2</td>
       <td>text1.3</td>
     </tr>
     <tr>
       <td>text2.1</td>
       <td>text2.2</td>
       <td>text2.3</td>
     </tr>
     <tr>
       <td>text3.1</td>
       <td>text3.2</td>
       <td>text3.3</td>
     </tr>
     <tr>
     </tr>
  </tbody>
</table>
Posted by: Guest on February-16-2020
9

table html tages

<table>
  <tr> <!-- This is the first row -->
    <th>This is the heading</th>
    <th>Next heading to the right</th>
  </tr>
  <tr> <!-- This is the second row -->
    <td>This is where the table data goes</td>
    <td>This is the second columns data</td>
  </tr>
</table>
Posted by: Guest on April-24-2020
0

how to align table in html

.centerTable { margin: 0px auto; }
Posted by: Guest on June-23-2020
0

html5 table

HTML123456789101112<table data-order='[[ 1, "asc" ]]' data-page-length='25'>    <thead>        <tr>            <th>Name</th>            <th>Position</th>            <th>Office</th>            <th>Age</th>            <th>Start date</th>            <th data-class-name="priority">Salary</th>        </tr>    </thead></table>
Posted by: Guest on September-17-2021

Browse Popular Code Answers by Language