Markdown Emphasis
You can emphasis text by making text bold or italic.
Make Text Bold
You can make text by adding two asterisks or underscores before and after a word or phrase.
Syntax:
**word or phrase**
Or
__word or phrase__
| Markdown | HTML | Output |
|---|---|---|
| This is **bold** text. | <p>This is <b>bold</b> text.</p> | This is bold text. |
| This is __bold__ text. | <p>This is <b>bold</b> text.</p> | This is bold text. |
The following example create text bold middle of a word for emphasis by adding two asterisks without spaces around the letters:
Example
This is **bold** text.
Creating bold text with underscores:
Example
This is __bold__ text.
Note - Markdown applications don’t agree on how to handle underscores in the middle of a word. For compatibility, use asterisks to bold the middle of a word for emphasis.
Creating bold text with <b> tag:
Example
This is <b>bold</b> text.
Creating bold text with <strong> tag:
Example
This is <b>bold</b> text.
Italic
You can italicize text by add one asterisk or underscore before and after a word or phrase.
Syntax:
*word or phrase*
Or
_word or phrase_
| Markdown | HTML | Output |
|---|---|---|
| This is *italicized* text. | <p>This is <i>italicized</i> text.</p> | This is italicized text. |
| This is _italicized_ text. | <p>This is <i>italicized</i> text.</p> | This is italicized text. |
The following example create text italicized middle of a word for emphasis by adding one asterisks without spaces around the letters:
Example
This is *italicized* text.
Creating italicized text with underscores:
Example
This is _italicized_ text.
Note - Markdown applications don’t agree on how to handle underscores in the middle of a word. For compatibility, use asterisks to bold the middle of a word for emphasis.
Creating italicized text with <em> tag:
Example
This is <em>italicized</em> text.
Creating italicized text with <i> tag:
Example
This is <i>italicized</i> text.
Bold and Italic
You can create emphasize text with bold and italic at the same time by add three asterisks or underscores before and after a word or phrase.
Syntax:
***word or phrase***
Or
___word or phrase___
Or
*__word or phrase*__
Or
**_word or phrase**_
| Markdown | HTML | Output |
|---|---|---|
| This is ***bold and italicized*** text. | <p>This is <b><i>bold and italicized</i></b> text.</p> | This is bold and italicized text. |
| This is ___bold and italicized___ text. | <p>This is <b><i>bold and italicized</i></b> text.</p> | This is bold and italicized text. |
| This is *__bold and italicized*__ text. | <p>This is <b><i>bold and italicized</i></b> text.</p> | This is bold and italicized text. |
| This is **_bold and italicized**_ text. | <p>This is <b><i>bold and italicized</i></b> text.</p> | This is bold and italicized text. |
The following example create text italicized and bold in middle of a word for emphasis by adding three asterisks without spaces around the letters:
Example
This is ***bold and italicized*** text.
Creating italicized and bold text with underscores:
Example
This is ___bold and italicized___ text.
Note - Markdown applications don’t agree on how to handle underscores in the middle of a word. For compatibility, use asterisks to bold the middle of a word for emphasis.
Creating italicized and bold text with <i> and <b> tag:
Example
This is <i><b>bold and italicized</b></i> text.
Creating italicized and bold text with <em> and <strong> tag:
Example
This is <em><strong>bold and italicized</strong></em> text.
Note - The order of the <em> and <strong> tags might be reversed depending on the Markdown processor you're using.