HTML5 中的默认字体颜色是什么? [英] What is the default font color in HTML5?

查看:48
本文介绍了HTML5 中的默认字体颜色是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我根据经验知道,如果我不使用 CSS 更改字体颜色,它总是黑色 (#000000).但我想知道,当默认字体颜色不是黑色时,是否有任何边缘情况?

I know by experience, that if I don't change the font color with CSS, it's always black (#000000). But I was wondering, are there any edge-cases when the default font color is not black?

所以我在谷歌上搜索了一些 这样,但我只找到了有关如何更改字体颜色的阅读材料.

So I did some google searches like this, but I only found readings about how to change the font color.

我错过了什么吗?有谁知道我可以在哪里进一步研究?

Did I miss something? Does anyone know where can I further research?

推荐答案

HTML 中没有定义默认颜色.默认颜色"由浏览器或您使用的操作系统配置.

There is no default color defined in HTML. The "default color" is configured in the browser or by the operating system you are using.

这篇关于HTML5 中的默认字体颜色是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆