HTML CSS examples for HTML:Table
Example of HTML tables default border
The CSS border property sets borders for tables. <!DOCTYPE html> <html lang="en"> <head> <title>Example of HTML tables default border</title> </head> <!--from w w w.j a v a2 s .c o m--> <body> <table border="1"> <tbody> <tr> <td>row 1, cell 1</td> <td>row 1, cell 2</td> </tr> <tr> <td>row 2, cell 1</td> <td>row 2, cell 2</td> </tr> </tbody> </table> </body> </html>