font style attributes in css code example
Example 1: font-style css
#example {
font-style: normal; /* no specification, default */
font-style: italic; /* font is italic */
font-style: oblique; /* font is italic, even if italic letters are not specified for font family */
font-style: inherit; /* inherit property from parent */
font-style: initial; /* default value */
}
Example 2: font-style
h1 {
font-family: "Times New Roman", Times, serif;
}