24 ways: Displaying Icons with Fonts and Data- Attributes
Icon fonts offer a scalable, resolution-independent alternative to bitmap images for web icons, with excellent browser support dating back to Internet Explorer 4 and file sizes as small as 12KB. The approach allows easy CSS customization of color and effects, and can be implemented cleanly using either CSS-generated content or HTML5 data attributes combined with pseudo-selectors to keep markup minimal and semantic. However, icon fonts are limited to monochrome or gradient fills, require accompanying text for accessibility, and demand manual font creation for best results, making them most suitable for familiar, simple icons that don't require multi-color designs.