p {
color: red;
color: #ffffff;
color: rgb(255, 0, 0);
}
Fonts are selected and applied to selectors via the font-family property.
By default the available fonts that can be used in web design are somewhat limited. There’s a small set of fonts that are deemed ’web safe fonts’. These are fonts that are widely supported in various browsers, and are deemed suitable for web. The issue we have here is that if a browser doesn’t support a font, it must select another similar one, but we need to tell it which one. This is where the ‘fallback’ system comes into play.
The font-family property supports multiple values, separated by a comma, for example: