Any idea about fonts?

Closed
higherex90 Posts 15 Registration date Wednesday 24 September 2008 Status Member Last seen 12 May 2009 - 26 Sep 2008 à 07:26
imation Posts 26 Registration date Tuesday 26 August 2008 Status Member Last seen 16 May 2009 - 26 Sep 2008 à 09:41
Hi everybody can someone tell me what fonts does HTML/CSS support? I need fonts like Comic Sans MS, or at least tell me if it supports that.

1 response

imation Posts 26 Registration date Tuesday 26 August 2008 Status Member Last seen 16 May 2009 4
26 Sep 2008 à 09:41
HTML has built-in support for five generic fonts: serif, sans-serif, monospace, cursive, and fantasy. However, you can specify any font, and if your visitor has it, the browser will use it. You can list several fonts in a comma-separated list and the browser will use the first one in the list that it can find. So you could have {font-family: Comic Sans MS, cursive;}. Since both Windows commonly include Comic Sans MS, chances are good that that's what the user will see. If it's a special font like Monotype Corsiva that you had to go out and collect, chances are no one else will see it.