How to create a table layout like this - html

am trying to create a table layout like this:
<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAEWCAYAAABfdFHAAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAB4+SURBVHhe7d1/bBzlncfxL6eUHxKIkiMSEa1Mgh2LhP7h6gSKqVLnjlg4oAikKEkFnP8IcVRDZbcRAkIuf3D5AUK5BlFSxRCd3N6pcRQpqCK2ZWhJrRIrVMJ/ND8Ux4lZ9RBIyYUiWvHjkHLP88yPnZmdnd3Z+NndWb9f0Sre3Zln1zvzzGeemfF+rxGRK+omZ8+e1f8BmCWtra30K0D5B/d/AACsIGgAAFZx6GxWfSHbf/lXGZLr5fUf3yIr5BsZHLoouy7r57zHNO/x4GPKzKfSOvqle0eZf5OMrb9Rmty78unfZMPBz2XSvWs0f1vOrrrBveO9vmP9AwvlhUXuHS00v/fa4Xl8oXZRCQ6dlTIuC1s3yU3uPd/61yV35z5p2qXWVPXz1AtuDxnfLks2qTXVPCax837++ln52ExevO2pF5rk1g2dMt90hPXy8dkX5HPzZM59PPBYblCaOnfJdeZ5ka+2jkmuW/fIpPb9Hg0XI5qq+VL2ffCN+3Oh3AcXnZDRG/gfLzS3sZYv5Bl3HvO8Dong8/fOE5n+q7QO/U11kaB50jZfZOj98OO5mS9UyDjPFdCh5rZrboQMqqVtq+RUIE95N7Wh/qq719nQD+2TW81KrEJgn94dUiEQ2pDrUNDzjcnlNpGbNrXKwnH3KS2m7bAhmT8Y7j0+L2T8Nsbk7yMHwuFSsn1oBE01zFcbd/Xf5InP1X5QnC/kwAkdKGqUEdjAN31/gRz8vgqTos/fIlt1aFz+Qo596jzmmCddLWq+0ONuG803SJf7CFC/VsjHr69X/0/K/GcG5brxA2YE8tXWje7oI6pJPu/SvUzk2pkiwRHV1iZfqf+u2xUJD0/uvDOSWbLITKdf49JBb/SDNAiaqrhBevXoo9ioZuZL59BV8/X5w2hBRZ+f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gEDRzSvBLOAtLBgC14Xxh5lPq34573IeKKlHzv2g7SfNFlXiNstuBh6CphqI1/EvX4Y+v36/o6QK1/702Q9O7z/uvF/z254JvggZqpUP2qI32cG+0iHKMxLr+Ce0kzheRNG2aduAjaCxLruGfXIe/eP1+9yv/Tx2R3fKoeU5/bX90+tMdk7LmtQ/LK1sAZECldf3TzJc0baWvP9cRNFaVquHv1OH3qVHKbr8Of1L9fhUUbu3/A35dmEsyciz8Ws3L22R5oN6MqabZsdQJmsDPQHZVWtc/zXxJ01b6+nMLQWNTyRr+Th3+idxF87MzmnHr8CfW73crawZq/8tHp+Vw9JyLLjW9rE26zOExLgRAI6q0rn+a+ZKmrfT15xaCptoi4WPKJ89clOnQaEaNOBLr98ecyNehEjrnckle/fWEyKIFbhhxIQCyr9K6/mnmS5q20tef6wga6xJq+Gu6Dv+pI7L0sSMigTr8ifX7407ku/X8nddSIfPUTtmiRk7eoTYuBEA25WT/qsXl1fxPUmK+3/WV+RqVvv4cR9DYVKKGv2Hq8CsPRerwJ9Tvjz2Rb879eK+1U848/rzsUQ1zIQDqn3NZ8oKbV6qNtsifnltp/j4l/u9pkur6J7WTNF9U0rRp2oGHMgGAJXrngDIBGaD/ALNtWrZ8RmDYwogGwJx2YfSoyO4eQsYiggbAnLa497AMe3+ACSsIGgCAVf45GgAAZp/I/wMPMZBO8PfXnwAAAABJRU5ErkJggg=='/>
So far I achive this:
<table class="table">
<tr>
<th colspan="2" scope="colgroup">INCOME</th>
<th colspan="2" scope="colgroup">EXPENSE</th>
</tr>
<tr>
<td>30,000</td>
<td>100,000</td>
<td>80,000</td>
</tr>
<tr>
<td>5,000</td>
<td>12,000</td>
<td>9,000</td>
</tr>
</table>
Can anybody try to help me with this?

Try this one
<table class="table" width="100%" border="1" style="border-collapse: collapse;">
<tr>
<th width="50%" colspan="2">INCOME</th>
<th width="50%" colspan="2">EXPENSE</th>
</tr>
<tr>
<td width="25%">Name A</td>
<td width="25%"><center>10,000</center></td>
<td width="25%">Name A</td>
<td width="25%"><center>5,000</center></td>
</tr>
<tr>
<td width="25%">Name B</td>
<td width="25%"><center>10,000</center></td>
<td width="25%">Name B</td>
<td width="25%"><center>5,000</center></td>
</tr>
<tr>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
</tr>
<tr>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
</tr>
<tr>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
</tr>
<tr>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
</tr>
<tr>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
</tr>
<tr>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
<td width="25%"> </td>
</tr>
<tr>
<td width="25%"><center><b>Total</b></center></td>
<td width="25%"><center>20,000</center></td>
<td width="25%"><center><b>Total</b></center></td>
<td width="25%"><center>10,000</center></td>
</tr>
<tr>
<th width="50%" colspan="2">money start</th>
<th width="50%" colspan="2">1,000.00</th>
</tr>
<tr>
<th width="50%" colspan="2">daily money</th>
<th width="50%" colspan="2">10,00</th>
</tr>
<tr>
<th width="50%" colspan="2">overall</th>
<th width="50%" colspan="2">1.010,00</th>
</tr>
</table>

Could this html markup help you?
<table class="table" border=2>
<tr>
<th colspan="2" scope="colgroup">INCOME</th>
<th colspan="2" scope="colgroup">EXPENSE</th>
</tr>
<tr>
<td>Name A</td>
<td>10,00</td>
<td>name b</td>
<td>10,00</td>
</tr>
<tr>
<td>Name A</td>
<td>5,00</td>
<td>Name B</td>
<td>5,00</td>
</tr>
<tr>
<td>TOTAL:</td>
<td>20,00</td>
<td>TOTAL:</td>
<td>10,00</td>
</tr>
<tr>
<td colspan="2">Money start</td>
<td colspan="2">1.000,00</td>
</tr>
<tr>
<td colspan="2">Daily money</td>
<td colspan="2">10,00</td>
</tr>
<tr>
<td colspan="2">Overall</td>
<td colspan="2">1.010,00</td>
</tr>
</table>

Related

Making a table in HTML

What do you think should I do to make my code's output like in the photo?
Thank you for answering.
(I am typing any words in here because stackoverflow doesnt let me post this. This is the most detailed thing I can think of. I am new to the programming world and I have no one to assist me that's why I am asking for some help. Thank you for understanding.)
Here's my code:
<table border="1" cellpadding="20% " width="20%" cellspacing="0">
<tr>
<td rowspan="10"></td>
<td colspan="9"></td>
</tr>
<tr>
<td rowspan="9"></td>
<td colspan="8"></td>
</tr>
<tr>
<td rowspan="8"></td>
<td colspan="7"></td>
</tr>
<tr>
<td rowspan="7"></td>
<td colspan="6"></td>
</tr>
<tr>
<td rowspan="6"></td>
<td colspan="5"></td>
</tr>
<tr>
<td rowspan="5"></td>
<td colspan="4"></td>
</tr>
<tr>
<td rowspan="4"></td>
<td colspan="3"></td>
</tr>
<tr>
<td rowspan="3"></td>
<td colspan="2"></td>
</tr>
<tr>
<td rowspan="2"></td>
<td colspan="1"></td>
</tr>
<tr>
<td rowspan="0">
</td>
</tr>
</table>
enter image description here
make table inside td
<td rowspan="0" style="padding: 0; border: none;">
<table border="1" cellpadding="10% " width="20%" cellspacing="0">
<tr>
<td></td>
<td></td>
</tr><tr>
<td></td>
<td></td>
</tr>
</table>
</td>
<table border="1" cellpadding="20% " width="20%" cellspacing="0">
<tr>
<td rowspan="10"></td>
<td colspan="9"></td>
</tr>
<tr>
<td rowspan="9"></td>
<td colspan="8"></td>
</tr>
<tr>
<td rowspan="8"></td>
<td colspan="7"></td>
</tr>
<tr>
<td rowspan="7"></td>
<td colspan="6"></td>
</tr>
<tr>
<td rowspan="6"></td>
<td colspan="5"></td>
</tr>
<tr>
<td rowspan="5"></td>
<td colspan="4"></td>
</tr>
<tr>
<td rowspan="4"></td>
<td colspan="3"></td>
</tr>
<tr>
<td rowspan="3"></td>
<td colspan="2"></td>
</tr>
<tr>
<td rowspan="2"></td>
<td colspan="1"></td>
</tr>
<tr>
<td rowspan="0" style="padding: 0; border: none;">
<table border="1" cellpadding="10% " width="20%" cellspacing="0">
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
</td>
</tr>
</table>

Json view table html

im not programer, i have json file, want to see in html file, i try to convert with https://www.convertjson.com/ its work, but thats only make a basic table, like excel, no filter, dropdown not as shown on the web preview, what should I do so that the html results are as displayed on the web
preview on the web
<table class="table table-bordered table-hover table-condensed">
<thead><tr><th title="Field #1">keyword</th>
<th title="Field #2">products</th>
<th title="Field #3">date</th>
</tr></thead>
<tbody><tr>
<td>smooth operator</td>
<td align="right">583</td>
<td align="right">1642435207616</td>
</tr>
<tr>
<td>yuke</td>
<td align="right">24</td>
<td align="right">1642436355563</td>
</tr>
<tr>
<td>yuna ffx</td>
<td align="right">433</td>
<td align="right">1642436363173</td>
</tr>
<tr>
<td>so yul</td>
<td align="right">29</td>
<td align="right">1642436365296</td>
</tr>
<tr>
<td>statistics yup</td>
<td align="right">21</td>
<td align="right">1642436368027</td>
</tr>
<tr>
<td>snooker masters</td>
<td align="right">157</td>
<td align="right">1642437410041</td>
</tr>
<tr>
<td>snooker cue</td>
<td align="right">4067</td>
<td align="right">1642437414446</td>
</tr>
<tr>
<td>snake io</td>
<td align="right">187</td>
<td align="right">1642437422957</td>
</tr>
<tr>
<td>scott morrison pm</td>
<td align="right">294</td>
<td align="right">1642439850739</td>
</tr>
<tr>
<td>school is important but surfing is importanter</td>
<td align="right">193</td>
<td align="right">1642439885920</td>
</tr>
<tr>
<td>schlatt</td>
<td align="right">1814</td>
<td align="right">1642440651019</td>
</tr>
<tr>
<td>scrunge cat</td>
<td align="right">14</td>
<td align="right">1642440653282</td>
</tr>
<tr>
<td>elite way school</td>
<td align="right">40</td>
<td align="right">1642440658943</td>
</tr>
<tr>
<td>valentines day school</td>
<td align="right">20996</td>
<td align="right">1642440944250</td>
</tr>
<tr>
<td>video game high school</td>
<td align="right">2781</td>
<td align="right">1642440972825</td>
</tr>
<tr>
<td>love scars</td>
<td align="right">1400</td>
<td align="right">1642441411736</td>
</tr>
<tr>
<td>black history is more than slavery</td>
<td align="right">441</td>
<td align="right">1642441420869</td>
</tr>
<tr>
<td>black history month facts</td>
<td align="right">3751</td>
<td align="right">1642441561952</td>
</tr>
<tr>
<td>black history month quotes</td>
<td align="right">8450</td>
<td align="right">1642441753406</td>
</tr>
<tr>
<td>black wolf with blue eyes</td>
<td align="right">62</td>
<td align="right">1642441758697</td>
</tr>
<tr>
<td>blueycapsules</td>
<td align="right">20</td>
<td align="right">1642441760393</td>
</tr>
<tr>
<td>black history month ideas</td>
<td align="right">5430</td>
<td align="right">1642441979096</td>
</tr>
<tr>
<td>blessed be the fruit loops</td>
<td align="right">45</td>
<td align="right">1642441983668</td>
</tr>
<tr>
<td>blue peter</td>
<td align="right">3346</td>
<td align="right">1642442195322</td>
</tr>
<tr>
<td>bliss</td>
<td align="right">17820</td>
<td align="right">1642442740461</td>
</tr>
<tr>
<td>black and gray</td>
<td align="right">31466</td>
<td align="right">1642443079939</td>
</tr>
<tr>
<td>blades aerobatic team</td>
<td align="right">25</td>
<td align="right">1642443083091</td>
</tr>
<tr>
<td>funny color blind</td>
<td align="right">586</td>
<td align="right">1642443702500</td>
</tr>
<tr>
<td>color blind</td>
<td align="right">2002</td>
<td align="right">1642444166164</td>
</tr>
<tr>
<td>roses are red violets are blue i want queso and tacos too</td>
<td align="right">188</td>
<td align="right">1642444171433</td>
</tr>
<tr>
<td>falling sakura cherry blossom</td>
<td align="right">419</td>
<td align="right">1642444733452</td>
</tr>
<tr>
<td>vaccinated by the blood of jesus</td>
<td align="right">237</td>
<td align="right">1642444737052</td>
</tr>
<tr>
<td>navy blue and gold</td>
<td align="right">2583</td>
<td align="right">1642445186483</td>
</tr>
<tr>
<td>the blue ark</td>
<td align="right">98</td>
<td align="right">1642445189394</td>
</tr>
<tr>
<td>roses are red violets are blue i want tacos and queso too</td>
<td align="right">188</td>
<td align="right">1642445193220</td>
</tr>
<tr>
<td>kim jong un blood</td>
<td align="right">64</td>
<td align="right">1642445195692</td>
</tr>
<tr>
<td>lick swallow</td>
<td align="right">448</td>
<td align="right">1642445201457</td>
</tr>
<tr>
<td>lion is my spirit animal</td>
<td align="right">214</td>
<td align="right">1642445204839</td>
</tr>
<tr>
<td>little valentine in the making</td>
<td align="right">458</td>
<td align="right">1642445209546</td>
</tr>
<tr>
<td>lil timmy tim</td>
<td align="right">976</td>
<td align="right">1642446416898</td>
</tr>
<tr>
<td>life begins where fear ends</td>
<td align="right">1474</td>
<td align="right">1642446421119</td>
</tr>
<tr>
<td>limewire</td>
<td align="right">113</td>
<td align="right">1642447069083</td>
</tr>
<tr>
<td>lip service</td>
<td align="right">190</td>
<td align="right">1642447084650</td>
</tr>
<tr>
<td>lily pulitzer case</td>
<td align="right">176</td>
<td align="right">1642447088493</td>
</tr>
<tr>
<td>list of products</td>
<td align="right">1861</td>
<td align="right">1642447092677</td>
</tr>
<tr>
<td>lisa bonet</td>
<td align="right">102</td>
<td align="right">1642447274533</td>
</tr>
<tr>
<td>line cook</td>
<td align="right">1660</td>
<td align="right">1642447527890</td>
</tr>
<tr>
<td>libraries matter</td>
<td align="right">303</td>
<td align="right">1642447532008</td>
</tr>
<tr>
<td>little hearts</td>
<td align="right">33597</td>
<td align="right">1642447678671</td>
</tr>
<tr>
<td>lion a skate</td>
<td align="right">195</td>
<td align="right">1642447683925</td>
</tr>
<tr>
<td>lolipop red lips</td>
<td align="right">373</td>
<td align="right">1642447704399</td>
</tr>
<tr>
<td>i lick</td>
<td align="right">1800</td>
<td align="right">1642447822094</td>
</tr>
<tr>
<td>stealing hearts like i steal pucks</td>
<td align="right">318</td>
<td align="right">1642447825677</td>
</tr>
<tr>
<td>to do list your mom</td>
<td align="right">1006</td>
<td align="right">1642447831298</td>
</tr>
<tr>
<td>she was like a shot of espresso</td>
<td align="right">103</td>
<td align="right">1642447834669</td>
</tr>
<tr>
<td>i lick i swallow</td>
<td align="right">245</td>
<td align="right">1642447837988</td>
</tr>
<tr>
<td>betty white quotes</td>
<td align="right">1733</td>
<td align="right">1642448073106</td>
</tr>
<tr>
<td>bills afc east champion</td>
<td align="right">222</td>
<td align="right">1642448076331</td>
</tr>
<tr>
<td>bills run the east</td>
<td align="right">947</td>
<td align="right">1642448081763</td>
</tr>
<tr>
<td>born year of the tiger</td>
<td align="right">1942</td>
<td align="right">1642448086454</td>
</tr>
<tr>
<td>budgie band</td>
<td align="right">163</td>
<td align="right">1642448487167</td>
</tr>
<tr>
<td>baker miller pink</td>
<td align="right">59</td>
<td align="right">1642448610822</td>
</tr>
<tr>
<td>baby we bare bears</td>
<td align="right">1073</td>
<td align="right">1642448615055</td>
</tr>
<tr>
<td>birthday january quotes</td>
<td align="right">7247</td>
<td align="right">1642448954399</td>
</tr>
<tr>
<td>buffalo bills afc east champions</td>
<td align="right">163</td>
<td align="right">1642448958555</td>
</tr>
<tr>
<td>burns night</td>
<td align="right">3268</td>
<td align="right">1642449350786</td>
</tr>
<tr>
<td>bigweld</td>
<td align="right">39</td>
<td align="right">1642449874809</td>
</tr>
<tr>
<td>being upside down is my normal</td>
<td align="right">90</td>
<td align="right">1642449878903</td>
</tr>
<tr>
<td>brushed watercolor painted sun</td>
<td align="right">115</td>
<td align="right">1642450180271</td>
</tr>
<tr>
<td>bat style</td>
<td align="right">3353</td>
<td align="right">1642450185077</td>
</tr>
<tr>
<td>boesarts</td>
<td align="right">1149</td>
<td align="right">1642450256733</td>
</tr>
<tr>
<td>bts valentine</td>
<td align="right">1797</td>
<td align="right">1642450702254</td>
</tr>
<tr>
<td>battlebots</td>
<td align="right">322</td>
<td align="right">1642450914337</td>
</tr>
<tr>
<td>basketball is my valentine</td>
<td align="right">842</td>
<td align="right">1642451575958</td>
</tr>
<tr>
<td>ace skull</td>
<td align="right">2143</td>
<td align="right">1642451656956</td>
</tr>
<tr>
<td>acrilic</td>
<td align="right">787</td>
<td align="right">1642451731038</td>
</tr>
<tr>
<td>acrobatic gymnastics</td>
<td align="right">4775</td>
<td align="right">1642451752746</td>
</tr>
<tr>
<td>activities assistant</td>
<td align="right">800</td>
<td align="right">1642451891621</td>
</tr>
<tr>
<td>actions</td>
<td align="right">123598</td>
<td align="right">1642451957042</td>
</tr>
<tr>
<td>acadiane</td>
<td align="right">17</td>
<td align="right">1642451960005</td>
</tr>
<tr>
<td>act justly micah</td>
<td align="right">256</td>
<td align="right">1642451964557</td>
</tr>
<tr>
<td>this is how i roll active</td>
<td align="right">553</td>
<td align="right">1642451969104</td>
</tr>
<tr>
<td>funny this is how i roll active</td>
<td align="right">415</td>
<td align="right">1642451973016</td>
</tr>
<tr>
<td>my hero academia memes</td>
<td align="right">4822</td>
<td align="right">1642451977420</td>
</tr>
<tr>
<td>greenhouse academy eagles</td>
<td align="right">46</td>
<td align="right">1642451979364</td>
</tr>
<tr>
<td>four aces</td>
<td align="right">622</td>
<td align="right">1642452128394</td>
</tr>
<tr>
<td>randy rhoads</td>
<td align="right">160</td>
<td align="right">1642452287605</td>
</tr>
<tr>
<td>ragnarok netflix</td>
<td align="right">77</td>
<td align="right">1642452290275</td>
</tr>
<tr>
<td>rainbow polka dot</td>
<td align="right">4098</td>
<td align="right">1642452309938</td>
</tr>
<tr>
<td>rand paul</td>
<td align="right">885</td>
<td align="right">1642452396472</td>
</tr>
<tr>
<td>ranch hand</td>
<td align="right">595</td>
<td align="right">1642452422401</td>
</tr>
<tr>
<td>rancor</td>
<td align="right">99</td>
<td align="right">1642452635933</td>
</tr>
<tr>
<td>rapists</td>
<td align="right">221</td>
<td align="right">1642452638614</td>
</tr>
<tr>
<td>randy moss straight cash homie</td>
<td align="right">88</td>
<td align="right">1642452641640</td>
</tr>
<tr>
<td>rapper collage</td>
<td align="right">1297</td>
<td align="right">1642452645635</td>
</tr>
<tr>
<td>rainytale studio</td>
<td align="right">64</td>
<td align="right">1642452649264</td>
</tr>
<tr>
<td>i teach the sweetest hearts rainbow teacher valentines day</td>
<td align="right">246</td>
<td align="right">1642452653877</td>
</tr>
<tr>
<td>yellowstone dutton ranch arrows</td>
<td align="right">18</td>
<td align="right">1642452656675</td>
</tr>
<tr>
<td>tusken raider</td>
<td align="right">72</td>
<td align="right">1642452917407</td>
</tr>
<tr>
<td>i would rather be with my cat</td>
<td align="right">393</td>
<td align="right">1642452922279</td>
</tr>
<tr>
<td>cat eating ramen cute noodles</td>
<td align="right">1140</td>
<td align="right">1642452926838</td>
</tr>
<tr>
<td>professional rawdogger</td>
<td align="right">58</td>
<td align="right">1642453027048</td>
</tr>
<tr>
<td>i find this rather humerus</td>
<td align="right">36</td>
<td align="right">1642453030104</td>
</tr>
<tr>
<td>luke rawlings</td>
<td align="right">36</td>
<td align="right">1642453032163</td>
</tr>
<tr>
<td>ham radio call</td>
<td align="right">153</td>
<td align="right">1642453035613</td>
</tr>
<tr>
<td>self care rap</td>
<td align="right">331</td>
<td align="right">1642453038717</td>
</tr>
<tr>
<td>mcbean tartan</td>
<td align="right">15</td>
<td align="right">1642453043739</td>
</tr>
<tr>
<td>mclaren formula one</td>
<td align="right">3221</td>
<td align="right">1642453046775</td>
</tr>
<tr>
<td>reba mcentire tour</td>
<td align="right">98</td>
<td align="right">1642453051029</td>
</tr>
<tr>
<td>lea roche</td>
<td align="right">590</td>
<td align="right">1642453349110</td>
</tr>
<tr>
<td>leicester tigers</td>
<td align="right">79</td>
<td align="right">1642453459842</td>
</tr>
<tr>
<td>lesbian valentines day</td>
<td align="right">6934</td>
<td align="right">1642454643197</td>
</tr>
<tr>
<td>lets go darwin funny</td>
<td align="right">3229</td>
<td align="right">1642454791946</td>
</tr>
<tr>
<td>let them go</td>
<td align="right">1972</td>
<td align="right">1642454819221</td>
</tr>
<tr>
<td>leek</td>
<td align="right">2241</td>
<td align="right">1642454870409</td>
</tr>
<tr>
<td>levin</td>
<td align="right">1552</td>
<td align="right">1642454897230</td>
</tr>
<tr>
<td>xmas cookie shaped letter</td>
<td align="right">99</td>
<td align="right">1642454900902</td>
</tr>
<tr>
<td>i left my bed for this</td>
<td align="right">942</td>
<td align="right">1642454906398</td>
</tr>
<tr>
<td>for the legneds for the legneds for the legneds for the legneds</td>
<td align="right">57</td>
<td align="right">1642454908997</td>
</tr>
<tr>
<td>the crow brandon lee</td>
<td align="right">466</td>
<td align="right">1642454912088</td>
</tr>
<tr>
<td>at least my cat loves me</td>
<td align="right">1355</td>
<td align="right">1642454917028</td>
</tr>
<tr>
<td>various not less</td>
<td align="right">1933</td>
<td align="right">1642454922062</td>
</tr>
<tr>
<td>the boring company</td>
<td align="right">303</td>
<td align="right">1642455022212</td>
</tr>
<tr>
<td>this man ate my son</td>
<td align="right">426</td>
<td align="right">1642455025389</td>
</tr>
<tr>
<td>thai pongal</td>
<td align="right">59</td>
<td align="right">1642455126732</td>
</tr>
<tr>
<td>the danger zone</td>
<td align="right">639</td>
<td align="right">1642455131603</td>
</tr>
<tr>
<td>the ultimate taco twosday</td>
<td align="right">22222</td>
<td align="right">1642455136173</td>
</tr>
<tr>
<td>the expanse rocinante</td>
<td align="right">188</td>
<td align="right">1642455333142</td>
</tr>
<tr>
<td>the ronettes</td>
<td align="right">145</td>
<td align="right">1642456152057</td>
</tr>
<tr>
<td>the force is strong with this teacher</td>
<td align="right">527</td>
<td align="right">1642456157248</td>
</tr>
<tr>
<td>the cheesecake factory</td>
<td align="right">53</td>
<td align="right">1642456160724</td>
</tr>
<tr>
<td>the book of boba</td>
<td align="right">230</td>
<td align="right">1642456164173</td>
</tr>
<tr>
<td>the witcher medallion</td>
<td align="right">82</td>
<td align="right">1642456166848</td>
</tr>
<tr>
<td>the office valentine</td>
<td align="right">2802</td>
<td align="right">1642456171043</td>
</tr>
<tr>
<td>the rumbling</td>
<td align="right">112</td>
<td align="right">1642456596843</td>
</tr>
<tr>
<td>this teacher loves her kids</td>
<td align="right">3883</td>
<td align="right">1642456601430</td>
</tr>
<tr>
<td>thomas petrou</td>
<td align="right">197</td>
<td align="right">1642456727484</td>
</tr>
<tr>
<td>the orion experience</td>
<td align="right">21</td>
<td align="right">1642456729374</td>
</tr>
<tr>
<td>the sweetest valentine of them all</td>
<td align="right">169</td>
<td align="right">1642456735384</td>
</tr>
<tr>
<td>the girl on the couch</td>
<td align="right">181</td>
<td align="right">1642456738884</td>
</tr>
</tbody></table>
So to keep it simple let's say you have the code for a table stored in a document called tableview.html
Your html document needs a few extra essential lines of code before it works like you want it do. In tableview.html you first add the code below in an simple text-editor like Notepad. Then copy-paste your <table>....</table> code that you've shown in your question between the <body>... </body> part.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<title>DataTables example - Zero configuration</title>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.0.1/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.3/css/dataTables.bootstrap5.min.css">
<script type="text/javascript" language="javascript" src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/1.11.3/js/dataTables.bootstrap5.min.js"></script>
<script> $(document).ready(function() {$('table').DataTable();} ); </script>
</head>
<body>
</body>
</html>
End for the finishing touch you might want to add the class table-striped in your first line of the table, like:
<table class="table table-bordered table-hover table-condensed table-striped">
You can use bootstrap librariy.
https://getbootstrap.com/docs/4.0/content/tables/
Or, you can use open-source javascript grid libraries.
https://blog.logrocket.com/5-open-source-javascript-datagrids/

Extract data from html table with dart

There is a public web page that shows me information within three tables. I want to extract this information, but unfortunately I don't have an API for this, which I could use in my code. I thought about how this could best be solved and came to the conclusion that an analysis of the HTML code is unavoidable. So I would make an http get request and "cut" the data out of the response. One of the tables looks something like this
<table border="3" rules="all" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td align="center">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial" color="#000000">
<b>Mo</b>
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
<b>Di</b>
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
<b>Mi</b>
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
<b>Do</b>
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
<b>Fr</b>
</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
7:35
</font></td>
</tr>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
8:20
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1" bgcolor="#010101">
<table width="100%">
<tbody>
<tr>
<td width="33%" bgcolor="#010101" nowrap="1"><font size="3" face="Arial" color="#FFFFFF">
WSP
</font></td>
<td width="33%" bgcolor="#010101" nowrap="1"><font size="3" face="Arial" color="#FFFFFF">
wü
</font></td>
<td width="33%" bgcolor="#010101" nowrap="1"><font size="3" face="Arial" color="#FFFFFF">
8k
</font></td>
</tr>
<tr>
<td colspan="3" width="33%" bgcolor="#010101" nowrap="1"><font size="3" face="Arial"
color="#FFFFFF">
A213
</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
</tr>
<tr>
<td rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial" color="#000000">
8:25
</font></td>
</tr>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
9:10
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="4" align="center" nowrap="1" bgcolor="#80FF80">
<table width="100%">
<tbody>
<tr>
<td width="33%" bgcolor="#80FF80" nowrap="1"><font size="3" face="Arial" color="#000000">
Phy
</font></td>
<td width="33%" bgcolor="#80FF80" nowrap="1"><font size="3" face="Arial" color="#000000">
mp
</font></td>
<td width="33%" bgcolor="#80FF80" nowrap="1"><font size="3" face="Arial" color="#000000">
8k
</font></td>
</tr>
<tr>
<td colspan="3" width="33%" bgcolor="#80FF80" nowrap="1"><font size="3" face="Arial"
color="#000000">
A236
</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
</tr>
<tr>
<td rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial" color="#000000">
9:15
</font></td>
</tr>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
10:00
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
</tr>
<tr>
<td rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
10:20
</font></td>
</tr>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
11:05
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="4" align="center" nowrap="1" bgcolor="#8080FF">
<table width="100%">
<tbody>
<tr>
<td width="33%" bgcolor="#8080FF" nowrap="1"><font size="3" face="Arial" color="#000000">
G&P
</font></td>
<td width="33%" bgcolor="#8080FF" nowrap="1"><font size="3" face="Arial" color="#000000">
hn
</font></td>
<td width="33%" bgcolor="#8080FF" nowrap="1"><font size="3" face="Arial" color="#000000">
8k
</font></td>
</tr>
<tr>
<td colspan="3" width="33%" bgcolor="#8080FF" nowrap="1"><font size="3" face="Arial"
color="#000000">
A312
</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
</tr>
<tr>
<td rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial" color="#000000">
11:10
</font></td>
</tr>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
11:55
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
</tr>
<tr>
<td rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
12:00
</font></td>
</tr>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
12:45
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
</tr>
<tr>
<td rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
12:55
</font></td>
</tr>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
13:40
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="4" align="center" nowrap="1" bgcolor="#8000FF">
<table width="100%">
<tbody>
<tr>
<td width="33%" bgcolor="#8000FF" nowrap="1"><font size="3" face="Arial" color="#FFFFFF">
Deu
</font></td>
<td width="33%" bgcolor="#8000FF" nowrap="1"><font size="3" face="Arial" color="#FFFFFF">
mu
</font></td>
<td width="33%" bgcolor="#8000FF" nowrap="1"><font size="3" face="Arial" color="#FFFFFF">
8k
</font></td>
</tr>
<tr>
<td colspan="3" width="33%" bgcolor="#8000FF" nowrap="1"><font size="3" face="Arial"
color="#FFFFFF">
A413
</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
</tr>
<tr>
<td rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial" color="#000000">
13:45
</font></td>
</tr>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
14:30
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
</tr>
<tr>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="4" align="center" nowrap="1" bgcolor="#FF8040">
<table width="100%">
<tbody>
<tr>
<td width="33%" bgcolor="#FF8040" nowrap="1"><font size="3" face="Arial" color="#000000">
MatS
</font></td>
<td width="33%" bgcolor="#FF8040" nowrap="1"><font size="3" face="Arial" color="#000000">
rm
</font></td>
<td width="33%" bgcolor="#FF8040" nowrap="1"><font size="3" face="Arial" color="#000000">
8k
</font></td>
</tr>
<tr>
<td colspan="3" width="33%" bgcolor="#FF8040" nowrap="1"><font size="3" face="Arial"
color="#000000">
A202
</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
</tr>
<tr>
<td rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial" color="#000000">
15:35
</font></td>
</tr>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
16:20
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
</tr>
<tr>
<td rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
16:25
</font></td>
</tr>
<tr>
<td align="center" nowrap="1"><font size="3" face="Arial">
17:10
</font></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1">
<table width="100%">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
<td colspan="12" rowspan="2" align="center" nowrap="1" bgcolor="#0000A0">
<table width="100%">
<tbody>
</tbody>
</table>
</td>
</tr>
<tr>
</tr>
</tbody>
</table>
So I have a huge block from which I only want to filter out the following data.
I don't expect a ready-made solution, just a food for thought. I want to solve this problem with Dart and would treat all HTML as a string, whereupon I would cut this string and read the data from the resulting array.

I need to separate the 2 rows on the right (2018 and 2017) so there is some whitespace. Having alot of trouble

I have a table that on the right has 2 Columns (2018 and 2017) with numbers underneath. I'm trying to separate those columns and have them separated by a white column with the border going to the end.I've added the html, I also have css but I'm just having a hard time separating while keeping the borders.
<table class="table">
<tbody>
<tr>
<td class="table-head-text top-table-text">Assets</td>
<td class="table-year-1 bold">2018</td>
<td class="table-year-2 bold">2017</td>
</tr>
<tr>
<td>Cash & Due From Banks</td>
<td class="table-year-1">$149,753</td>
<td class="table-year-2">$77,515</td>
</tr>
<tr>
<td>Investment Securities</td>
<td class="table-year-1">$929,432</td>
<td class="table-year-2">$830,878</td>
</tr>
<tr>
<td>Loans (net of valuation reserve)<br />
($28,582 in 2018 & $27,063 in 2017)</td>
<td class="table-year-1">$1,902,960</td>
<td class="table-year-2">$1,813,062</td>
</tr>
<tr>
<td>Federal Funds Sold</td>
<td class="table-year-1">$0</td>
<td class="table-year-2">$0</td>
</tr>
<tr>
<td>Premises & Equipment</td>
<td class="table-year-1">$49,956</td>
<td class="table-year-2">$46,666</td>
</tr>
<tr>
<td>Accured Income</td>
<td class="table-year-1">$12,652</td>
<td class="table-year-2">$12,589</td>
</tr>
<tr>
<td>Other Assets</td>
<td class="table-year-1">$111,287</td>
<td class="table-year-2">$102,413</td>
</tr>
<tr class="tr-border">
<td class="table-head-text">Total Assets</td>
<td class="table-year-1 bold">$3,156,040</td>
<td class="table-year-2 bold">$2,883,123</td>
</tr>
<tr>
<td class="table-head-text">Liabilities & Capital Funds</td>
<td class="table-year-1"> </td>
<td class="table-year-2"> </td>
</tr>
<tr>
<td>Non-Interest Bearing Deposits</td>
<td class="table-year-1">$952,623</td>
<td class="table-year-2">$894,075</td>
</tr>
<tr>
<td>Non-Interest Bearing Public Deposits</td>
<td class="table-year-1">$190,104</td>
<td class="table-year-2">$179,582</td>
</tr>
<tr>
<td>Interest Bearing Deposits</td>
<td class="table-year-1">$1,344,490</td>
<td class="table-year-2">$1,194,226</td>
</tr>
<tr>
<td>Interest Bearing<br />
Public Deposits</td>
<td class="table-year-1">$370,094</td>
<td class="table-year-2">$274,994</td>
</tr>
<tr class="tr-border">
<td class="table-head-text">Total Deposits</td>
<td class="table-year-1 bold">$2,857,311</td>
<td class="table-year-2 bold">$2,542,877</td>
</tr>
<tr>
<td>Other Liabilities</td>
<td class="table-year-1">$22,497</td>
<td class="table-year-2">$22,954</td>
</tr>
<tr>
<td>Fed Funds Purchase & Other Borrowed Money</td>
<td class="table-year-1">$0</td>
<td class="table-year-2">$63,394</td>
</tr>
<tr class="tr-border">
<td class="table-head-text">Total Liabilities</td>
<td class="table-year-1 bold">$2,879,808</td>
<td class="table-year-2 bold ">$2,629,225</td>
</tr>
<tr>
<td class="table-head-text">Capital Accounts</td>
<td class="table-year-1"> </td>
<td class="table-year-2"> </td>
</tr>
<tr>
<td>Capital Stock</td>
<td class="table-year-1">$2,500</td>
<td class="table-year-2">$2,500</td>
</tr>
<tr>
<td>Surplus</td>
<td class="table-year-1">$100,943</td>
<td class="table-year-2">$79,188</td>
</tr>
<tr>
<td>Undivided Profits</td>
<td class="table-year-1">$188,173</td>
<td class="table-year-2">$177,768</td>
</tr>
<tr>
<td>Unrealized Gain <span class="loss-span">(Loss) Securities</span></td>
<td class="table-year-1">($15,384)</td>
<td class="table-year-2">($5,558)</td>
</tr>
<tr class="tr-border">
<td class="table-head-text">Total Capital Accounts</td>
<td class="table-year-1 bold">$276,232</td>
<td class="table-year-2 bold">$253,898</td>
</tr>
<tr>
<td class="table-head-text bk">Total Liabilities & Capital Accounts</td>
<td class="table-year-1 bold">$3,156,040</td>
<td class="table-year-2 bold">$2,883,123</td>
</tr>
<tr class="tr-border-top">
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
This is the example I'm trying to get to
You can try this code:
<table class="table">
<thead>
<tr>
<th width="70%" class="table-head-text top-table-text">Assets</td>
<th width="15%" class="table-year-1 bold">2018</td>
<th width="15%" class="table-year-2 bold">2017</td>
</tr>
</thead>
<tbody>
<tr>
<td>Cash & Due From Banks</td>
<td class="table-year-1">$149,753</td>
<td class="table-year-2">$77,515</td>
</tr>
<tr>
<td>Investment Securities</td>
<td class="table-year-1">$929,432</td>
<td class="table-year-2">$830,878</td>
</tr>
<tr>
<td>Loans (net of valuation reserve)<br />
($28,582 in 2018 & $27,063 in 2017)</td>
<td class="table-year-1">$1,902,960</td>
<td class="table-year-2">$1,813,062</td>
</tr>
<tr>
<td>Federal Funds Sold</td>
<td class="table-year-1">$0</td>
<td class="table-year-2">$0</td>
</tr>
<tr>
<td>Premises & Equipment</td>
<td class="table-year-1">$49,956</td>
<td class="table-year-2">$46,666</td>
</tr>
<tr>
<td>Accured Income</td>
<td class="table-year-1">$12,652</td>
<td class="table-year-2">$12,589</td>
</tr>
<tr>
<td>Other Assets</td>
<td class="table-year-1">$111,287</td>
<td class="table-year-2">$102,413</td>
</tr>
<tr class="tr-border">
<td class="table-head-text">Total Assets</td>
<td class="table-year-1 bold">$3,156,040</td>
<td class="table-year-2 bold">$2,883,123</td>
</tr>
<tr>
<td class="table-head-text">Liabilities & Capital Funds</td>
<td class="table-year-1"> </td>
<td class="table-year-2"> </td>
</tr>
<tr>
<td>Non-Interest Bearing Deposits</td>
<td class="table-year-1">$952,623</td>
<td class="table-year-2">$894,075</td>
</tr>
<tr>
<td>Non-Interest Bearing Public Deposits</td>
<td class="table-year-1">$190,104</td>
<td class="table-year-2">$179,582</td>
</tr>
<tr>
<td>Interest Bearing Deposits</td>
<td class="table-year-1">$1,344,490</td>
<td class="table-year-2">$1,194,226</td>
</tr>
<tr>
<td>Interest Bearing<br />
Public Deposits</td>
<td class="table-year-1">$370,094</td>
<td class="table-year-2">$274,994</td>
</tr>
<tr class="tr-border">
<td class="table-head-text">Total Deposits</td>
<td class="table-year-1 bold">$2,857,311</td>
<td class="table-year-2 bold">$2,542,877</td>
</tr>
<tr>
<td>Other Liabilities</td>
<td class="table-year-1">$22,497</td>
<td class="table-year-2">$22,954</td>
</tr>
<tr>
<td>Fed Funds Purchase & Other Borrowed Money</td>
<td class="table-year-1">$0</td>
<td class="table-year-2">$63,394</td>
</tr>
<tr class="tr-border">
<td class="table-head-text">Total Liabilities</td>
<td class="table-year-1 bold">$2,879,808</td>
<td class="table-year-2 bold ">$2,629,225</td>
</tr>
<tr>
<td class="table-head-text">Capital Accounts</td>
<td class="table-year-1"> </td>
<td class="table-year-2"> </td>
</tr>
<tr>
<td>Capital Stock</td>
<td class="table-year-1">$2,500</td>
<td class="table-year-2">$2,500</td>
</tr>
<tr>
<td>Surplus</td>
<td class="table-year-1">$100,943</td>
<td class="table-year-2">$79,188</td>
</tr>
<tr>
<td>Undivided Profits</td>
<td class="table-year-1">$188,173</td>
<td class="table-year-2">$177,768</td>
</tr>
<tr>
<td>Unrealized Gain <span class="loss-span">(Loss) Securities</span></td>
<td class="table-year-1">($15,384)</td>
<td class="table-year-2">($5,558)</td>
</tr>
<tr class="tr-border">
<td class="table-head-text">Total Capital Accounts</td>
<td class="table-year-1 bold">$276,232</td>
<td class="table-year-2 bold">$253,898</td>
</tr>
<tr>
<td class="table-head-text bk">Total Liabilities & Capital Accounts</td>
<td class="table-year-1 bold">$3,156,040</td>
<td class="table-year-2 bold">$2,883,123</td>
</tr>
<tr class="tr-border-top">
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
table thead tr th:last-child{
display:table;
margin-left:90px
}
table tbody tr td:last-child{
display:table;
margin-left:90px
}

HTML code of table with various row and column size

It seems easy but can't write the HTML code of the above table.
Here is what I tried so far:
<table border="1" style="border-collapse:collapse;" width="25%">
<tr>
<td>col1</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
</table>
Sure you want html??
<table align="center" width="590" height="590" >
<tr>
<td align="center" height="80" colspan="4">central text</td>
</tr>
<tr>
<td align="center" height="80" colspan="2">col</td>
<td align="center" colspan="2">col</td>
</tr>
<tr>
<td align="center" height="40">t</td>
<td align="center" height="40">t</td>
<td align="center" height="80" rowspan="2">t</td>
<td align="center" rowspan="2">t</td>
</tr>
<tr>
<td align="center" height="40">t</td>
<td align="center" height="40">t</td>
</tr>
<tr>
<td align="center" height="30">t</td>
<td align="center" >t</td>
<td align="center" >t</td>
<td align="center" >t</td>
</tr>
</table>
Like this?
colspan and rowspan was missing from your code.
<table border="1" style="border-collapse: collapse;">
<tr>
<td colspan=4 align="center">central text</td>
</tr>
<tr>
<td colspan=2 align="center">col(1)</td>
<td colspan=2 align="center">col(2)</td>
</tr>
<tr>
<td align="center">text</td>
<td align="center">text</td>
<td rowspan=2 align="center">text</td>
<td rowspan=2 align="center">text</td>
</tr>
</tr>
<tr>
<td align="center">text</td>
<td align="center">text</td>
</tr>
<tr>
<td align="center">text</td>
<td align="center">text</td>
<td align="center">text</td>
<td align="center">text</td>
</tr>
</table>