why
and not
?

前端 未结 13 1045
天涯浪人
天涯浪人 2020-12-29 05:29

This is one of those things that you read once, say \"aha!\" and then forget. Exactly my case.

Why is the line-break tag in xhtml preferentially written with a space

13条回答
  •  -上瘾入骨i
    2020-12-29 05:56

    Some older browsers didn't parse the element correctly without the space, so most web developers use
    . I don't remember which browsers offhand, but I believe they're just about extinct.

    EDIT: The browser was Netscape 4.

提交回复
热议问题