℡Wang Yan 2010-04-23 18:51 采纳率: 50%
浏览 300
已采纳

什么字符可以用于上 / 下三角形(箭头没有干)显示在 HTML?

I'm looking for a HTML or ASCII character which is a triangle pointing up or down so that I can use it as a toggle switch.

I found ↑ (↑), and ↓ (↓) - but those have a narrow stem. I'm looking just for the HTML arrow "head".

转载于:https://stackoverflow.com/questions/2701192/what-characters-can-be-used-for-up-down-triangle-arrow-without-stem-for-displa

  • 写回答

15条回答 默认 最新

  • 胖鸭 2010-04-23 18:57
    关注

    Unicode arrows heads:

    • ▲ - U+25B2 BLACK UP-POINTING TRIANGLE
    • ▼ - U+25BC BLACK DOWN-POINTING TRIANGLE
    • ▴ - U+25B4 SMALL BLACK UP-POINTING TRIANGLE
    • ▾ - U+25BE SMALL BLACK DOWN-POINTING TRIANGLE

    For ▲ and ▼ use ▲ and ▼ respectively if you cannot include Unicode characters directly (use UTF-8!).

    Note that the font support for the smaller versions is not as good. Better to use the large versions in smaller font.

    More Unicode arrows are at:

    Lastly, these arrows are not ASCII, including ↑ and ↓: they are Unicode.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(14条)

报告相同问题?