13.Write a HTML code for creating a Table with 3 rows and columns and highlight the column heading of the table?
Answers
Answered by
8
<style type="text/css">.mytable {font-size:12px;color:#333333;width:100%;border-width: 1px;border-color: #729ea5;border-collapse: collapse;}.mytable th {font-size:12px;background-color:#acc8cc;border-width: 1px;padding: 8px;border-style: solid;border-color: #729ea5;text-align:left;}.mytable tr {background-color:#ffffff;}.mytable td {font-size:12px;border-width: 1px;padding: 8px;border-style: solid;border-color: #729ea5;}</style><table class="mytable" border="1"><tr><th></th><th></th><th></th></tr><tr><td> </td><td> </td><td> </td></tr><tr><td></td><td> </td><td> </td></tr><tr><td></td><td> </td><td> </td></tr></table>
Similar questions