HTML 5: Is it
,
, or
?

后端 未结 29 3230
滥情空心
滥情空心 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条回答
  •  隐瞒了意图╮
    2020-11-22 00:34

    As many others have covered, both
    and
    are acceptable.

    I guess the tradeoff is the better readability and backward compatibility of
    versus sending one less character to the end users with
    .

    And since Google uses
    so will I.

    (Of course keep in mind that they might be serving me
    because I'm using Chrome which they know supports it. In IE they might still be serving
    )

提交回复
热议问题