html 5 Flashcards

1
Q

background properties

A

set the background effects for an element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

background property

A

set all of the background image properties in on declaration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

background-attachment property

A

to set a fixed or scrolling background image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

background-image property

A

to use an image as the background for an element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

background-position property

A

to position a background image within an element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

background-repeat property

A

to repleat an image vertically, horzontally, or both

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

border

A

border shorthand properties, controls all things on all sides

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

border properties

A

used to place a decorative border around the contents of an element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

border-color property

A

shorthand property used to set the color value for all four borders at once

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

border-style property

A

is the shorthand property you can use to set the values for all four border styles with one declaration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

border-width property

A

shorthand property used to set the width values for all four borders

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

box model

A

describes the boxes that are formed around elements in a web page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

box properties

A

used to add white space outside the border

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

breathing room

A

separation amond the boxes so they aren’t crowded on the page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

cascade

A

refers to the methods used to determine which style rules apply if ore than one rule refers to a style

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

classification properties

A

allows you to control how to display and position an element, and how to control visibility of an element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

clear property

A

used to reposition an element below another element on the page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

content area

A

the area that contains the box content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

external style sheet

A

contains the CSS style code in a separatefile, you then can apply it to several fils or all the files at your website

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

float property

A

used to position boxes on the page and to wrap content around a box

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

link element

A

used to link and XHTML file to another file such as a CSS file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

margin

A

white space outside of a border

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

margin collapse

A

occures when two adjoining top and bottom margins combine to form a single margin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

margin properties

A

control the external white space. a.k.a. the white space outside the border

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

margin property

A

a shorthand property that sets the margin on all four sides

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

padding

A

the internal white space that surrounds the contents of an element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

padding properties

A

controls internal white space

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

style precedence

A

determines the order of the cascade, used to resolve style conflicts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

tiling

A

repeating an image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

user-defined styles

A

are set by the reader in the browser, usually to improve accessibility

31
Q

is the box model css or html

A

css

32
Q

all elements in html are treated as they are what shape

A

box

33
Q

what are the four parts of the box model

A

content, padding, border, margin

34
Q

what can the content area contain?

A

text and images

35
Q

by deafault how much space is their between the content and padding

A

none

36
Q

what creates breathing room

A

margin

37
Q

do you have to use all the box properties at the same time

A

no

38
Q

by default does the content of an element have padding

A

no

39
Q

what measurements can padding and margin be in

A

em

40
Q

to set the padding whithin an element

A

padding: width;

41
Q

what properties can you use to individually set the padding for each side

A

padding-top:

42
Q

what is used to create white space around images

A

margin

43
Q

by default the margin is set to

A

one px around the whole thing

44
Q

what are the four margin properties:

A

margin-top:

45
Q

is padding or margin used often with images

A

margin

46
Q

to set margin space around an element use

A

margin: width;

47
Q

what is the shorthand property for margin?

A

selector{

48
Q

what is the shorthand property for padding:

A

selector {

49
Q

padding property

A

a shorthand property that sets the padding on all four sides

50
Q

how do padding and margin shorthand properties work

A

one value: used equally for all four sides

51
Q

true or false? in margin and padding properties all values from have an accompaning measurement

A

false, everything except for 0 must have one

52
Q

when you have two object stacked vertically what happens

A

margin collapse

53
Q

when margins collapse are the added together

A

no, the browser just used the largest margin and uses that between the two objects

54
Q

do two images side by side have margin collapse

A

no, only vertical objects

55
Q

in the box model what is the border between

A

the padding and margin

56
Q

what can you change about the border

A

color, style, and width

57
Q

what can the border value be

A

solid

58
Q

what is the border value by default

A

none

59
Q

can border styles look different in different browsers

A

yes

60
Q

what are the five border-style properties

A

border-top-style

61
Q

to set border width use

A

border-width: #;

62
Q

to set border color use

A

border-color: #;

63
Q

to set border style use

A

border-style: style:

64
Q

to set border with shorthand property use

A

border: style color width;

65
Q

when using the shorthand properties do all the values need to be specified

A

no, but they must be in order

66
Q

border width can also be specified using which words

A

thin, medium, and thick, or use #s

67
Q

what are the five border-width properties

A

border-top-width

68
Q

what are the five border-color properties

A

border-top-color

69
Q

what are the eight border shorthand properties

A

(for all sides)

70
Q

what is the most commonly used border shorthand property

A

border

71
Q

when using the border shorthand property what do you use between value

A

spaces

72
Q

can you list the border style, thickness and color in any order

A

yes, but you must specify a style if you just use two values

73
Q

if you omit a value for color in the border shorthand property what happens

A

it will inherit the color from the element it is in

74
Q

which is more favored? the CSS border property or the HXTML horizontal rule

A

CSS border property