哪些字符可以用于向上/向下三角形(箭头没有词干)用于在HTML中显示? [英] What characters can be used for up/down triangle (arrow without stem) for display in HTML?
问题描述
我正在寻找 HTML 或 ASCII 字符,这是一个向上或向下的三角形,以便我可以将其用作切换开关。
我发现↑ (& uarr;
)和↓ (& darr;
) - 但那些词干很窄。我正在寻找HTML箭头head。
Unicode箭头正面:
- ▲ - U + 25B2黑色向上三角
- ▼ - U + 25BC黑色向下三角形
- ▴ - U + 25B4小型黑色向上三角形>
对于▲和▼,请使用
▲
和▼
,如果你不能直接包含Unicode字符(使用UTF-8!)。
请注意,较小版本的字体支持并不理想。更好地使用较小字体的大版本。
更多Unicode箭头位于:
- http://en.wikipedia.org/wiki/Arrow_%28symbol% 29#Arrows_in_Unicode
- http://en.wikipedia .org / wiki / Geometric_Shapes
最后,这些箭头不是ASCII,包括↑和↓:它们是Unicode。
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".解决方案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:
- http://en.wikipedia.org/wiki/Arrow_%28symbol%29#Arrows_in_Unicode
- http://en.wikipedia.org/wiki/Geometric_Shapes
Lastly, these arrows are not ASCII, including ↑ and ↓: they are Unicode.
这篇关于哪些字符可以用于向上/向下三角形(箭头没有词干)用于在HTML中显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!