CSS icons
Icons can be defined as the images or symbols used in any computer interface refer to an element. It is a graphical representation of a file or program that helps the user to identify about the type of file quickly.
Using the icon library is the easiest way to add icons to our HTML page. It is possible to format the library icons by using CSS. We can customize the icons according to their color, shadow, size, etc.
There are given some of the icon libraries such as Bootstrap icons, Font Awesome icons, and Google icons that can be used in CSS easily. There is no need to install or download the libraries mentioned above.
Let’s discuss the above-mentioned libraries of icons.
Font Awesome icons
To use this library in our HTML page, we need to add the following link within the <head></head> section.
Let’s understand it with an illustration.
Example
Bootstrap icons
As similar to the font awesome library, we can add the bootstrap icons in our HTML page using the link given below in the <head></head> section.
Example
Google icons
As similar to the above libraries, we can add it in our HTML page simply by adding the link given below in the <head></head> section.
Example
Example