

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set the font family with 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>
- Related Questions & Answers
- Font Family in CSS
- How to set the font family for text with JavaScript?
- Usage of font-family property in CSS
- Set the font style with CSS
- Set the font variant with CSS
- Set the font weight with CSS
- Set the font size with CSS
- How to set text font family in HTML?
- How can I change the font family and font size with jQuery?
- Shorthand property to set the font with CSS
- Set Font Size with Pixels using CSS
- Set Font Size with em using CSS
- How to set default font family for entire Android App?
- Set the font stretch of an element with CSS
- Change the font face with CSS
Advertisements