Section 1

Preview this deck

The font-family property specifies

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (51)

Section 1

(50 cards)

The font-family property specifies

Front

the font for an element

Back

What are style sheets used for?

Front

To control the look and feel of web documents

Back

How many times per page can a class selector be applied

Front

Unlimited

Back

What are the values of the font-variant property

Front

The values can be set as normal, small-caps, and inherit. {Not every font supports CSS font-variant, so be sure to test before you publish.}

Back

CSS stands for

Front

Cascading Style Sheets

Back

The selector points to

Front

The HTML element you want to style

Back

What is the numeric value for a normal font-weight

Front

400

Back

What does the CSS comment look like

Front

/ Comment goes here /

Back

How many times per page can a id selector be applied

Front

Once

Back

How does a type selector target

Front

Targets by element name

Back

What are the 3 values of the font-style property

Front

normal, italic, and oblique.

Back

The CSS font-variant property allows you to

Front

convert your font to all small caps

Back

The font-weight controls

Front

the boldness or thickness of the text

Back

From the three types of styling, which one is the most useful in terms of website optimization?

Front

External

Back

The three main sources of style information that form a cascade are

Front

stylesheet ,browser's default styles, styles specified by the user

Back

How does Inheritance work

Front

A child element will usually take on the characteristics of the parent element unless otherwise defined

Back

What are the three parts of the style rule

Front

Selector, Property, Value

Back

The HTML <i> tag will produce exactly the same result as the

Front

italic font style.

Back

If I haven't set the font size anywhere on the page, then it is the browser default size, which is

Front

16 px

Back

The font-style property is typically used to specify

Front

italic text.

Back

By default, text on your website is aligned in what direction

Front

to the left

Back

Descendent Selector

Front

selects elements that are descendants of another element

Back

The text-align property specifies

Front

the horizontal alignment of text in an element.

Back

You can also define the font weight with a number from ? ? (thin) to ?(thick), according to how thick you want the text to be.

Front

100 to 900

Back

What are the values of the text-align property

Front

left, right, center, and justify.

Back

A CSS declaration always ends with

Front

a semicolon

Back

What does the selector do

Front

Selects which element to style

Back

There are two types of font family names:

Front

Font Family , Generic Family

Back

id selectors allow you to style an HTML element that has

Front

an id attribute

Back

What value is NOT used with the font-style property? oblique slant normal italic

Front

slant

Back

What are the 2 numeric units for setting font-sizes

Front

pixels, ems

Back

Keywords are useful if

Front

I do not want the user to be able to increase the size of the font because it will adversely affect my site's appearance.

Back

The <link> element goes inside the ___ section.

Front

Head

Back

Cascading refers to

Front

The way CSS applies one style on top of another

Back

What are the possible values when setting font-sizes using keywords

Front

xx-small, x-small, small, medium, large, x-large , xx-large, larger, etc

Back

What are the values you can use to specify a text color in the color property

Front

color name, hexidecimal , RGB

Back

When naming font families when do you put a font in quotes

Front

When it has more then one word

Back

The vertical-align property sets an element's

Front

vertical alignment

Back

What is a font family

Front

a specific font family (like Times New Roman or Arial)

Back

how do you set the font-size of a paragraph to 15px

Front

p { font-size:15px;}

Back

What are the values of the vertical-align property

Front

baseline, sub, super, % and px (or pt, cm)

Back

What is a generic family

Front

a group of font families with a similar look (like Serif or Monospace)

Back

What is the formula to calculate font-size in ems from pixels

Front

em = pixels / 16

Back

Style Sheets

Front

Control the look and feel of web documents

Back

Why use CSS?

Front

It allows for the separation of style and content

Back

The CSS color property specifies

Front

the color of the text

Back

What are the values of the font-weight property

Front

normal (default size), bold, bolder, and lighter.

Back

The HTML <strong> tag also makes the text

Front

bold

Back

When using text-align property what does the justify value do?

Front

evens the width of each line so they are the same

Back

What is the numeric value for a bold font-weight

Front

700

Back

Section 2

(1 card)

Does the verticle-align property work the same for all elements?

Front

No

Back