CSS 搜索图标的 HTML 实体是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/22202890/
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
What is the HTML entity for a search icon?
提问by Susan
I'm trying to put a search icon in the navigation bar of my webpage but I'm not willing to use image for the purpose. Is there a HTML entity for a search icon used in search engines or search bars in different websites. I know most of them use images but is there any HTML entity for it?
我试图在我的网页的导航栏中放置一个搜索图标,但我不愿意为此使用图像。是否有用于搜索引擎或不同网站搜索栏的搜索图标的 HTML 实体。我知道他们中的大多数都使用图像,但是否有任何 HTML 实体?
Thanks in advance.
提前致谢。
EDIT: I am providing the code
编辑:我提供代码
<li><a href="#search"> **SearchIconEntityToPutHere** </a>
<ul>
<li><form id="searchbar">
<input type="text">
</form></li>
</ul>
</li>
回答by Dissident Rage
HTML
HTML
Use 🔍
for