why
and not
?

前端 未结 13 1046
天涯浪人
天涯浪人 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条回答
  •  南方客
    南方客 (楼主)
    2020-12-29 06:02

    Both are correct. But I would use
    just to keep my code consistent... because I would never write

    
    

    instead of

    
    

    just to save a byte... and the second version is imho better readable. But that's just a matter of taste. Do it as you like, but do it consistent :-)

提交回复
热议问题