---
title: standardFontFamily
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webpreferences/standardfontfamily
---

# standardFontFamily

The standard font family of the web view.

## Declaration

```swift
var standardFontFamily: String! { get set }
```

## Discussion

Discussion This preference affects text whose properties do not indicate that they should be displayed in a particular font or class of fonts (such as sans-serif).

## See Also

### Getting and Setting Fonts

- [cursiveFontFamily](webkit/webpreferences/cursivefontfamily.md)
- [fantasyFontFamily](webkit/webpreferences/fantasyfontfamily.md)
- [fixedFontFamily](webkit/webpreferences/fixedfontfamily.md)
- [sansSerifFontFamily](webkit/webpreferences/sansseriffontfamily.md)
- [serifFontFamily](webkit/webpreferences/seriffontfamily.md)
