How can we use division section in the HTML page?

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

We have a <div> tag,which comes under HTML controls and works as a container for the controls.We can place so many controls inside <div> tag.
We can say that it is treated as Parent control and all the controls inside it will be treated as Child controls.
For Example:
<div>

<asp:Label ID="lbl_Error_Msg" runat="server"></asp:Label>
<asp:Button ID="btn_go" runat="server" Text="Go"/>
<asp:CheckBox ID="chk_status" runat="server" />
</div>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response