Topic: CSS Basics

Font properties – CSS

Preview

To change the font of an element using CSS, use the following properties:

font-style: italic;
font-weight: bold;
font-size: 20px;
line-height: 2;
font-family: Arial, sans-serif;

To view the full tutorial, sign up for a free trial on our Sign Up page.