JavaScript String fontcolor() 方法
定义和用法
JavaScript 中的 String fontcolor() 方法已被弃用。
请避免使用它。
它可能在您的浏览器中随时停止运行。
fontcolor()
方法返回嵌入在 <font> 标记中的字符串:
<font color="colorvalue">string</font>
HTML5 does not support the <font> tag.
Syntax
string.fontcolor("Color)
Parameter
Parameter | Description |
---|---|
Color | Required. Color value in rgb or hexadecimal. |
Return Value
String embedded in the <font> tag.