Home > front end >  The difference between the inline elements and block-level elements
The difference between the inline elements and block-level elements

Time:10-17

Inline elements wide high void and the length of the height mainly according to the decision, inline elements not dominant in a line, the adjacent inline elements will be arranged in the same row, until a line not line,
-- -- -- -- -- displan: inline



Block-level elements will be dominant in one line, the width of the automatic filling parents element width, block-level elements even, and the width is still dominant in one line,
Display: blick

CodePudding user response:

Wrong number, block-level element is display: block
  • Related