Skip to main content

What is a fallback font?

A fallback font is a backup font that is used if the primary one is unavailable. In CSS it is listed second and onward in the font-family list:

css
font-family: "Roboto", "Arial", sans-serif;

The browser will substitute Arial if Roboto fails to load, and if that is unavailable too, it will fall back to the system font from the sans-serif family.

Short Answer

Interview ready
Premium

A concise answer to help you respond confidently on this topic during an interview.