Day 8: HTML Tables and The DOM

1 min read

\"DOM

The DOM

So today was basically going over HTML tables. Easy. Then we went through MDN JavaScript Web API to learn about the DOM.

Went inside Chrome Dev Tools to look at what the

window.document

was.

So the window is the entire window opened in your browser. You can get information from the window, call methods on it and functions. Usually you don’t write

window.document

to access the document, (which is part of the DOM or Document Object Model).

The DOM is basically the HTML document, arranged in a tree, with nodes that you can manipulate with JavaScript and jQuery.

HTML Tables

Self-explanatory really. So you have a few

<table></table>

tags under which you can have this:

<table>

  <thead>

   <tbody>

   <tfoot>

     <tr>

      <td></td>

     </tr>

   </tbody>

  </tfoot>

 </thead>

</table>

\"wpid-Screenshot-2015-08-20.jpg\" \"wpid-Screenshot-2015-08-20-1.jpg\"

CC BY-SA 4.0 Day 8: HTML Tables and The DOM by Tiffany White is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.