问题
Is it possible to use a Font Awesome icon as a favicon icon? You know, the little icon that appears along-side a website title in the browser tab?
回答1:
Yes, it is. Just take a screenshot of something with the desired character, cut the part you want and save it as an image (.ico).
Seriously now, you may want to check the formats supported by each browser: http://en.wikipedia.org/wiki/Favicon#File_format_support
If your characters are image or vector files, you'll be ok with most browsers but IE (because MS hates you). Otherwise, well, you'll really have to save them as images first.
回答2:
EDIT: I suggest you use http://gauger.io/fonticon
I've created an online Font Awesome Favicon Generator to do just that!
See Font Awesome Favicon Generator.
回答3:
I've also created an online Font Awesome Favicon Generator which has additional features that were missing from Paul Ferrett's solution.
- preview of favicon live in browser
- sizing of the icon
- transparent icon and background
- huge image size (icon can be as detailed as you want)
- iconset can be updated via github pull request
- update 06/2017 update to Font Awesome 4.7
- update 06/2017 fuzzy search and keyword search
- update 09/2017 stacked icons
- update 06/2018 update to Font Awesome 5.0.13
- update 11/2018 update to Font Awesome 5.5.0
- update 04/2019 update to Font Awesome 5.8.1
- update 04/2019 added support for Font Awesome Pro!
If you want additional features please feel free to submit an issue or a pull request here.
回答4:
Any image can be uploaded to a favicon generator site such as
http://favicon-generator.org/
or
http://www.favicon.cc/
follow the online instructions on the site you choose. Its usually just a three step process. Save the favicon in the top level of your site.
For compatibility across browsers I recommend always using images for favicons. Even if some sites you create are only for modern browsers still convert your favicon artwork to an image. Consistently using the same process gives you one less thing to worry about.
回答5:
It is not possible that you can use direct awesome font character as favicon without converting into image. You must convert character into image ..
来源:https://stackoverflow.com/questions/18156240/use-font-awesome-icon-as-favicon