HTML: What's the correct form of BR?

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

How is correct to write the br tag in html?


or


or anyt

8条回答
  •  走了就别回头了
    2021-01-17 08:17


    .

    Here:

    Some of the most common errors in the usage of XHTML are:
    Not closing empty elements (elements without closing tags in HTML4)
    Incorrect: 
    Correct:
    Note that any of these is acceptable in XHTML:

    ,
    , and
    . Older HTML-only browsers interpreting it as HTML will generally accept
    and
    .

提交回复
热议问题