I've been working through the HTML / CSS lessons on codecademy and I'm a little confused about capitalization. It instructs me to always capitalize the font names, but sometimes its own examples show them in lowercase. For instance, codecademy provides the following guidelines:
p {
font-family: Tahoma, Verdana, sans-serif;
}
and
h1 {
font-family: Times, serif;
}
Why are Tahoma
, Verdana
, and Times
capitalized while serif
and sans-serif
are lowercase? It seems inconsistent.
Thanks