Answer: The
background-color is an in-built style property and is used for setting the back color or background color of any controls.The background of a controls is the total size of the controls,including padding and border.
For Example:-
<asp:Button ID="btn1" runat="server" Text="Click Me" style="background-color:palegreen;"/>
<div style="background-color:yellow;"></div>
<p style="background-color:blue;">Dot net Funda</p>
Asked In: Many Interviews |
Alert Moderator