Answers for "working with tables in html"

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
1

tables in html

<table>
        <thead>    <!--Table Head-->
            <th>Year</th>   <!--Table Heading-->
            <th>Work</th>   <!--Table Heading-->
        </thead>
        <tbody>     <!--Table Body-->
            <tr>    <!--Table Row-->
                <td>2019-2020</td>    <!--Table Data for row1-->
                <td>self-taught Python Developer</td>    <!--Table Data for row1-->
            </tr>
            <tr>
                <td>2020-2021</td>
                <td>Learning Advanced Python</td>
            </tr>
        </tbody>
        <tfooter>
        </tfooter>
    </table>
Posted by: Guest on February-23-2021
0

html tables

<table></table>
    <td></td> <!-- td is a table cell-->
    <tr></tr> <!-- tr is a table row-->
    <th></th> <!-- th is the table header -->
    <thead></thead><tbody></tbody><tfoot></tfoot> <!-- table semantic -->
    <tr rowspan="2"></tr><!-- Span a row -->
    <tr colspan="2"></tr><!-- Span a column -->
Posted by: Guest on January-05-2021

Browse Popular Code Answers by Language