Fonts And Colors Flashcards
I know it’s a standard font format for web fonts, but what does .woff mean?
Web open font format
Which rule allows you to define the name and location of a font in my page?
@ font-face
What does ttf mean?
True type font .ttf
What does otf mean?
Open type font .otf
It was built on top of ttf and is newer
What is .eot?
Compact form of ttf, proprietary to IE
What is .svg?
Scalable vector graphics font used to represent characters
Which font format is best supported across most browsers?
Woff
Name the five font families
Serif Sans serif Cursive Monospace Fantasy
How do you specify a font with multiple words in its name?
Put quotes around the name in the font family declaration
Five steps to add a web font to your page?
1) find a font
2) determine font format (.woff is best)
3) place font files on the web
4) add the @font-face property to your CSS
5) use the font-family name in your CSS
Where can you find open source, free fonts?
Fontsquirrel
What are the 7 keyword font sizes?
xx-small x-small small medium large x-large xx-large
What are your four choices in specifying font sizes?
Keyword
px
em
percentage
What is best practice for sizing font?
Use keyword font size in the body element and specify the font size of your other elements relative to the default size using percentages
em means
The font size of the parent element