How to give a line break in-between controls in Asp.net pages?

 Posted by vishalneeraj-24503 on 5/7/2014 | Category: ASP.NET Interview questions | Views: 2506 | Points: 40
Answer:

We have <BR/> tag which is used for giving Line Breaks in-between controls.It's just like \r\n in windows application.

For Example:-
<asp:button id = "btn1" runat = "server" text = "Button1"/>

<br/>
<asp:button id = "btn2" runat = "server" text = "Button2"/>
<br/>
<p>
Hello World
</p>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response