What is an alternate way of changing Text Color?

 Posted by vishalneeraj-24503 on 3/24/2014 | Category: ASP.NET Interview questions | Views: 1977 | Points: 40

We have an in-built style property named COLOR,which is used for changing Text Color to our choice.We can provide either #(hash) code for color or directly write color names i.e. blue,red,green and so on..

For Example:-
<asp:TextBox ID="TextBox1" runat="server" style="color:#00ff90;"></asp:TextBox>

<asp:TextBox ID="TextBox2" runat="server" style="color:blue;"></asp:TextBox>

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response