Edit

CSS Font Property

The CSS font property represents the font style of the text.

Example of Code

<!DOCTYPE html>
<title>Example</title>
<style>
  p {
    font: italic small-caps bold 20px Georgia, Garamond, serif;
  }
</style>
<p>The styles for this text has been specified with the 'font' shorthand property.</p>

Output

Example

The styles for this text has been specified with the 'font' shorthand property.