Answers for "html table"

101

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

html create a table

<html>
 <head>
   <title>Working with HTML Tables</title>
 </head>
 <body>
   <table>				<!-- create an table object -->
     <tr>				<!-- "tr" represents a row -->
       <th>Name</th>	<!-- use "th" to indicate header row -->
       <th>Date of Birth</th>
       <th>Weight</th>
     </tr> 
     <tr>				<!-- once again use tr for another row -->
       <td>Mary</td>	<!-- use "td" henceforth for normal rows -->
       <td>12/13/1994</td>
       <td>130</td>
     </tr>    
   </table>
 </body>
</html>
Posted by: Guest on March-10-2020
2

html table

<table>
  <thead>
    <tr>
      <th>Item 1-1</th>
      <th>Item 1-2</th>
      <th>Item 1-3</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th>Item 2-1</th>
      <th>Item 2-2</th>
      <th>Item 2-3</th>
    </tr>
  </tbody>
</table>
Posted by: Guest on October-01-2020
1

Table in html

<table><caption>Phone numbers</caption>
<thead>
	<tr>
		<th>Name</th>
		<th colspan="2">Phone</th>
	</tr>
</thead>
<tbody>
	<tr>
		<td>John</td>
		<td>577854</td>
		<td>577855</td>
	</tr>
	<tr>
		<td>Jack</td>
		<td>577856</td>
		<td>577857</td>
	</tr>
</tbody>
<tfoot>
	<tr>
		<td> </td>
		<td>Personal</td>
		<td>Office</td>
	</tr>
</tfoot>
</table>
Posted by: Guest on May-22-2021
0

html tableaux

table>
  <tr>
    <td>Jean</td>
    <td>Biche</td>
  </tr>
  <tr>
    <td>Jeanne</td>
    <td>Biche</td>
  </tr>
</table>
Posted by: Guest on January-30-2021
6

table html

<table>
    <thead>
        <tr>
            <th>Name</th>
            <th>First Name</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Doe</td>
            <td>John</td>
        </tr>
        <tr>
            <td>Doe</td>
            <td>Jane</td>
        </tr>
    </tbody>
</table>
Posted by: Guest on September-05-2021

Browse Popular Code Answers by Language