Font Awesome Book (Subject, Library, Reading)

The Font Awesome book icon can be used to represent reading, learning, education, or literature. The book icon can be added to any web page using the i tag with different classes, depending on the style and version of Font Awesome. For example, to use the book icon in the solid style with Font Awesome 6, the class would be fa-solid fa-book, fas fa-book for version 5, and fa fa-book for version 4. You can also customize the size, color, and other attributes of the book icon using CSS

Fontawesome Version 4.X

book

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

book

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

book

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

book

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

book

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


Fontawesome Version 5.X

book

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

book

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

book

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

book

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

book

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

Fontawesome Version 6.X

book

Web

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

React

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

Vue

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

book

Web

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

React

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

Vue

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

book

Web

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

React

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

Vue

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

book

Web

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

React

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

Vue

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

book

Web

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

React

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

Vue

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

How to add Font Awesome book Icon ?

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

HTML Code

Get complete html code for icon book

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

Tags

subject,books,library,beook,wbook,reading,learning,education,literature

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