Table cell bgcolor css
Definition and Usage. The bgcolor attribute specifies the background color of a table cell.
The bgcolor was once the correct way to specify the color to be applied to the background of a table. However, this attribute has been deprecated in favor or using CSS to style tables. The attribute does still work in most browsers and can accept color names, hex color codes, and rgb values. In HTML, table background color is specified using Cascading Style Sheets (CSS). In particular, you use the CSS backgroundcolor property to set the background color for your table. You can also specify a separate background color for your table rows and table cells if you like.table cell bgcolor css In this chapter we are going to a give more styles to the tables using CSS. Once you create the structure of the table in the markup, its easy to adding a layer of style to customize its appearance. CSS Table Background color. The CSS backgroundcolor property allows you to color background of a table, row and cells.