<asp:TextBox ID="TextBox3" runat="server" style="font-weight:bold;" Text="Vishal"></asp:TextBox>
<asp:TextBox ID="TextBox1" runat="server" style="color:#00ff90;"></asp:TextBox> <asp:TextBox ID="TextBox2" runat="server" style="color:blue;"></asp:TextBox>
<asp:TextBox ID="TextBox1" runat="server" style="font-style:italic;"></asp:TextBox>
<asp:TextBox ID="TextBox1" runat="server" style="font-style:normal;"></asp:TextBox>
<asp:TextBox ID="txt_employee" runat="server" style="text-align:left;" Text="Vishal"></asp:TextBox>
<asp:TextBox ID="txt_amount" runat="server" style="text-align:right;" Text="0"></asp:TextBox>
<asp:CheckBox ID="CheckBox1" runat="server" Text="Yes" TextAlign="Left"/> <asp:CheckBox ID="CheckBox2" runat="server" Text="No" TextAlign="Right"/>
<asp:CheckBox ID="CheckBox1" runat="server"/>
CheckBox1.Text = "Yes";
<asp:CheckBox ID="CheckBox1" runat="server"/> function assign_value() { document.getElementById('CheckBox1').value = "Yes"; }
<head> <title></title> <style type="text/css"> .body { background-color:lightyellow; } .label_bold { font-weight:bold; } </style> </head>
<asp:Label ID="lbl_name" runat="server" Text="Name:" CssClass="label_bold" ></asp:Label>
<asp:Label ID="lbl_name" runat="server" Text="Name:" class="label_bold" ></asp:Label>
<style type="text/css"> //write css class here </style>
<body id="bdy" runat="server"> </body>
bdy.Style["Background-Color"] = LightYellow;
bdy.Style["Background-Color"] = "Body_bk_color";
lbl_name.Attributes.Add("class","your class name"); txt_name.Attributes.Add("class","your class name");