Take the 2-minute tour ×

Have I understod the following right?


Above will result in the default sans-serif font installed on the computer. Which is arial on PC and Helvetica on Mac as tandard.


Above will result in the default serif font installed on the computer.

Which is the default "serif font" on Mac and on PC?

share|improve this question
Which is the default font on mac and PC if you don't specify font-family? –  Hakan Jan 2 '12 at 1:38
add comment

3 Answers

up vote 1 down vote accepted

On Windows, it's Times New Roman. On Mac, it's Times, though it may be Times New Roman as well.

share|improve this answer
Thanks minitech, do you know the default font if you skip specifying font-family? –  Hakan Jan 2 '12 at 1:48
@Hakan: It varies by browser and OS so you should always specify it explicitly, but it's usually the Serif font. On Linux, it's the Sans-serif font by default usually. –  minitech Jan 2 '12 at 1:54
@Hakan: Could you unaccept this answer so I can delete it, please? It’s wrong. –  minitech May 23 '13 at 13:09
add comment

The generic font names such as serif denote implementation-dependent fonts, but the font then depends on the browser and its settings. It may also depend on the natural language used in the document when marked up (using the lang or xml:lang attribute).

Usually the default serif font is Times New Roman on PCs, Times on Macs.

Edit: On IE, in some versions, it appears to be Batang; see http://webmasters.stackexchange.com/questions/34399/unknown-css-font-family-oddity-with-ie7-10-on-windows-vista-7-8

share|improve this answer
Ahaaa it's browser specific. Good to know. –  Hakan Jan 2 '12 at 1:52
add comment

The exact font used for 'serif' and 'sans-serif' depends on the browser. Most browsers will allow users to configure these settings, and (usually) default to Times New Roman (and its variants) for serifs, Arial / Helvetica for sans-serifs. Default fonts in Linux distributions vary.

If a buggy browser attempts to use a font that doesn't exist on the machine, most operating systems will degrade gracefully and use a typical system font. That's very unlikely to come into practice, though.

Because different clients and user-agents can use fonts with very different spacing and proportions, it becomes important to try and avoid using the generic 'sans-serif' and 'serif' fonts for em-based layouts.

share|improve this answer
add comment

Your Answer


