Here i have explained how to use Font Awesome icons in web pages.

Step1: copy the following HTML Markup and paste it inside body tag.

HTML Markup

<i class="fa fa-car"></i>
<i class="fa fa-car" style="font-size:48px;"></i>
<i class="fa fa-car" style="font-size:60px;color:red;"></i>

Step2: attach the following CSS file inside head tag.

CSS File

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

Screenshot

Add Comments