Search code examples
htmlcssdefault

What is the default font color in HTML5?


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?


Solution

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