level elements Flashcards
1
Q
two types of level elements
A
inline and block
2
Q
block element
A
start on new line
3
Q
inline element
A
do not start on new line, start’s next to each other
4
Q
examples of block level elements (4)
A
div, headers, paragraphs, ordered/unordered list
5
Q
examples of inline level elements (6)
A
span, anchor, button, b, I, img
6
Q
span vs div
A
span: inline
div: block
span: markup or wrap specific part of text line so you can style differently than rest of line
div: groups elements together. can make inline elements start on new line