![css text styles css text styles](https://www.wikihow.com/images/0/0d/Select-Classes-and-IDs-in-CSS-Step-8-Version-2.jpg)
These formats, as we discussed in Lesson 3, “ Getting to Know CSS,” include keywords, hexadecimal values, and RGB, RGBa, HSL, and HSLa values. The color property accepts one color value, but in many different formats. The only property we need to set the color of text is the color property. Getting rid of the browser defaults and using our own typeface and text color immediately begins setting the tone of our page. While there are a number of other properties that can be changed-size, weight, and so on-the typeface and text color generally have the largest impact on the look and legibility of a page. Typically one of the first decisions we’ll make when building a website is choosing the primary typeface and text color to be used.
![css text styles css text styles](http://designermag.org/wp-content/uploads/2014/02/CSS-Font-Style.jpg)
A font, on the other hand, is very similar to an MP3 in that it is not the artistic impression itself, but only a method of delivering the artistic value. It is created by an artist or artists and is open to public interpretation. A typeface is very similar to a song in that it is a work of art. One way to help clarify the difference between a typeface and a font is to compare them to a song and an MP3. Using a font on a computer allows the computer to access the typeface. It is the artistic impression of how text looks, feels, and reads.Ī font is a file that contains a typeface.
![css text styles css text styles](https://i.stack.imgur.com/lrAYA.png)
Here is a breakdown of exactly what each term means.Ī typeface is what we see. The terms “typeface” and “font” are often interchanged, causing confusion.