CSS Display Flashcards
1
Q
What are some characteristics of block?
A
- It displays an element as a block element (like < p >, < div >).
- It starts on a new line, and takes up the whole width.
2
Q
What are some characteristics of inline?
A
- Displays an element as an inline element (like < span >).
- Any height and width properties will have no effect.
3
Q
What are some characteristics of inline-block?
A
- Displays an element as an inline-level block container.
- The element itself is formatted as an inline element, but you can apply height and width values.