What is font family in CSS?

Query By: SUSAN MOORE

P

Pratiksha Mauriya

CSS Font Family - There are two font family are available in CSS

1. Generic Family 

    font-family: serif; | sans-serif; | monospace; | cursive; | fantasy; | system-UI; | emoji; | math; | fang-song;

Important Points

  • All monospace characters have the same width
  • Sans-serif fonts do not have the lines at the ends of characters
  • Serif fonts have small lines at the ends on some characters
  • Cursive fonts have either joining strokes or other cursive characteristics beyond those of italic typefaces.
  • Fantasy fonts are primarily decorative fonts.
  • Math font uses particular stylistic concerns of representing mathematics.

2. Font Family

    font-family: Gill Sans Extrabold, sans-serif; | "Goudy Bookletter 1911", sans-serif;

Global Family

font-family: inherit;| initial; | unset;

0 votes

Your Answer

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

LifeStyle & Fun

© 2024 GDATAMART.COM (All Rights Reserved)