HTML Font Style Codes

This page provides you with HTML font codes that you can use to copy/paste into your own website.

CSS font-style Property

There is a font-style property that you use to specify whether your text should be rendered in italics or not. Here's how you use the font-style property:

The above code results in this:

This text has been rendered in italics using the CSS font-style property.

To specify no italics, you can use font-style:normal. This could be useful if you've got a large block of italic text, but you want a small part of it to be rendered normal.

More Text Code

You can do much more with text on your website. You can change the font size, font family, color, etc. To learn how to do this, check out these HTML Text Codes.

© Copyright 2006 - 2024 Code-Generator.net | Privacy Policy