Write a basic HTML program to diplay 3 definitions in a webpage by using different formatting
styles.
Answers
Answered by
5
HTML Formatting Elements
Formatting elements were designed to display special types of text:
- <b> - Bold text
- <strong> - Important text
- <i> - Italic text
- <em> - Emphasized text
- <mark> - Marked text
- <small> - Smaller text
- <del> - Deleted text
- <ins> - Inserted text
- <sub> - Subscript text
- <sup> - Superscript text
HTML <b> and <strong> Elements
The HTML <b> element defines bold text, without any extra importance.
The HTML <strong> element defines text with strong importance. The content inside is typically displayed in bold.
HTML <i> and <em> Elements
The HTML <i> element defines a part of text in an alternate voice or mood. The content inside is typically displayed in italic.
The HTML <em> element defines emphasized text. The content inside is typically displayed in italic.
HTML <small> Element
The HTML <small> element defines smaller text
Similar questions
Hindi,
3 months ago
English,
3 months ago
Computer Science,
6 months ago
English,
6 months ago
Math,
10 months ago