This control is used to display textual information on the web forms. It is mainly used to create caption for the other controls like: textbox. To create label either we can write code or use the drag and drop facility of visual studio 2017.
What is the use of label server control?
Use the Label control to display text in a set location on the page. Unlike static text, you can customize the displayed text through the Text property. You can also use the Literal and PlaceHolder controls to display text on the Web Forms page.
How do you use ASP Literal?
Literal ControlLabel ControlYou can’t apply any style property to the Literal Control.You can apply any style property to the Label Control.