HTML for the Pause symbol in audio and video contr

2019-01-21 00:15发布

I'm trying to find the Unicode symbol to make a button display the Unicode pause symbol. I was able to find that the Unicode play symbol is &#9658 but I'm looking for the equivalent of the Unicode pause symbol.

10条回答
爷的心禁止访问
2楼-- · 2019-01-21 00:37

If you want one that's a single character to match the right-facing triangle for "play," try Roman numeral 2. Ⅱ is &#8545; in HTML. If you can put formatting tags around it, it looks really good in bold. is <b>&#8545;</b> in HTML. This has much better support than the previously mentioned double vertical bar.

查看更多
太酷不给撩
3楼-- · 2019-01-21 00:41

I found it, it’s in the Miscellaneous Technical block. ⏸ (U+23F8)

查看更多
▲ chillily
4楼-- · 2019-01-21 00:42

Following may come in handy:

  • &#x23e9;
  • &#x23ea;
  • &#x24eb;
  • &#x23ec;
  • &#x23ed;
  • &#x23ee;
  • &#x23ef;
  • &#x23f4;
  • &#x23f5;
  • &#x23f6;
  • &#x23f7;
  • &#x23f8;
  • &#x23f9;
  • &#x23fa;

NOTE: apparently, these characters aren't very well supported in popular fonts, so if you plan to use it on the web, be sure to pick a webfont that supports these.

查看更多
你好瞎i
5楼-- · 2019-01-21 00:43

Modern browsers support 'DOUBLE VERTICAL BAR' (U+23F8), too:

http://www.fileformat.info/info/unicode/char/23f8/index.htm

For a music player it can act as a companion for 'BLACK RIGHT-POINTING POINTER' (U+25BA) because they both share equal width and height making it perfect for a play/pause button:

http://www.fileformat.info/info/unicode/char/25ba/index.htm

查看更多
太酷不给撩
6楼-- · 2019-01-21 00:43

The ISO 7000 / IEC 60417 Symbol for Pause; Interruption is #5111B. See Media_Controls

查看更多
别忘想泡老子
7楼-- · 2019-01-21 00:44

I'm using ▐ ▌

HTML: &#9616;&nbsp;&#9612;

CSS: \2590\A0\258C

查看更多
登录 后发表回答