Font Awesome
- Font Awesome - Medical Icons
- Font Awesome - Brand Icons
- Font Awesome - Video Player Icons
- Font Awesome - Directional Icons
- Font Awesome - Text Editor Icons
- Font Awesome - Currency Icons
- Font Awesome - Chart Icons
- Font Awesome - Payment Icons
- Font Awesome - Form Control Icons
- Font Awesome - Spinner Icons
- Font Awesome - File Type Icons
- Font Awesome - Gender Icons
- Font Awesome - Transportation Icons
- Font Awesome - Hand Icons
- Font Awesome - Web Icons
- Font Awesome Icons
Material Icons
- Material - Toggle Icons
- Material - Social Icons
- Material - Notification Icons
- Material - Navigation Icons
- Material - Maps Icons
- Material - Image Icons
- Material - Hardware Icons
- Material - File Icons
- Material - Editor Icons
- Material - Device Icons
- Material - Content Icons
- Material - Communication Icons
- Material - AV Icons
- Material - Alert Icons
- Material - Action Icons
- Material Icons
Bootstrap Glyphicons
Web Icons Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Font Awesome Icons
Font Awesome icons pbrary provides 519 free scalable vector icons. This pbrary is completely free for both personal and commercial use. Originally designed for Bootstrap, these icons can be customized easily.
Loading the Font Library
To load the Font Awesome pbrary, copy and paste the following pne in the <head> section of the webpage.
<head> <pnk rel = "stylesheet" href = "http://cdnjs.cloudflare.com/ajax/pbs/font-awesome/4.3.0/css/font-awesome.min.css"> </head>
Using the Icon
Font Awesome provides several icons. Choose one of them and add the name of the icon class to any HTML element within the <body> tag. In the following example, we have used the icon of the Indian currency.
<html> <head> <pnk rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/pbs/font-awesome/4.3.0/css/font-awesome.min.css"> </head> <body> <i class = "fa fa-inr"></i> </body> </html>
It will produce the following output −
Defining the Size
You can increase or decrease the size of an icon by defining its size using CSS and using it along with the class name, as shown below. In the given example, we have declared the size as 6 em.
<html> <head> <pnk rel = "stylesheet" href = "http://cdnjs.cloudflare.com/ajax/pbs/font-awesome/4.3.0/css/font-awesome.min.css"> <style> i.mysize {font-size: 10em;} </style> </head> <body> <i class = "fa fa-inr mysize"></i> </body> </html>
It will produce the following output −
Defining the Color
Just pke size, you can define the color of the icons using CSS. The following example shows how to change the color of the Indian currency icon.
<html> <head> <pnk rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/pbs/font-awesome/4.3.0/css/font-awesome.min.css"> <style> i.custom {font-size: 6em; color: red;} </style> </head> <body> <i class = "fa fa-inr custom"></i> </body> </html>
List of Categories
Font Awesome provides 519 icons in the following categories −
Web Apppcation Icons
Hand Icons
Transportation Icons
Gender Icons
File Type Icons
Spinner Icons
Form Control Icons
Payment Icons
Chart Icons
Currency Icons
Text editor Icons
Directional Icons
Video Player Icons
Brand Icons
To use any of these icons, you have to replace the class name in the programs given in this chapter with the class name of the desired icon. In the coming chapters of this Unit (Font Awesome), we have explained category-wise the usage and the respective outputs of various Font Awesome icons.
Advertisements