CSSNo Comments

default thumbnail

We use a lot of icons for designing your websites. For using the icons, font awesome is very simple and attractive way. Here is how download and use font awesome icons in your website.

How to use

Font awesome can be locally stored or we can use font awesome cdn. You have to place link in head section as we include css file.

<linl href="your file path/css/all.css" rel="stylesheet"> //In href, you have to put path where you have stored font awesome folder. 

//Place below code where you want to show icon
<i class="fa fa-envelope"></i>   // font awesome code for email icon

//You have to change fa-envelope for other icons

Download Font Awesome

Use the below link to download font awesome. 

<a href="https://use.fontawesome.com/releases/v5.12.0/fontawesome-free-5.12.0-web.zip">Download Font Awesome</a>

CDN Font Awesome

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

Just place cdn link in <head></head>. CDN is a good way to use font awesome.

Be the first to post a comment.

Add a comment