Putting a block level element inside a

element

前端 未结 2 930
无人及你
无人及你 2021-01-14 08:00

I know that

is to be used specifically with inline elements. But what if you change an inline element like into a block-leve

2条回答
  •  走了就别回头了
    2021-01-14 08:38

    It's HTML5 valid and it's not that bad in certain situations e.g.

    This is some text I am a pizza and this is some more text...

    .highlight { background: yellow; }

提交回复
热议问题