Font Awesome File Text ( Notepad, Document, Doc)

In this tutorial, we will learn how to use the Font Awesome file text icon , which is used for notepad, document, doc. This icon is also known as file text we will learn how to modify its color, font size and animation in try it editor

Fontawesome Version 4.X

file text

<i class='fa fa-file-text'></i>

file text

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

file text

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

file text

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

file text

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

How to add Font Awesome file text Icon ?

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

HTML Code

Get complete html code for icon file text

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

Tags

doc,Files ,folders,notepad,document, format

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

File Text Icon Font Awesome - FAQs

⭐What is the Font Awesome File Text Icon code?

Icon Code is - fa fa-file-text.

⭐ What does the fa fa-file-text Icon mean?

fa fa-file-text is the Icon code of Font Awesome File Text.

⭐ Can we add fa fa-file-text Icon in different sizes?

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

⭐ How to add a Blue color Font Awesome File Text Icon?

Add the blue color File Text icon of the font awesome by using code: fa fa-file-text style='color: blue;'.

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

To change the File Text icon to white color use code: fa fa-file-text style='color: white;'.

Advertisements



Advertisements



Looking For More Icons?