LEARN 3 : ABOUT IT [ASP.NET]
LESSON 7 : LITERAL VS LABEL
Literal
- To display plain text without any styling (we can’t apply CSS styles for a Literal Control as it does not use any HTML tag).
- To display HTML content
Label
- To set labels for the form fields
- Can change the font color, background color, etc (CSS styles can be applied to Label control)- can easily be changed
Source : My previous study
No comments:
Post a Comment