Font Awesome Times (X) (Cancel, Error, Multiply,Cross)

The Font Awesome Times (X) icon is a simple cross or X shape. The times icon can be used to indicate closing, deleting, or canceling something on a web page. To use the times icon, you need to add the following HTML code to your web page: 'fa fa-times' for version 4, 'fas fa-times' for version 5. The Font Awesome Times icon also symbolizes a cross, multiplication, and x-markThis font awesome icon is also known as "fa-Times" .

Fontawesome Version 4.X

times

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

times

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

times

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

times

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

times

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


Fontawesome Version 5.X

times

<i class='fas fa-times'></i>

times

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

times

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

times

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

times

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

How to add Font Awesome times Icon ?

Font Awesome Icon fa fa times 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-times'></i>
Icon Code -
fa fa-times

HTML Code

Get complete html code for icon times

                    
                    <!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-times'></i>
                        </body>
                    </html>                    

Tags

enlarge,expand,generate,spread,add,aggregate,compound,cube,double,extend,manifold,mount,multiply,multiple times,xmark,x,cross,cancel,Error,Delete,close

Change Font Awesome Icon Times 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-times blue-color'></i> <i class='fa fa-times green-color'></i> <i class='fa fa-times teal-color'></i> <i class='fa fa-times yellow-color'></i> <i class='fa fa-times 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

Times Icon Font Awesome - FAQs

⭐What is the Font Awesome Times Icon code?

Icon Code is - fa fa-times.

⭐ What does the fa fa-times Icon mean?

fa fa-times is the Icon code of Font Awesome Times.

⭐ Can we add fa fa-times Icon in different sizes?

Yes, you can Icon of fa fa-times in various pixels.

⭐ How to add a Blue color Font Awesome Times Icon?

Add the blue color Times icon of the font awesome by using code: fa fa-times style='color: blue;'.

⭐ How to make white color icon of a Font Awesome Times?

To change the Times icon to white color use code: fa fa-times style='color: white;'.

Advertisements



Advertisements



Looking For More Icons?