Font Awesome Ban Icon (Prohibited, Not Allowed, Disallow)

The Font Awesome Ban Icon is used to indicate prohibition or that something is not allowed. This Font Awesome icon is also known as 'fa ban.' It is available in all three versions: 'fa fa-ban' for version 4, 'fas fa-ban' for version 5, and 'fa-solid fa-ban' for version 6.

Fontawesome Version 4.X

ban

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

ban

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

ban

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

ban

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

ban

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


Fontawesome Version 5.X

ban

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

ban

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

ban

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

ban

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

ban

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

Fontawesome Version 6.X

ban

Web

<i class='fa-solid fa-ban'></i>

React

<FontAwesomeIcon icon="fa-solid fa-ban" />

Vue

<font-awesome-icon icon="fa-solid fa-ban" />

ban

Web

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

React

<FontAwesomeIcon icon="fa-solid fa-ban" style={{color: 'white'}} />

Vue

<font-awesome-icon icon="fa-solid fa-ban" :style="{color: 'white'}" />

ban

Web

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

React

<FontAwesomeIcon icon="fa-solid fa-ban" style={{color: 'red'}} />

Vue

<font-awesome-icon icon="fa-solid fa-ban" :style="{color: 'red'}" />

ban

Web

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

React

<FontAwesomeIcon icon="fa-solid fa-ban" style={{color: 'blue'}} />

Vue

<font-awesome-icon icon="fa-solid fa-ban" :style="{color: 'blue'}" />

ban

Web

<i class='fa-solid fa-ban' style='color: #f3da35'></i>

React

<FontAwesomeIcon icon="fa-solid fa-ban" style={{color: '#f3da35'}} />

Vue

<font-awesome-icon icon="fa-solid fa-ban" :style="{color: '#f3da35'}" />
Try it Yourself

How to add Font Awesome ban Icon ?

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

HTML Code

Get complete html code for icon ban

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

Tags

false,not allowed, block

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

Ban Icon Font Awesome - FAQs

⭐What is the Font Awesome Ban Icon code?

Icon Code is - fa fa-ban.

⭐ What does the fa fa-ban Icon mean?

fa fa-ban is the Icon code of Font Awesome Ban.

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

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

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

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

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

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

Advertisements



Advertisements



Looking For More Icons?