网站地址栏图形
如何显示地址栏旁边的图形? 我有一个非常简单的网站,我想制作一个自定义图像,并在用户访问我的网站时显示它。 谢谢
How do you get the graphic that is next to the address bar show up?
I have a very simple site, and I want to make a custom image, and have it show up when a user is on my site.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
将 16x16 favicon.ico 文件放置在网站根目录中。
您可以生成任意数量的图形编辑程序(包括绘画)中的一个。
http://www.photoshopsupport.com/tutorials/jennifer/favicon.html
Place a 16x16 favicon.ico file in your websites root directory.
You can produce one in any number of graphic editing programs (including paint).
http://www.photoshopsupport.com/tutorials/jennifer/favicon.html
我在维基百科上找到了这个,它似乎很好地描述了您所要求的内容:
http://en.wikipedia。 org/wiki/Favicon
I found this on wikipedia, which seems to well describe what you are asking:
http://en.wikipedia.org/wiki/Favicon
您需要的是 favicon.ico 文件,请查看 wikipedia 文章了解更多详细信息。
还有许多的在线生成器就在那里。 有关更多信息,请参阅 Google =)
favicon.ico 文件也用于当用户为您的网站添加书签时,某些浏览器会执行此操作。
What your after is a favicon.ico file, check out the wikipedia article for more details.
There are also a number of online generators out there. See Google for more =)
favicon.ico files are also used by some browsers when a user bookmarks your site.
制作一个方形图像并按照您想要的方式对其进行编辑。 确保没有添加任何小细节。 接下来,转到 http://www.favicon.cc.com/ 。 该站点会将您的图像转换为受支持的 .ico 格式。 将文件重命名为 favicon.ico 并将其放入站点的根目录中。 您的浏览器中现在应该有一个网站图标。
Make a square image and edit it the way that you want. Make sure that you don't add any small details. Next, go to http://www.favicon.cc.com/ . This site will convert your image to a supported .ico format. Rename the file favicon.ico and put it in the root directory of your site. You should have a favicon in your browser now.
该图标是一个网站图标,如果需要,您必须将文件上传到您的网站。 但如果您想让您的网站图标在所有浏览器中正常工作,您将必须添加 10 个以上大小和格式正确的文件。
我和我的朋友为此创建了一个应用程序! 您可以在 faviconit.com 中找到它。
我们这样做了,因此人们不必创建所有这些图像和正确的标签手工创建所有这些曾经让我很烦恼!
生成的文件附带了有关如何处理这些文件的简短说明。 我们会做得更好,但这只是一个开始。
希望能帮助到你!
This icon, is a favicon, and you have to upload a file to your site if you want it. But if you want to make your favicon work in all browsers properly, you will have to add more than 10 files in the correct sizes and formats.
My friend and I have created an App just for this! you can find it in faviconit.com
We did this, so people don´t have to create all these images and the correct tags by hand, create all of them used to annoy me a lot!
The file generated comes with a small explanation on what to do with the files. We will make it better, but it's a start.
Hope it helps!