basics of website design banner photo

HTML

HTML 5

CSS 2.1

CSS 3

Reference

CSS font-style Property

The font-style property can be used to set the font face.

Possible Values

  • normal - a normal font is used - default value.
  • italic - an italic font is used.
  • oblique - an oblique font is used.
  • inherit - the value is inherited from the parent element.

These three paragraphs show the results of using the font-style property. This paragraph has been styled with a value of normal.

These three paragraphs show the results of using the font-style property. This paragraph has been styled with a value of italic.

These three paragraphs show the results of using the font-style property. This paragraph has been styled with a value of oblique.

In most popular browsers there is little if any difference between italic and oblique.

CSS 2.1 Property List