フォントスタイルの設定フォントのスタイルを設定するには、 font-styleプロパティやtext-decorationプロパティを設定します。 font-style: 斜体 text-decoration: 装飾 #spandel </pre> #spanend #spanadd font-styleプロパティは、 フォントを斜体にするかどうかを設定できます。 次の値を設定できます。
text-decorationプロパティは、 フォントの装飾を設定できます。 次の値を設定できます。 半角スペースで区切って複数の値を同時に指定することもできます。
.italic { font-style: italic; } .udln { text-decoration: underline; } em.super { text-decoration: underline overline; } #spandel </pre> #spanend #spanadd
}} |