鼠标经过文字变色html代码(行内代码)怎么写

如题所述

<span onmousemove="this.style.color='red';" onmouseout="this.style.color='black'">鼠标移动</span>追问

麻烦你在中间加一个不要下划线的代码

追答

——!
加上样式:
a
{
text-decoration: none;
color:Black;
}

追问

鼠标移动 (下面这句加在什么地方呢)

a{text-decoration: none; color:Black; }

追答

放在{a{text-decoration: none; color:Black; }}

温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答