gpt4 book ai didi

html - 关于html rgb颜色

转载 作者:行者123 更新时间:2023-11-28 04:10:08 25 4
gpt4 key购买 nike

我有一个关于 html 颜色代码的问题。

<font color=rgb(255,0,0)> This is my font </font>

虽然颜色代码很好,但在 firefox 中不显示红色字体。任何想法?相反,它显示出一些奇怪的灰绿色!

谢谢

最佳答案

尝试“风格”。

<font style="color: rgb(255,0,0)"> This is my font </font>

关于html - 关于html rgb颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37329942/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com