Cascading Style Sheets
HTML elements inherit their styles in a "cascading" manner, according to a very specific set of priorities, from lowest to highest.
HTML
HTML
HTML
h2 {
font-family: serif;
}
h2 {
font-family: serif;
}
h2 {
/* element selector */
}
.small {
/* class selector */
}
#headline {
/* ID selector */
}