2 Years of Cal ID Pro — FREE (#1   Free Calendly Alternative)

Team features worth $1440 free
12
Days
:
23
Hrs
:
41
Mins
:
06
Secs
100% OFF
Teams
$0
$1,440 Value
  • Remove "Powered By" Branding
  • Unlimited Everything
  • Accept Payments
Get Access Now

No credit card required

Font Awesome Flag (Country, Indian Flag )

Font Awesome Flag Icon refers to a piece of cloth that has a pattern or image, often tied to a pole (flag) or rope and used as a symbol or sign of a country, club, etc. This font awesome icon is also known as "fa-Flag" or "fa fa Flag".

Fontawesome Version 4.X

flag

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

flag

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

flag

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

flag

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

flag

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


Fontawesome Version 5.X

flag

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

flag

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

flag

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

flag

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

flag

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

Fontawesome Version 6.X

flag

Web

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

React

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

Vue

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

flag

Web

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

React

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

Vue

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

flag

Web

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

React

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

Vue

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

flag

Web

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

React

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

Vue

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

flag

Web

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

React

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

Vue

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

FA Regular flag Version 6.X

px Enter Size
Color Code
HTML
<i class="fa-regular fa-flag"></i>

How to add Font Awesome flag Icon ?

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

HTML Code

Get complete html code for icon flag

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

Tags

country,indian flag

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