how to italic css code example Example: font-style h1 { font-family: "Times New Roman", Times, serif; }