HTML 中的下角引号(? 和 ?)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12899548/
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
Down angled quote (? and ?) in HTML
提问by rickyduck
Possible Duplicate:
Does unicode or HTML have a vertical double guillemet (chevron)?
Is there a downwards facing alternative to «
and »
(?
and ?
respectively)?
«
和»
(?
和?
分别)是否有朝下的替代方案?
I have tried to find an answer elsewhere but to no avail. I assume css rotating the text is the only real answer.
我试图在别处找到答案,但无济于事。我认为 css 旋转文本是唯一真正的答案。
采纳答案by SDC
The short answer to your question is "No, there aren't."
对您的问题的简短回答是“不,没有。”
«
and »
are not actually intended as direction arrows, despite their frequent usage as such.
«
并且»
实际上并不打算作为方向箭头,尽管它们经常使用。
What they are actually intended for is hinted at by their entity names -- they're supposed to be "angled quotes".
它们的实际用途是由它们的实体名称暗示的——它们应该是“斜引号”。
Certain European countries (notably France) tend to use these characters for speech marks instead of the inverted-comma style quote marks that are more commonly used by the English speaking world, and that is what these characters are actually meant for -- see http://en.wikipedia.org/wiki/Guillemetfor more info.
某些欧洲国家(特别是法国)倾向于使用这些字符作为语音标记,而不是英语世界更常用的倒逗号样式引号,这就是这些字符的实际含义——请参见http: //en.wikipedia.org/wiki/Guillemet了解更多信息。
Given this, it's hardly surprising that there aren't any up and down arrow variants of them.
鉴于此,它们没有任何向上和向下箭头变体也就不足为奇了。
Feel free to use them as directional arrows (everyone else does, even if the semantics are questionable), but don't expect them to have every variant you might want, because they're not graphics; they're typographical characters.
随意将它们用作方向箭头(其他人都这样做,即使语义有问题),但不要指望它们具有您可能想要的所有变体,因为它们不是图形;它们是印刷字符。
I guess if you reallywant to, you could use CSS to rotate the existing left and right arrows by 90 degrees. I wouldn't suggest it as a good idea though.
我想如果你真的想要,你可以使用 CSS 将现有的左右箭头旋转 90 度。我不会建议它作为一个好主意。
回答by Stephan Muller
No, there are no vertical versions of those quotes. A good alternative might be these? ⇐ ⇑ ⇒ ⇓
不,这些报价没有垂直版本。一个好的选择可能是这些?⇐ ⇑ ⇒ ⇓
⇐ ⇑ ⇒ ⇓
⇐ ⇑ ⇒ ⇓
Else, rotating is indeed going to be a good option.
否则,旋转确实是一个不错的选择。
回答by Jaideep Singh
Using icon fonts might be another good option.
使用图标字体可能是另一个不错的选择。
Here's a popular one: http://fortawesome.github.com/Font-Awesome/
这是一个流行的:http: //fortawesome.github.com/Font-Awesome/
The icon you might be interested in: http://fortawesome.github.com/Font-Awesome/#icon/icon-chevron-down
您可能感兴趣的图标:http: //fortawesome.github.com/Font-Awesome/#icon/icon-chevron-down
回答by Jakub Wasilewski
I don't think there are such characters in Unicode (HTML has nothing to do here).
我认为 Unicode 中没有这样的字符(HTML 在这里无关)。
What do you intend to do with them? If the intended usage is for arrows, you can look here(for line-head arrows) and here(for triangles etc. which can be used as arrows). Those are lists of Unicode character that could be useful for you.
你打算对他们做什么?如果预期用途是用于箭头,您可以查看此处(用于线头箭头)和此处(用于可用作箭头的三角形等)。这些是可能对您有用的 Unicode 字符列表。