Font style in CSS
Font style [font-style]
The property
font-style
defines the chosen font either in normal, italic or oblique. In the example below, all headlines marked with <h2>
will be shown in italics.
h1 {font-family: arial, verdana, sans-serif;}
h2 {font-family: "Times New Roman", serif; font-style: italic;}
Comments
Post a Comment