h3 { font-style: italic }
p em {
font-style: normal;
border-bottom: 1px dashed black;
}
:
:
<h3>総称ファミリーの詳細</h3>
<p>CSS2では、<em>総称ファミリー</em>として「serif」「sans-serif」
「cursive」「fantasy」「monospace」の5つが定義されている。</p>
h3 { font-variant: small-caps }
:
:
<h3>Generic Families Detail</h3>
<p>In CSS2, serif, sans-serif, cursive, fantasy and monospace are
defined as generic families.</p>
p em {
font-style: normal;
font-weight: bold;
}
:
:
<h3>総称ファミリーの詳細</h3>
<p>CSS2では、<em>総称ファミリー</em>として「serif」「sans-serif」
「cursive」「fantasy」「monospace」の5つが定義されている。</p>
body { font-size: medium }
h3 { font-size: x-large }
p { font-size: 100% }
:
:
<h3>総称ファミリーの詳細</h3>
<p>CSS2では、総称ファミリーとして「serif」「sans-serif」「cursive」
「fantasy」「monospace」の5つが定義されている。</p>
p {
font-family: Verdana, "Times New Roman", sans-serif;
font-size: 14px;
font-size-adjust: 0.58;
}