Font Awesome Pencil Alt Icon - (Edit, Write, Pen)

The Font Awesome Pencil Alt icon, is associated with actions like editing, writing, and representing a pen. This icon is also referred to as fa-pencil-alt. You can also edit color, font size, style and animation in try it editor.


Fontawesome Version 5.X

pencil alt

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

pencil alt

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

pencil alt

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

pencil alt

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

pencil alt

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

How to add Font Awesome pencil alt Icon ?

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

HTML Code

Get complete html code for icon pencil 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-pencil-alt'></i>
                        </body>
                    </html>                    

Tags

edit,pen ,write

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