Friday, October 17, 2014

Write a HTML program to demonstrate the use of <TABLE> tag using cellspacing and cellpadding property

Write a HTML program to demonstrate the use of <TABLE> tag using cellspacing and cellpadding property. Code : table1.html <html> <head> <title>example ofTABLE tag</title> </head> <body> <table align="center" border="2" height="50%"cellspacing="25" cellpadding="25" width="50%"> <tr><td>A</td> <td>B</td> <td>C</td></tr> <tr><td>D</td> <td>E</td> <td>F</td></tr> <tr><td>G</td> <td>H</td> <td>I</td></tr> </table> </html>

No comments: