Menu Riverview Church

FONT-FAMILY

The font-family property specifies a prioritized list of font family names or generic family names.

SYNTAX

CSS

font-family: value;

JS

object.style.fontFamily = "value";

VALUES

<'font-family'> = [ <family-name> | <generic-family> ]#
<family-name>

The name of a font family.

<generic-family>

A keyword representing a generic font.

EXAMPLES

FAMILY-NAME

GENERIC-FAMILY

JS

INTERNAL

font

font-size

font-stretch

font-style

font-variant

font-weight

line-height

EXTERNAL

World Wide Web Consortium (W3C)