Why can't the

tag contain a

tag inside it?

前端 未结 5 2044
小蘑菇
小蘑菇 2020-11-21 22:09

As far as I know, this is right:

some words

But this is wrong:

&l

5条回答
  •  说谎
    说谎 (楼主)
    2020-11-21 22:49

    In short, it is impossible to place a

    element inside a

    in the DOM because the opening

    tag will automatically close the

    element.

提交回复
热议问题