A Block element has the following characteristics:
- Forms a block and positions itself vertically underneath with a new empty line above and under
- Takes all the available width based on the measure of its parent element
- Its height changes in rapport to its content
- Can contains other inline and/or block elements
- Via css, we can impost a fixed width and/or height
- Positions itself horizontally inline with the rest of the content of its parent element
- Takes the minimum width and height in rapport to its content
- Can contains ONLY other inline elements
- Via css, we can NOT impost fixed measure
Walang komento:
Mag-post ng isang Komento