HTML: What's the correct form of BR?

后端 未结 8 1762
生来不讨喜
生来不讨喜 2021-01-17 07:52

How is correct to write the br tag in html?


or


or anyt

8条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-17 08:09

    In HTML (up to version 4) it's
    And in XHTML it's
    because the tag has to be properly closed with an /

    HTML5
    is the best option.

提交回复
热议问题