Emphasis

Small text

Use <small> element to set text at smaller size of the parent.

This line of text is meant to be treated as fine print.

この行は小さく表示されます。

p
  small This line of text is meant to be treated as fine print.
p
  small この行は小さく表示されます。
<p>
  <small>This line of text is meant to be treated as fine print.</small>
</p>
<p>
  <small>この行は小さく表示されます。</small>
</p>

Bold

Use <strong> element.

The following snippet of text is rendered as bold text.

このテキストのこの部分は太字です。

p
  = 'The following snippet of text is '
  strong
    | rendered as bold text.
p
  = 'このテキストの'
  strong
    | この部分は太字です。
<p>
  The following snippet of text is <strong>rendered as bold text.</strong>
</p>
<p>
  このテキストの<strong>この部分は太字です。</strong>
</p>

Italic

Use <em> element.

The following snippet of text is rendered as italicized text.

このテキストのこの部分は斜め文字です。

p
  = 'The following snippet of text is '
  em
    | rendered as italicized text.
p
  = 'このテキストの'
  em
    | この部分は斜め文字です。
<p>
  The following snippet of text is <em>rendered as italicized text.</em>
</p>
<p>
  このテキストの<em>この部分は斜め文字です。</em>
</p>
SlimHTML
Mobile view (xs) Tablet view (sm) Desktop view (md) Wide desktop view (lg)