Font Awesome Close Icon (Remove, Reset, Delete)

Font Awesome close icon can be used to represent actions such as closing, deleting, removing, resetting, clearing, canceling, or exiting. If you want to edit or customize this close icon, utilize the 'Try It' editor to change its color, size, and animation.

Fontawesome Version 4.X

close

<i class='fa fa-close'></i>

close

<i class='fa fa-close' style='color: white'></i>

close

<i class='fa fa-close' style='color: red'></i>

close

<i class='fa fa-close' style='color: blue'></i>

close

<i class='fa fa-close' style='color: #f3da35'></i>
Try it Yourself

How to add Font Awesome close Icon ?

Font Awesome Icon fa fa close Icon can be added to any web page simply as below. You can integrate Icon in web pages by just adding following below syntax & icon code.

Icon -
<i class='fa fa-close'></i>
Icon Code -
fa fa-close

HTML Code

Get complete html code for icon close

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
                       </head>
                        <body>
                        <i class='fa fa-close'></i>
                        </body>
                    </html>                    

Tags

Remove,Reset,delete

Change Font Awesome Icon Close Color

Sometimes we need icons in different color, as we suggested by adding css style we can change color. Here we have created one example to change color of icons with css classes.


    <style>
    .blue-color {
        color:blue;
    }
     
    .green-color {
        color:green;
    }
     
    .teal-color {
        color:teal;
    }
     
    .yellow-color {
    color:yellow;
    }
    
    .red-color {
        color:red;
    }
   </style>
    
     <i class='fa fa-close blue-color'></i>
      <i class='fa fa-close green-color'></i>
      <i class='fa fa-close teal-color'></i>
      <i class='fa fa-close yellow-color'></i>
      <i class='fa fa-close red-color'></i>
      

Output of the above example will be as below-


Note- Make Sure You have included the below Font Awesome file in header-
            
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>            
            
Related Icons

Advertisements



Advertisements



Looking For More Icons?