In HTML5, can the
and
tags appear outside of the <body> tag?

后端 未结 8 1495
梦谈多话
梦谈多话 2020-12-01 07:12

I\'m currently using the above tags in this way (classic tag order):


  ...
  
    
...
8条回答
  •  一向
    一向 (楼主)
    2020-12-01 08:01

    Even though the and tags aren't required, the elements are still there - it's just that the browser can work out where the tags would have been from the rest of the document.

    The other elements you're using still have to be inside the

提交回复
热议问题