“高”右 V 字形的 HTML unicode 字符是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14298413/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 04:55:39  来源:igfitidea点击:

What is the HTML unicode character for a "tall" right chevron?

htmlcssunicodefonts

提问by ModernDesigner

I am looking for a unicode right chevron character, with no handle on the left, and I would like the top point and bottom point to be spread far apart. Similar to Ubuntu's (website) arrow in the search box.

我正在寻找一个 unicode 右 V 字形字符,左侧没有手柄,我希望顶点和底点相距很远。类似于搜索框中的 Ubuntu(网站)箭头。

I don't want »(») or →(→) or simply >. The problem with the first is there are two chevrons, not just one. The other one is way too small and has a handle. The third one has a vertex that is too acute.

我不想要»(») 或→(→) 或简单的>. 第一个的问题是有两个 V 形,而不仅仅是一个。另一个太小了,有一个把手。第三个有一个太尖锐的顶点。

I have looked at just about every unicode chart there is, and if there is none, then I'll just have to use an image (like Ubuntu). I'll deal with it, but that is a last resort.

我已经查看了几乎所有的 unicode 图表,如果没有,那么我只需要使用一个图像(如 Ubuntu)。我会处理它,但这是最后的手段。

Any help would be much appreciated!

任何帮助将非常感激!

回答by Tieson T.

Use '?'

用 '?'

›-> single right angle quote. For single left angle quote, use ‹

›-> 单直角引号。对于单左角引号,请使用‹

回答by Jukka K. Korpela

From the description and from the reference to the search box in the Ubuntusite, I gather that you actually want an arrowheadcharacter pointing to the right. There are no Unicode characters designed to be used as arrowheads, but some of them may visually resemble an arrowhead.

从描述和对Ubuntu站点中搜索框的引用,我认为您实际上想要一个指向右侧的箭头字符。没有设计用作箭头的 Unicode 字符,但其中一些在视觉上可能类似于箭头。

In particular, if you draw your idea of the character at Shapecatcher.com, you will find many suggestions, such as “?” RIGHT-POINTING ANGLE BRACKET' (U+232A) and “?” MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT (U+276D).

特别是,如果你在Shapecatcher.com 上画出你对角色的想法,你会发现很多建议,比如“?” 直角支架' (U+232A) 和“?” 中号直角支架装饰品 (U+276D)。

Such characters generally have limited support in fonts, so you would need to carefully write a longish font-familylist or to use a downloadable font. See my Guide to using special characters in HTML.

此类字符通常对字体的支持有限,因此您需要仔细编写一个较长的font-family列表或使用可下载的字体。请参阅我在 HTML 中使用特殊字符的指南

Especially if the intended use is as a symbol in a search box, as the reference to the Ubuntu page suggests, it is questionable whether you should use a character at all. It's not really an element of text here; rather, a graphic symbol that accompanies text but isn't a part of it. So why take all the trouble with using a character (safely), when it isn't really a character?

特别是如果预期用途是作为搜索框中的符号,正如对 Ubuntu 页面的引用所暗示的那样,您是否应该使用字符是值得怀疑的。这里并不是真正的文本元素;相反,它是伴随文本但不是文本的一部分的图形符号。那么,当一个角色不是真正的角色时,为什么还要(安全地)使用一个角色呢?

回答by Mac

I use ? (0x25B8) for the right arrow, often to show a collapsed list; and I pair it with ? (0x25BE) to show the list opened up. Both are unobtrusive.

我用 ?(0x25B8) 为右箭头,通常显示折叠列表;我和它配对?(0x25BE) 显示打开的列表。两者都不显眼。