Is it valid to have a
tag inside another
tag?

后端 未结 3 1652
南方客
南方客 2020-12-23 13:03

Are

tags allowed to be included within another
tag? Will it validate in HTML5?

3条回答
  •  [愿得一人]
    2020-12-23 13:31

    Yes! w3 encourages you to explicitly wrap sections in elements of sectioning content, instead of relying on the implicit sections generated by having multiple headings in one element of sectioning content and nested

    's are allowed.

提交回复
热议问题