ASP.NET Label control vs literal control (ASP.NET interview questions)
- By Shiv Prasad Koirala in ASP.NET
- May 2nd, 2014
- 98
- 0
|
Label |
Literal |
|
Used to display formatted text on the browser. |
Used to display HTML code on the browser. |
|
Display's inside a span tag. |
Displays the text as it is. So if you have HTML it will get displayed as it is and not rendered. |
|
We can apply formatting and style. |
There is no formatting and style here whatever is the text gets displayed as it is. |
|
Can be accessed via javascript easily. |
Even if you provide ID value you can access via javascript. |
Preparing for .NET and ASP.NET interviews start from the below video. We are thankful to questpond.com to provide the below video.
Shiv Prasad Koirala
Visit us @ www.questpond.com or call us at 022-66752917... read more
- By Shiv Prasad Koirala
- Sep 12th, 2013
- 1348
- 0
What is Jquery ? ( ASP.NET Jquery interview questions with answers)
- By Shiv Prasad Koirala
- Jun 20th, 2012
- 585
- 0
C# threading interview questions: - What is the difference between
- By Shiv Prasad Koirala
- Jun 4th, 2012
- 232
- 0

