⊗mkPmCLFF 38 of 250 menu

Font type in CSS

The font-family property allows you to specify the family of a font. The most common fonts are: Times New Roman (default), Arial, Georgia, Verdana, Trebuchet MS, Impact, Arial Black, Comic Sans MS, Courier New.

Let's set the font for all paragraphs to Arial:

<p> This is a paragraph with text. </p> p { font-family: Arial; }

:

If a font consists of several words, then the name of such a font should be put in quotation marks:

<p> This is a paragraph with text. </p> p { font-family: "Comic Sans MS"; }

:

Check the functionality of all fonts from the list above.

byenru