

- 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
Shorthand property to set the font with CSS
The font property is used as shorthand to specify the 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
- Shorthand property to set columns with CSS
- Shorthand property to set all the animation properties with CSS
- Shorthand property to set the background in CSS
- CSS Animation Shorthand property
- The padding shorthand Property in CSS
- The Background Shorthand Property in CSS
- The outline Shorthand Property in CSS
- The margin Shorthand Property in CSS
- The border Shorthand 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
- Set the font family with CSS
- The list-style Shorthand property in CSS
Advertisements