Usage of font-family property in CSS


The font-family property is used to change the face of a font. Possible value could be any font family name.

<html>
   <head>
   </head>
   <body>
      <p style = "font-family:georgia,garamond,serif;">
         This text is rendered in either georgia, garamond, or the default serif font
         depending on which font you have at your system.
      </p>
   </body>
</html>

seetha
seetha

e

Updated on: 30-Jan-2020

98 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements