Why can't the

tag contain a

tag inside it?

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

As far as I know, this is right:

some words

But this is wrong:

&l

5条回答
  •  耶瑟儿~
    2020-11-21 23:01

    After the X HTML, the conventions has been changed, and now it's a mixture of conventions of XML and HTML, so that is why the second approach is wrong and the W3C validator accepts the things correct that are according to the standards and conventions.

提交回复
热议问题