Select from following answers:- <script>
- <style>
- <css>
- All of the above.
- All Above
<style> tag is used to define an internal style sheet.We generally apply this on controls.The <style> tag is written inside <head> tag.
For Example:-
<style type="text/css">
.lbl
{
width:100px;
font-weight:bold;
}
.txt
{
text-align:left;
background-color:lightyellow;
}
</style>
<asp:TextBox ID="txt" runat="server" cssclass="txt"></asp:TextBox>
<asp:Label ID="lbl_name" runat="server" cssclass="lbl" Text="Name"></asp:Label>
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator