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'>            
            

Advertisements



Advertisements



Looking For More Icons?