h1, h2, h3, h4, h5, h6, p, a, span class

Standard HTML tags for defining heading styles (h1-h6), paragraphs (p), hyperlinks (a), and spans.

The following illustrations show: 

  1. The h1, h2, h3, h4, h5, h6, p, a, span style before applying CSS changes.

  2. The h1, h2, h3, h4, h5, h6, p, a, span style after the font-family property has been changed to Times New Roman and the color property has been changed to red.

Default CSSModified CSS


h1, h2, h3, h4, h5, h6, p, a, span {
font-family: 'Lato', sans-serif;
color: #444;
}


h1, h2, h3, h4, h5, h6, p, a, span {
font-family: "Times New Roman";
color: red;
}

Did this page help you?