Press "Enter" to skip to content

htmltablebgcolor

HTML table Bgcolor attribute

HTML table bgcolor attribute is giving background color to web page table . 

Example for HTML Table Bgcolor attribute

  <!Doctype HTML>
<html><Head> <Title>Your Web site Title</Title> </Head>
<Body >
<table border=1 cellpadding =30 bgcolor=pink>
<tr> <td>Sno</td ><td>Name</td ></tr>
<tr> <td>1</td ><td>Johan</td ></tr>
</table>
<Body>
</html>