css font family for all titles code example Example: css font family for all titles h1, h2, h3, h4, h5, h6 {font-family:serif;}