Press "Enter" to skip to content

tablebgcolor

HTML Table bgcolor

Table bgcolor attribute of table element allows the background color to be set for the table .

Example for HTML Table Bgcolor

  <!Doctype HTML>
<html>
<Head>
<Title>Your Web site Title</Title>
</Head>
<Body >
<table border=5 bgcolor=”green”>
<tr > <td>Sno</td ><td>Name</td ></tr>
<tr > <td>1</td ><td>Johan</td ></tr>
</table>.