Formatted Elements
- <b> - Bold Text
- <strong> - Strong
Text
- <i> - Italic Text
- <em> - Emphasized Text
- <mark> - Marked Text
- <small> - Small Text
- <del> -
Deleted Text
- <ins> - Inserted Text>
- <sub> - Subscript Text
- <sup> - Superscript Text
| Tag |
Descption |
| <b> |
Defines bold text |
| <strong> |
Defines important text |
| <i> |
Defines italic text |
| <em> |
Defines emphasized text |
| <mark> |
Defines marked text |
| <small> |
Defines small text |
| <del> |
Defines deleted text |
| <ins> |
Defines Inserted text |
| <sub> |
Defines subscript text |
| <sup> |
Defines Superscript text |
Syntax: Text Formatting of HTML
Output: Text Formatting of HTML
Pre Formatted Text
- The HTML <pre> element defines preformatted text.
- The text inside a <pre> element is displayed in a fixed-width font
(usually
Courier), and it
preserves both spaces and line breaks.
Syntax: Pre-text Formatting of HTML
Output: Pre-text Formatting of HTML