
- 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
Usage of font property in CSS
The font property is used as shorthand to specify a number of other font properties, such as font family, size, style, etc.
Example
You can try to run the following code to learn how to work with font property:
<html> <head> </head> <body> <p style = "font:italic small-caps bold 13px georgia;"> Applying all the properties on the text at once. </p> </body> </html>
- Related Questions & Answers
- Usage of font-weight property in CSS
- Usage of font-variant property in CSS
- Usage of font-style property in CSS
- Usage of font-size property in CSS
- Usage of font-family property in CSS
- Usage of CSS @font-face rule
- Usage of CSS visibility property
- Usage of CSS perspective property
- Usage of CSS grid property
- Usage of direction property in CSS
- Usage of color property in CSS
- Usage of background property in CSS
- CSS font-kerning Property
- CSS font-variant Property
- Usage of margin property with CSS
Advertisements