![@html](https://iQi.jp.ai/static/common/topic-mid-img.png)
@html
@フォロワー #1
![](https://pic.jp.ai/avatar/000/00/00/15_avatar_max.jpg)
Html文字の色を赤に指定する方法について @html @code
iQi @回答 • 2014-05-29 11:43 • @フォロワー #2 • 1 回答 • 1868 Views
1
{ 賛成 }: lujian
font要素で、文字の色を指定することができます。
{{{
<font color="red">This is some text!</font>
}}}
HTML 4.01ではfont要素が非推奨とされていますの...
font要素で、文字の色を指定することができます。
{{{
<font color="red">This is some text!</font>
}}}
HTML 4.01ではfont要素が非推奨とされていますので、下記の一般的なCSS書き方をおすすめです。
{{{
<p style="color:red">This is some text!</p>
}}}
{{{
<font color="red">This is some text!</font>
}}}
HTML 4.01ではfont要素が非推奨とされていますので、下記の一般的なCSS書き方をおすすめです。
{{{
<p style="color:red">This is some text!</p>
}}}