HTML – Tables

June 28, 2024

The following is an example of how to construct a table using the following tags

  • <table>
  • <tr>
  • <td>
  • <th>
  • <theader>
  • <tbody>
  • <tfooter>

Tags have been explained in the comments contained in the code below:

<html>
    <head>
        <title>Tables</title>
    </head>
    <body>
        <!-- <table> used to create a table
            <thead> table headers sit inside this element
                <tr> starts a table row
                <td> contains the cell data
                <th> like td but contains the header
            <tbody> groups the body of the table content
            <tfooter> contains the table footer -->
        <table>
            <thead>
                <tr>
                    <th>Date</th>
                    <th>Income</th>
                    <th>Expemditure</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <th>1st January</th>
                    <td>250</td>
                    <td>36</td>
                </tr>
                <tr>
                    <th>2nd January</th>
                    <td>285</td>
                    <td>48</td>
                </tr>
                <tr>
                    <th>3rd January</th>
                    <td>290</td>
                    <td>50</td>
                </tr>
                <tr>
                    <th>4th January</th>
                    <td>255</td>
                    <td>32</td>
                </tr>
                <tr>
                    <th>5th January</th>
                    <td>315</td>
                    <td>65</td>
                </tr>
                <tr>
                    <th>6th January</th>
                    <td>244</td>
                    <td>36</td>
                </tr>
                <tr>
                    <th>7th January</th>
                    <td>450</td>
                    <td>125</td>
                </tr>
                <tr>
                    <th>31st January</th>
                    <td>129</td>
                    <td>64</td>
                </tr>
            </tbody>
            <tfoot>
                <tr>
                    <td></td>
                    <td>7824</td>
                    <td>1241</td>
                </tr>
            </tfoot>
        </table>
    </body>
</html>
The outcome of the preceding code. Note the footer data is not the actual sum, just an example
The outcome of the example code


Holidays Are Over

January 7, 2014

Well it’s been quiet here on my blog but now the holidays are over it’s time to get back into it all.

Keep an eye out for upcoming material in the coming days. Thanks again.


Merry Christmas

December 25, 2013

MerryXmasThanks for a wonderful 2013, have a safe Christmas and New year everyone.

 


Study Update

November 13, 2013

Hi all, just a quick update to let you know what’s happening.

Well i’ve almost almost completed reading the ICND2 book , the new 200-101 exam and it is quite different to it’s predecessor so i highly recommend you purchase the new one if you haven’t already. The next thing i have to do is also finish up my notes and get those ios commands stuck in my head. I had initially planned to obtain the CCNA by the end of November but due to some hurdles in the last couple of weeks i will be happy with finishing up all the notes before then.

Also the networkdictionary.wikispaces.com wiki which i have created is coming along nicely. Plenty of Cisco related acronyms in there now, so don’t forget it’s free for anyone and to join also, add whatever is missing (that’s alot)

So keep at it and when the times right i will be covering the rest of the ICND2 exam soon. I’m thinking Identifying WAN technologies next, it’s my favourite.


Things To Come

October 10, 2013

Well just a few days away from this sites first Birthday and to celebrate over the next week or so i will be giving the entire site a facelift. Since i do everything on my own this will take some time but i plan to better organise the posts into their respective categories (this was something i initially did not think about) and a new theme.

So if the next time you visit here and it looks different i did it 😀

Happy networking


End of financial year

June 30, 2013

Tomorrow is the start of july and i can’t remember if i have done any updates for june, well i have been busy moving house and now i have just moved in, no internet. Tethering from my iphone to atleast get an update out. ICND2 material is coming, i promise hang in there. Talk to you guys later, hopefully just another 2 weeks.


Merry Christmas

December 25, 2012

Merry Christmas guys hope you all have a safe holiday season.

Also a quick update i did promise you all the notes for ICND1 by the end of November and its now the end of December, sorry but i’ve been with family for the past month and haven’t had alot if time to clean up my notes, but keep in there and keep reading your own notes so you don’t forget things over the break, I’m giving my notes and AD of 120 haha enjoy guys, ill update more as i get the chance.


Welcome

October 12, 2012

Hello guys and gals,

Well im guessing if you have stumbled upon this page already it must have been already indexed by what im assuming to be google and or another major search engine of choice, but what i hope to have displayed here is in fact alot of my scribbles, interesting articles and notes of my experience with networking in the IT industry. There won’t be alot to start with but im planning to keep this going as long as possible. Bookmark this page and maybe who knows sometime in the future this page could save you as well one day during one of your own Networking questions either in the real world or studying.

Thanks – Josh Gahan