W3: CSS Layouts: Floats and Positions Flashcards

1
Q

It is what you call to an HTML that has opening tag, closing tag and a content inside them.

A

Element

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

An element that has margin, has its own container and starts on a new line that forces a line-break at the end of the element.

A

Block

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

It is used to specify the location and behavior of element.

A

Float

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

An element that can flow with one another.

A

Inline

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

Positions of HTML can be controlled with CSS

A

Floats and positions

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

specifies how an element should float.

A

float property

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

The element floats to the left of its container

A

Left

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

The element floats to the right of its container

A

Right

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

Element does not float. Default.

A

None

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

Inherits float value of its parent.

A

Inherit

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

specifies the type of positioning method used for an element

A

position property

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

An element with ____ is not positioned in any special way; it is always positioned according to the normal flow of the page. Default.

A

Static or position: static;

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

An element with ____ is positioned relative to its normal position.

A

Relative or position: relative;

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

An element with ____ is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled.

A

Fixed or position: fixed;

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

An element with ____ is positioned relative to the nearest positioned ancestor.

A

Absolute or position: absolute;

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

An element with ___ is positioned based on the user’s scroll position.

A

Sticky or position: sticky;