HTML Font style

Font Style

The Font style property is used to make the HTML text italic or oblique. The default value is normal. This is a CSS property that you can use in CSS block inside the <head> tag, inline CSS (style attribute of the element) or external CSS file.

Font style property example

The example below shows how to use the font-style property. The first heading (h1) is using the default value. The heading 2 is assigned to use Italic font style. While the paragraph is using oblique value.

Also see Complete HTML font guide

Was this article helpful?

Related Articles

Leave A Comment?