Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> .collapse { visibility: collapse; } table { border: 2px solid #666; } td { border: 1px solid #ccc; } </style> </head> <body> <h2>Visibility property example</h2> <p>Here the "collapse" value is applied.</p> <table> <tr> <td>10</td> <td class="collapse">100</td> <td>1000</td> </tr> <tr> <td>20</td> <td>200</td> <td>2000</td> </tr> <tr class="collapse"> <td>30</td> <td>300</td> <td>3000</td> </tr> <tr> <td>40</td> <td>400</td> <td>4000</td> </tr> </table> </body> </html>