Second Quarter of Exam Deck Flashcards

1
Q

Relative vs Absolute measurement systems

A
  • Absolute length units are fixed and will always appear at that size.
  • Relative length units specify a length relative to another property.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Ordered list vs Unordered list

A
  • An ordered list is a list in which items are numbered or lettered.
  • An unordered list is a list in which items have no specific order
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name the list styles for ordered list

A
  • Decimal
  • Lower-roman
  • Upper-roman
  • lower-alpha
  • upper-alpha
  • None
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name the list styles for unordered list

A
  • disc
  • circle
  • square
  • none
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain a description list

A

The default appearance is that each pair takes 2 lines:
* Term (name) on first line
* Description (value) indented on second line

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

List off the Pseudo-classes

A
  • a:link
  • a:visited
  • a:hover
  • a:active
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Relative Positioning?

A

An element with position : relative; is positioned relative to its normal position in the line of flow.

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

What is Fixed Positioning?

A

An element with position : fixed; is positioned relative to the viewport, which mean it always stays in the same location, even if the page is scrolled.

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

What is Float?

A

Floats can be useful to allow content to flow around a smaller floating element (like an image for an article).

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

What is Clear?

A

The clear property specifies on which sides of an element floating elements are not allowed to float.

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

What is z-order?

A

When using positioning it is possible to stack overlapping items into the same space.

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

What is Multi-Column Layout?

A

You can use Relative or Absolute positioning to create multicolumn layouts.

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

List the HTML table elements.

A
  • <table>: start and end of table
  • <thead>: marks the header rows of a table
  • <tbody>: marks the rows that make up the body of the tbale
  • <tfoot>: marks footer rows of the table
  • <tr>: groups cells into rows
  • <th>: content of a header cell
  • <td>: content of a data cell
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Explain Colspan

A

The colspan attribute is used to span a cell across multiple columns.

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

Explain Rowspan

A

The rowspan attribute is used to span a cell across multiple rows

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

Explain Colgroup

A

The HTML <colgroup> element is a structural element which allows you to group columns.

17
Q

What is display: flex?

A

By defining the parent container to display: flex , we set up each child element of that container to be elements of the grid.

18
Q

What are the values for flex-direction?

A
  1. column - stack item vertically (top to bottom)
  2. column-reverse - stacks vertically (bottom top top)
  3. row - stacks items horizontally (left to right)
  4. row-reverse - stacks items horizontally (right to left)
19
Q

What are the values for flex-wrap?

A
  1. wrap
  2. nowrap
  3. wrap-reverse