Text Components
There are five basic text components that we can further categorize into display and input components. Figure 7-4 on the next page shows these components.

Figure 7-4. Text components
The label and text components are display-only components. The user cannot edit the contents of either of these types. The label component is useful for displaying one line of text whereas the text component is useful for displaying multiple lines of text.
The text input, text area, and rich text editor components are user input text controls. The text input component allows the user to input one line of text. The text area component allows the user to input multiple lines of text, and it automatically adds scroll bars when necessary. The rich text editor component not only allows the user to input multiple lines of text, but also allows the user to apply formatting styles such as bold, italic, underline, text align, and so forth.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access