Which font it supports ?

Closed
charikaar09 Posts 11 Registration date Thursday May 8, 2008 Status Member Last seen May 22, 2009 - Aug 19, 2008 at 09:01 AM
rubanru1 Posts 10 Registration date Thursday May 8, 2008 Status Member Last seen May 29, 2009 - Aug 19, 2008 at 10:32 AM
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

rubanru1 Posts 10 Registration date Thursday May 8, 2008 Status Member Last seen May 29, 2009 1
Aug 19, 2008 at 10:32 AM
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.
0