ASP.NET Web Forms > Label & Literal

ASP.NET Web Forms > Label & Literal


In this section we are going to learn the Label & Literal in ASP.NET Web Forms.

Label & Literal

asp:Label control is used to display the text on the web page, the text is wrapped with the <span></span> tag. asp:Literal control is also used to display the text on the web page but without wrapping with any tag. Generally asp:Label control is used to display CSS formatted output and asp:Literal control is used to display html formatted output. 

Read posts under ASP.NET Web Forms > Label & Literal

0 posts found



    Write for us






    Hosting Recommendations