Computer >> Computer tutorials >  >> Programming >> Javascript

Change the font face with CSS


To change the font face, use the font-family property.

Example

You can try to run the following code to learn how to work with the font-family property:

<html>
   <head>
   </head>
   <body>
      <p style = "font-family:georgia,garamond,serif;">
         Demo content
      </p>
   </body>
</html>