Home
HTML
HTML bgcolor attribute
HTML
HTML bgcolor attribute
Example
An HTML table with a background color on the first table row:
<table border="1">
<tr bgcolor="#FF0000">
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</table>
Definition and Usage
The bgcolor attribute specifies a background color of a table row.
Browser Support
The bgcolor attribute is deprecated, but still supported in all major browsers.
Compatibility Notes
The bgcolor attribute of the tr element was deprecated in HTML 4.01, and is not supported in XHTML 1.0 Strict DTD.
Use CSS instead.
CSS syntax: <tr style="background-color:red">
Syntax
<tr bgcolor="value">
Attribute Values
Value Description
color_name Specifies the background color with a color name (like "red")
hex_number Specifies the background color with a hex code (like "#ff0000")
rgb_number Specifies the background color with an rgb code (like "rgb(255,0,0)")
HTML bgcolor attribute
Reviewed by 1000sourcecodes
on
20:42
Rating: 5
Change Language
Most Popular
-
Risk projection, also called risk estimation, attempts to rate each risk in two ways—the likelihood or probability that the risk is real an...
-
During early stages of project planning, a risk may be stated quite generally. As time passes and more is learned about the project and the...
-
Technical work in software engineering begins with the creation of the analysis model. It is at this stage that requirements are derived an...
-
It is inconceivable that the design of a new aircraft, a new computer chip, or a new office building would be conducted without defining de...
-
Measurement assigns numbers or symbols to attributes of entities in the real word. To accomplish this, a measurement model encompassing a c...
-
Risk identification is a systematic attempt to specify threats to the project plan (estimates, schedule, resource loading, etc.). By identi...
-
All of the risk analysis activities presented to this point have a single goal—to assist the project team in developing a strategy for deal...
-
The ORDER BY keyword is used to sort the data in a record set. The ORDER BY keyword sort the records in ascending order by default. If you...
-
The overall process for designing a user interface begins with the creation of different models of system function (as perceived from the o...
-
The blueprint for a house (its architectural design) is not complete without a representation of doors, windows, and utility connections fo...
Most Viewed
-
Transform mapping is a set of design steps that allows a DFD with transform flow characteristics to be mapped into a specific architectural...
-
There are five types of characteristics for a system. They are 1. Organization 2 . Interaction 3 . Interdependence 4. Integration 5....
-
The concurrent development model, sometimes called concurrent engineering, has been described in the following manner by Davis and Sitaram ...
-
In many software applications, a single data item triggers one or a number of information flows that effect a function implied by the trigg...
-
The spiral model suggests a framework activity that addresses customer communication. The objective of this activity is to elicit project r...
-
Risk projection, also called risk estimation, attempts to rate each risk in two ways—the likelihood or probability that the risk is real an...
-
The term fourth generation techniques (4GT) encompasses a broad array of software tools that have one thing in common: each enables the sof...
-
There are mainly three types of system. 1 .Physical or Abstract 2. Open or Closed 3 .Man Made Information System PHYSICAL OR ABSTRACT ...
-
Software engineering is a layered technology. Any engineering approach (including software engineering) must rest on an organizational comm...
-
Measurement assigns numbers or symbols to attributes of entities in the real word. To accomplish this, a measurement model encompassing a c...
All Rights Reserved by Best Online Tutorials | Source codes | Programming Languages © 2014 - 2015
Powered by Blogger.
Example
An HTML table with a background color on the first table row:<table border="1"> <tr bgcolor="#FF0000"> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> </table> |
Definition and Usage
The bgcolor attribute specifies a background color of a table row.Browser Support
The bgcolor attribute is deprecated, but still supported in all major browsers.Compatibility Notes
The bgcolor attribute of the tr element was deprecated in HTML 4.01, and is not supported in XHTML 1.0 Strict DTD.Use CSS instead.
CSS syntax: <tr style="background-color:red">
Syntax
<tr bgcolor="value"> |
Attribute Values
Value | Description |
---|---|
color_name | Specifies the background color with a color name (like "red") |
hex_number | Specifies the background color with a hex code (like "#ff0000") |
rgb_number | Specifies the background color with an rgb code (like "rgb(255,0,0)") |
HTML bgcolor attribute
Reviewed by 1000sourcecodes
on
20:42
Rating: 5
Change Language
Most Popular
-
Risk projection, also called risk estimation, attempts to rate each risk in two ways—the likelihood or probability that the risk is real an...
-
During early stages of project planning, a risk may be stated quite generally. As time passes and more is learned about the project and the...
-
Technical work in software engineering begins with the creation of the analysis model. It is at this stage that requirements are derived an...
-
It is inconceivable that the design of a new aircraft, a new computer chip, or a new office building would be conducted without defining de...
-
Measurement assigns numbers or symbols to attributes of entities in the real word. To accomplish this, a measurement model encompassing a c...
-
Risk identification is a systematic attempt to specify threats to the project plan (estimates, schedule, resource loading, etc.). By identi...
-
All of the risk analysis activities presented to this point have a single goal—to assist the project team in developing a strategy for deal...
-
The ORDER BY keyword is used to sort the data in a record set. The ORDER BY keyword sort the records in ascending order by default. If you...
-
The overall process for designing a user interface begins with the creation of different models of system function (as perceived from the o...
-
The blueprint for a house (its architectural design) is not complete without a representation of doors, windows, and utility connections fo...
Most Viewed
-
Transform mapping is a set of design steps that allows a DFD with transform flow characteristics to be mapped into a specific architectural...
-
There are five types of characteristics for a system. They are 1. Organization 2 . Interaction 3 . Interdependence 4. Integration 5....
-
The concurrent development model, sometimes called concurrent engineering, has been described in the following manner by Davis and Sitaram ...
-
In many software applications, a single data item triggers one or a number of information flows that effect a function implied by the trigg...
-
The spiral model suggests a framework activity that addresses customer communication. The objective of this activity is to elicit project r...
-
Risk projection, also called risk estimation, attempts to rate each risk in two ways—the likelihood or probability that the risk is real an...
-
The term fourth generation techniques (4GT) encompasses a broad array of software tools that have one thing in common: each enables the sof...
-
There are mainly three types of system. 1 .Physical or Abstract 2. Open or Closed 3 .Man Made Information System PHYSICAL OR ABSTRACT ...
-
Software engineering is a layered technology. Any engineering approach (including software engineering) must rest on an organizational comm...
-
Measurement assigns numbers or symbols to attributes of entities in the real word. To accomplish this, a measurement model encompassing a c...
All Rights Reserved by Best Online Tutorials | Source codes | Programming Languages © 2014 - 2015
Powered by Blogger.