Tuesday, February 5, 2019

Learn HTML: Tables

Learn HTML Tables

What did I do...
 Adding a Table:
EX:
<table>
    <tr>
      <th>Company Name</th>
      <th>Number of Items to Ship</th>
      <th>Next Action</th>
    </tr>
    <tr>
      <td>Adam's Greenworks</td>
      <td>14</td>
      <td>Package Items</td>
    </tr>

  </table>

How to make one of the boxes in the table 2x the size of others (Vertically)
<td rowspan="2">Davie's Burgers</td>
How to make one of the boxes in the table 2x the size of others (Horizontally)
<td colspan="2">Summit Resort Rentals</td>
It is also important to section things off, such as
For the headings of a section:
<thead></thead>
For the body part of the table:
<tbody></tbody>
For the footers of the table:
<tfoot></tfoot>

Slowing moving onto CSS style coding


What did I learn...

   I learned how to set up a table in html. And also all kinds of editing and organizing style of the tables. Also got a bit into CSS coding as well, the way CSS code is really different from the HTML elements, as it is more complicated.

What I'm doing tomorrow...
   I will be moving onto the next lesson which is about Introduction to HTML Forms tomorrow.


No comments:

Post a Comment