HTML code for an apostrophe

前端 未结 17 1062
独厮守ぢ
独厮守ぢ 2020-11-30 18:01

Seemingly simple, but I cannot find anything relevant on the web.

What is the correct HTML code for an apostrophe? Is it ?

17条回答
  •  无人及你
    2020-11-30 18:25

    Even though ' reads nicer than ' and it's a shame not to use it, as a fail-safe, use '.

    ' is a valid HTML 5 entity, however it is not a valid HTML 4 entity.

    Unless is at the top of your HTML document, use '

提交回复
热议问题