Programming Tips - Web: make a TABLE using DIV only

Date: 2020nov19 Language: html/css Q. Web: make a TABLE using DIV only A.
<h2>Table with TABLE TR and TD</h2> <table> <tr> <td>1</td> <td>2</td> </tr> <tr> <td>One</td> <td>Two</td> </tr> </table> <br/> <style> .table { display: table } .tr { display: table-row } .td { display: table-cell } </style> <h2>Table with DIVs</h2> <div class=table> <div class=tr> <div class=td>1</div> <div class=td>2</div> </div> <div class=tr> <div class=td>One</div> <div class=td>Two</div> </div> </div>