Inline text (bold, italic and other)

You can format inline text using the following text styles:

Bold text

To use strong and bold text, wrap the text in single asterisks * or double asterisks **. To mark several characters within a word as strong or bold, use square brackets.

Strong and bold tags display text in a bold font by default in nearly all browsers.

Strong and bold text formatting
Textile
This is *strong text*.

This is **bold text**.

This is strong markup within a w[*or*]d.

This is bold markup within a w[**or**]d.
Strong and bold text formatting
HTML
<p>This is <strong>strong text</strong>.</p>

<p>This is <b>bold text</b>.</p>

<p>This is strong markup within a w<strong>or</strong>d.</p>

<p>This is bold markup within a w<b>or</b>d.</p>
Textile-formatted strong and bold text

Italic text

To use emphasized and italic text, wrap the text in single underscores _ or double underscores __. To mark several characters within a word as emphasized or italic, use square brackets.

Emphasized and italic tags display text in an italic font by default in nearly all browsers.

Emphasized and italic text formatting
Textile
This is _emphasized text_.

This is __italic text__.

This is emphasized markup within a w[_or_]d.

This is italic markup within a w[__or__]d.
Emphasized and italic text formatting
HTML
<p>This is <em>emphasized text</em>.</p>

<p>This is <i>italic text</i>.</p>

<p>This is emphasized markup within a w<em>or</em>d.</p>

<p>This is italic markup within a w<i>or</i>d.</p>
Textile-formatted italic text

Mixed bold and italic text

To combine bold and italic, wrap the text first in underscores, then in asterisks, or vice versa.

Mixed text formatting
Textile
This is _*strong and emphasized text*_.

This is also *_strong and emphasized text_*.

This is __**bold and italic text**__.

This is also **__bold and italic text__**.
Mixed text formatting
HTML
<p>This is <em><strong>strong and emphasized text</strong></em>.</p>

<p>This is also <strong><em>strong and emphasized text</em></strong>.</p>

<p>This is <i><b>bold and italic text</b></i>.</p>

<p>This is also <b><i>bold and italic text</i></b>.</p>
Textile-formatted bold and italic text

Inserted and deleted text

To mark words or phrases as inserted or deleted, wrap the text in minus - or plus + signs.

Inserted and deleted text formatting
Textile
This is +inserted+ -and deleted- text
Inserted and deleted text formatting
HTML
<p>This is <ins>inserted</ins> <del>and deleted</del> text</p>
Textile-formatted inserted and deleted text

Superscript and subscript text

To create superscript and subscript text, wrap the text in carets ^ or tildes ~. To avoid spaces around the super- and subscripted text, use square brackets.

Superscript and subscript formatting
Textile
Applicants must have a GPA of 3.5[^1^].
Chemistry prerequisites include completion of CO[~2~] analysis.
Superscript and subscript formatting
HTML
<p>Applicants must have a <span class="caps">GPA</span> of 3.5<sup>1</sup>.</p>

<p>Chemistry prerequisites include completion of CO<sub>2</sub> analysis.</p>
Textile-formatted superscript or subscript text