How to do HTML Text Formatting
Text Formatting
This text is bold
This text is italic
This is subscript and superscript
How to do HTML Text Formatting
In the past section, you found out about the HTML style attribute.
HTML additionally characterizes special elements for characterizing content with a special importance.
HTML utilizes elements like <b> and <i> for arranging yield, similar to strong or italic content.
Organizing elements were intended to show special sorts of content:
This text is italic
This is subscript and superscript
How to do HTML Text Formatting
In the past section, you found out about the HTML style attribute.
HTML additionally characterizes special elements for characterizing content with a special importance.
HTML utilizes elements like <b> and <i> for arranging yield, similar to strong or italic content.
Organizing elements were intended to show special sorts of content:
- <b> - Bold text
- <strong> - Important 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
HTML <b> and <strong> Elements
The HTML <b> element defines bold text, without any extra importance.Example
<b>This text is bold</b>
The HTML <strong> element defines strong
text, with added semantic "strong" importance.
Example
<strong>This text is strong</strong>
HTML <i> and <em> Elements
The HTML <i> element defines italic text, without any extra importance.
Example
<i>This text is italic</i>
0 comments:
Post a Comment