Html - Block Level Elements Inside Inline Elements - Stack Overflow
Có thể bạn quan tâm
This question already has answers here: Is it wrong to change a block element to inline with CSS if it contains another block element? (9 answers) Closed 10 years ago.
The W3C Validator tells me I can't put block-level elements inside inline elements. Makes sense...
but what if I'm using CSS to change that block-level element into an inline element?
And what if I'm using CSS to convert an inline element into a block-level element (when inside another inline element)?
The Validator doesn't pick up on this obviously, but is it wrong?
(I'm not actually doing this, I'm just wondering about best-practice)
Từ khóa » Html Block Element Inside Inline
-
HTML's Block Vs Inline Elements: What They Don't Tell You | Codementor
-
HTML Block And Inline Elements - W3Schools
-
Inline Elements - HTML: HyperText Markup Language | MDN
-
In HTML, Is It Ok To Put A Block Element Inside An Inline Element?
-
Block And Inline Elements
-
Block And Inline Elements
-
Block Element Inside Inline Element - HTML 5
-
Inline Elements And Block Elements In HTML - Explained
-
OK To Wrap Block Elements Inside Inline? (Example) - Treehouse
-
Inline, Block, And Display - CSS Video Tutorial - LinkedIn
-
Block And Inline Elements In HTML · Front End Web Development
-
CSS Inline Vs Inline-Block Vs Block
-
Inline Vs Inline-block Vs Block - DEV Community
-
Basic HTML: Block-level, Inline, And Organizational Elements