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
margin property
a shorthand property that sets the margin on all four sides
26
padding
the internal white space that surrounds the contents of an element
27
padding properties
controls internal white space
28
style precedence
determines the order of the cascade, used to resolve style conflicts
29
tiling
repeating an image
30
user-defined styles
are set by the reader in the browser, usually to improve accessibility
31
is the box model css or html
css
32
all elements in html are treated as they are what shape
box
33
what are the four parts of the box model
content, padding, border, margin
34
what can the content area contain?
text and images
35
by deafault how much space is their between the content and padding
none
36
what creates breathing room
margin
37
do you have to use all the box properties at the same time
no
38
by default does the content of an element have padding
no
39
what measurements can padding and margin be in
em
40
to set the padding whithin an element
padding: width;
41
what properties can you use to individually set the padding for each side
padding-top:
42
what is used to create white space around images
margin
43
by default the margin is set to
one px around the whole thing
44
what are the four margin properties:
margin-top:
45
is padding or margin used often with images
margin
46
to set margin space around an element use
margin: width;
47
what is the shorthand property for margin?
selector{
48
what is the shorthand property for padding:
selector {
49
padding property
a shorthand property that sets the padding on all four sides
50
how do padding and margin shorthand properties work
one value: used equally for all four sides
51
true or false? in margin and padding properties all values from have an accompaning measurement
false, everything except for 0 must have one
52
when you have two object stacked vertically what happens
margin collapse
53
when margins collapse are the added together
no, the browser just used the largest margin and uses that between the two objects
54
do two images side by side have margin collapse
no, only vertical objects
55
in the box model what is the border between
the padding and margin
56
what can you change about the border
color, style, and width
57
what can the border value be
solid
58
what is the border value by default
none
59
can border styles look different in different browsers
yes
60
what are the five border-style properties
border-top-style
61
to set border width use
border-width: #;
62
to set border color use
border-color: #;
63
to set border style use
border-style: style:
64
to set border with shorthand property use
border: style color width;
65
when using the shorthand properties do all the values need to be specified
no, but they must be in order
66
border width can also be specified using which words
thin, medium, and thick, or use #s
67
what are the five border-width properties
border-top-width
68
what are the five border-color properties
border-top-color
69
what are the eight border shorthand properties
(for all sides)
70
what is the most commonly used border shorthand property
border
71
when using the border shorthand property what do you use between value
spaces
72
can you list the border style, thickness and color in any order
yes, but you must specify a style if you just use two values
73
if you omit a value for color in the border shorthand property what happens
it will inherit the color from the element it is in
74
which is more favored? the CSS border property or the HXTML horizontal rule
CSS border property