HTML 5: Is it
,
, or
?

后端 未结 29 3828
滥情空心
滥情空心 2020-11-22 00:26

I\'ve tried checking other answers, but I\'m still confused — especially after seeing W3schools HTML 5 reference.

I thought HTML 4.01 was supposed to \"allow\" singl

29条回答
  •  Happy的楠姐
    2020-11-22 00:43


    works just fine. The stricter versions like XHTML require you to add the closing, and really old versions of HTML that do not include a DOCTYPE make
    a non-void tag, like

    .

    Sum up:
    is fine. Other ones are also just fine.

提交回复
热议问题