Font Aweome Home (House, Property, Address)

Font Awesome provides the home icon, which can be used to represent a link to the homepage or base URL. To use the Font Awesome home icon, you need to add the class 'fa fa-home' for Font Awesome 4 home or 'fas fa-home' for Font Awesome 5 home in your HTML code.you can also customize the size, color, and other properties of the icon using CSS. The Font Awesome home icon also symbolizes a house, Navigation, Location, Address, property, and real estate.

Fontawesome Version 4.X

home

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

home

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

home

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

home

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

home

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


Fontawesome Version 5.X

home

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

home

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

home

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

home

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

home

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

How to Add Home icon in Html

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

HTML Code

Get complete html code for icon home

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

Tags

accommodation,property,quarters,lodgings,rooms,address,location,place,pad,digs,residence,fa house,fa fa property,fa fa address icon,real estate icon,Navigation,Location

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