Font Awesome File Alt Icon (Alternate File, Document, Folder)

The Font Awesome File Alt icon represents data files, documents, or media files. This icon, also referred to as 'fa-File Alt,' is available in version 5 and can be accessed by the class name 'fas fa-file-alt'


Fontawesome Version 5.X

file alt

<i class='fas fa-file-alt'></i>

file alt

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

file alt

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

file alt

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

file alt

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

How to add Font Awesome file alt Icon ?

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

HTML Code

Get complete html code for icon file alt

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
                       </head>
                        <body>
                        <i class='fas fa-file-alt'></i>
                        </body>
                    </html>                    

Tags

alternate file,document,file,folder

Change Font Awesome Icon File alt 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='fas fa-file-alt blue-color'></i>
      <i class='fas fa-file-alt green-color'></i>
      <i class='fas fa-file-alt teal-color'></i>
      <i class='fas fa-file-alt yellow-color'></i>
      <i class='fas fa-file-alt 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://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">            
            

Advertisements



Advertisements



Looking For More Icons?