Usage of font property in CSS

JavascriptWeb DevelopmentFront End Scripts

The font property is used as shorthand to specify a number of other font properties, such as font family, size, style, etc.


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

      <p style = "font:italic small-caps bold 13px georgia;">
         Applying all the properties on the text at once.
Updated on 30-Jan-2020 10:19:44