G*********a 发帖数: 1080 | 1 用font color可以改变文本本身的颜色 ( ),
可是bgcolor一定是要和 body, p(aragragh) 或者 table 一起用,要是只想改变一行
文字中几个文字的背景颜色应该怎么办呢?谢谢。 | q**1 发帖数: 193 | 2 font已经是xhmtl里 deprecated 的 element了. 用CSS,例如:
This part is not highlight high light this not this.
CSS:
.hl {
color:color1;
background-color:color2;
}
【在 G*********a 的大作中提到】 : 用font color可以改变文本本身的颜色 ( ), : 可是bgcolor一定是要和 body, p(aragragh) 或者 table 一起用,要是只想改变一行 : 文字中几个文字的背景颜色应该怎么办呢?谢谢。
| G*********a 发帖数: 1080 | 3 ic. thank u very much, it works for me now. :)
this.
【在 q**1 的大作中提到】 : font已经是xhmtl里 deprecated 的 element了. 用CSS,例如: : This part is not highlight high light this not this. : CSS: : .hl { : color:color1; : background-color:color2; : }
|
|