Day 8: HTML Tables and The DOM | Tiffany R. White Blog

Day 8: HTML Tables and The DOM

Reading time: 1 min

DOM badge

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>


<table></table>



<table></table>


tags under which you can have this:
<table>

  <thead>

   <tbody>

   <tfoot>

     <tr>

      <td></td>

     </tr>

   </tbody>

  </tfoot>

 </thead>

</table>




<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

Share

No Ads. No Sponsored Content. Ever.

I've decided that I no longer want to have sponsored posts on this blog. I also, though as tempting as it may sound, don't want ads; even if I got big enough for Carbon ads I don't want them. I want to post free, engaging content for beginning/junior devs. This means that I won't have Setapp posts or affiliates on this blog, though I will keep them on the Uses page. If you enjoy the content, buy me a coffee. Just click the button below.




Webmentions 0

No webmentions were found.

Newsletter