HOME
≫
HTML一覧
≫ ワンマウスで文字の背景色を変更
ワンマウスで文字の背景色を変更
サンプル
サンプル
タグ
<SPAN onmouseover="this.style.background='
カラー名かRGB値
'"
onMouseOut="this.style.background=''">
表示する文字
</SPAN>