What's the HTML character entity for the # sign?

前端 未结 7 651
广开言路
广开言路 2021-02-06 20:28

What\'s the HTML character entity for the # sign? I\'ve looked around for \"pound\" (keeps returning the currency), and \"hash\" and \"number\", but what I try doesn\'t seem to

7条回答
  •  忘了有多久
    2021-02-06 21:18

    # is the best option because it is the only one that doesn't include the # (hash) in it. Supported by old browsers or not, it is the best practice going forward.

    (What is the point of encoding something using the same symbol you are encoding?)

提交回复
热议问题