How to add font awesome icon in HTML web page?

    To add fontawesome icons in your HTML web page, please add below given link in between <head> </head> section of your HTML web page.

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">

    You can search the icon from below text box, click on icon and copy the code and paste in your HTML file

    address-book
    address-book-o
    address-card
    address-card-o
    adjust
    anchor
    archive
    asterisk
    at
    balance-scale
    ban
    bank
    barcode
    bars
    bath
    bathtub
    battery
    battery-0
    battery-1
    battery-2
    battery-3
    battery-4
    battery-empty
    battery-full
    battery-half
    battery-quarter
    battery-three-quarters
    bed
    beer
    bell
    bell-o
    bell-slash
    bell-slash-o
    binoculars
    birthday-cake
    bolt
    bomb
    book
    bookmark
    bookmark-o
    briefcase
    bug
    building
    building-o
    bullhorn
    bullseye
    calculator
    calendar
    calendar-check-o
    calendar-minus-o
    calendar-o
    calendar-plus-o
    calendar-times-o
    camera
    camera-retro
    cart-arrow-down
    cart-plus
    certificate
    check
    check-circle
    check-circle-o
    child
    circle-thin
    clock-o
    clone
    close
    cloud
    cloud-download
    cloud-upload
    code
    code-fork
    coffee
    cogs
    comment
    comment-o
    commenting
    commenting-o
    comments
    comments-o
    compass
    copyright
    creative-commons
    crop
    crosshairs
    cube
    cubes
    cutlery
    dashboard
    database
    desktop
    diamond
    download
    drivers-license
    drivers-license-o
    edit
    ellipsis-h
    ellipsis-v
    envelope
    envelope-o
    envelope-open
    envelope-open-o
    envelope-square
    exclamation
    exclamation-circle
    exclamation-triangle
    external-link
    external-link-square
    eye
    eye-slash
    eyedropper
    fax
    feed
    female
    film
    filter
    fire
    fire-extinguisher
    flag
    flag-checkered
    flag-o
    flash
    flask
    folder
    folder-o
    folder-open
    folder-open-o
    frown-o
    futbol-o
    gamepad
    gavel
    gears
    gift
    glass
    globe
    graduation-cap
    group
    handshake-o
    hashtag
    hdd-o
    headphones
    history
    home
    hotel
    hourglass
    hourglass-1
    hourglass-2
    hourglass-3
    hourglass-end
    hourglass-half
    hourglass-o
    hourglass-start
    i-cursor
    id-badge
    id-card
    id-card-o
    image
    inbox
    industry
    info
    info-circle
    institution
    key
    keyboard-o
    language
    laptop
    leaf
    legal
    lemon-o
    level-down
    level-up
    life-bouy
    life-buoy
    life-ring
    life-saver
    lightbulb-o
    location-arrow
    lock
    magic
    magnet
    mail-forward
    mail-reply
    mail-reply-all
    male
    map
    map-marker
    map-o
    map-pin
    map-signs
    meh-o
    microchip
    microphone
    microphone-slash
    minus
    minus-circle
    mobile
    mobile-phone
    moon-o
    mortar-board
    mouse-pointer
    music
    navicon
    newspaper-o
    object-group
    object-ungroup
    paint-brush
    paper-plane
    paper-plane-o
    paw
    pencil
    pencil-square
    pencil-square-o
    percent
    phone
    phone-square
    photo
    picture-o
    plug
    plus
    plus-circle
    podcast
    power-off
    print
    puzzle-piece
    qrcode
    question
    question-circle
    quote-left
    quote-right
    recycle
    registered
    remove
    reorder
    reply
    reply-all
    retweet
    road
    rss
    rss-square
    s15
    search
    search-minus
    search-plus
    send
    send-o
    server
    share
    share-square
    share-square-o
    shield
    shopping-bag
    shopping-basket
    shopping-cart
    shower
    sign-in
    sign-out
    signal
    sitemap
    sliders
    smile-o
    snowflake-o
    soccer-ball-o
    sort
    sort-alpha-asc
    sort-alpha-desc
    sort-amount-asc
    sort-amount-desc
    sort-asc
    sort-desc
    sort-down
    sort-numeric-asc
    sort-numeric-desc
    sort-up
    spoon
    star
    star-half
    star-half-empty
    star-half-full
    star-half-o
    star-o
    sticky-note
    sticky-note-o
    street-view
    suitcase
    sun-o
    support
    tablet
    tachometer
    tag
    tags
    tasks
    television
    terminal
    thermometer
    thermometer-0
    thermometer-1
    thermometer-2
    thermometer-3
    thermometer-4
    thermometer-empty
    thermometer-full
    thermometer-half
    thermometer-quarter
    thermometer-three-quarters
    thumb-tack
    ticket
    times
    times-circle
    times-circle-o
    times-rectangle
    times-rectangle-o
    tint
    toggle-off
    toggle-on
    trademark
    trash
    trash-o
    tree
    trophy
    tv
    umbrella
    university
    unlock
    unlock-alt
    unsorted
    upload
    user
    user-circle
    user-circle-o
    user-o
    user-plus
    user-secret
    user-times
    users
    vcard
    vcard-o
    video-camera
    volume-down
    volume-off
    volume-up
    warning
    wifi
    window-close
    window-close-o
    window-maximize
    window-minimize
    window-restore
    wrench
    american-sign-language-interpreting
    asl-interpreting
    assistive-listening-systems
    audio-description
    blind
    braille
    cc
    deaf
    deafness
    hard-of-hearing
    low-vision
    question-circle-o
    sign-language
    signing
    tty
    universal-access
    volume-control-phone
    hand-grab-o
    hand-lizard-o
    hand-paper-o
    hand-peace-o
    hand-pointer-o
    hand-rock-o
    hand-scissors-o
    hand-spock-o
    hand-stop-o
    thumbs-down
    thumbs-o-down
    thumbs-o-up
    thumbs-up
    automobile
    bicycle
    bus
    cab
    car
    fighter-jet
    motorcycle
    plane
    rocket
    ship
    space-shuttle
    subway
    taxi
    train
    truck
    genderless
    intersex
    mars
    mars-double
    mars-stroke
    mars-stroke-h
    mars-stroke-v
    mercury
    neuter
    transgender
    transgender-alt
    venus
    venus-double
    venus-mars
    file-archive-o
    file-audio-o
    file-code-o
    file-excel-o
    file-image-o
    file-movie-o
    file-pdf-o
    file-photo-o
    file-picture-o
    file-powerpoint-o
    file-sound-o
    file-video-o
    file-word-o
    file-zip-o
    circle-o-notch
    cog
    gear
    refresh
    spinner
    check-square
    check-square-o
    circle
    circle-o
    dot-circle-o
    minus-square
    minus-square-o
    plus-square-o
    square
    square-o
    credit-card
    credit-card-alt
    area-chart
    bar-chart
    bar-chart-o
    line-chart
    pie-chart
    cny
    dollar
    eur
    euro
    gbp
    ils
    inr
    jpy
    krw
    money
    rmb
    rouble
    rub
    ruble
    rupee
    shekel
    sheqel
    try
    turkish-lira
    usd
    won
    yen
    align-center
    align-justify
    align-left
    align-right
    bold
    chain
    chain-broken
    clipboard
    columns
    copy
    cut
    dedent
    eraser
    file
    file-o
    file-text
    file-text-o
    files-o
    floppy-o
    font
    header
    indent
    italic
    link
    list
    list-alt
    list-ol
    list-ul
    outdent
    paperclip
    paragraph
    paste
    repeat
    rotate-left
    rotate-right
    save
    scissors
    strikethrough
    subscript
    superscript
    table
    text-height
    text-width
    th
    th-large
    th-list
    underline
    undo
    unlink
    angle-double-down
    angle-double-left
    angle-double-right
    angle-double-up
    angle-down
    angle-left
    angle-right
    angle-up
    arrow-circle-down
    arrow-circle-left
    arrow-circle-o-down
    arrow-circle-o-left
    arrow-circle-o-right
    arrow-circle-o-up
    arrow-circle-right
    arrow-circle-up
    arrow-down
    arrow-left
    arrow-right
    arrow-up
    arrows
    arrows-h
    arrows-v
    caret-down
    caret-left
    caret-right
    caret-square-o-down
    caret-square-o-left
    caret-square-o-right
    caret-square-o-up
    caret-up
    chevron-circle-down
    chevron-circle-left
    chevron-circle-right
    chevron-circle-up
    chevron-down
    chevron-left
    chevron-right
    chevron-up
    exchange
    hand-o-down
    hand-o-left
    hand-o-right
    hand-o-up
    long-arrow-down
    long-arrow-left
    long-arrow-right
    long-arrow-up
    toggle-down
    toggle-left
    toggle-right
    toggle-up
    arrows-alt
    backward
    compress
    eject
    expand
    fast-backward
    fast-forward
    forward
    pause
    pause-circle
    pause-circle-o
    play
    play-circle
    play-circle-o
    random
    step-backward
    step-forward
    stop
    stop-circle
    stop-circle-o
    500px
    adn
    amazon
    android
    angellist
    apple
    bandcamp
    behance
    behance-square
    bitbucket
    bitbucket-square
    bitcoin
    black-tie
    bluetooth
    bluetooth-b
    btc
    buysellads
    cc-amex
    cc-diners-club
    cc-discover
    cc-jcb
    cc-mastercard
    cc-paypal
    cc-stripe
    cc-visa
    chrome
    codepen
    codiepie
    connectdevelop
    contao
    css3
    dashcube
    delicious
    deviantart
    digg
    dribbble
    dropbox
    drupal
    edge
    eercast
    empire
    envira
    etsy
    expeditedssl
    fa
    facebook
    facebook-f
    facebook-official
    facebook-square
    firefox
    first-order
    flickr
    font-awesome
    fonticons
    fort-awesome
    forumbee
    foursquare
    free-code-camp
    ge
    get-pocket
    gg
    gg-circle
    git
    git-square
    github
    github-alt
    github-square
    gitlab
    gittip
    glide
    glide-g
    google
    google-plus
    google-plus-circle
    google-plus-official
    google-plus-square
    google-wallet
    gratipay
    grav
    hacker-news
    houzz
    html5
    imdb
    instagram
    internet-explorer
    ioxhost
    joomla
    jsfiddle
    lastfm
    lastfm-square
    leanpub
    linkedin
    linkedin-square
    linode
    linux
    maxcdn
    meanpath
    medium
    meetup
    mixcloud
    modx
    odnoklassniki
    odnoklassniki-square
    opencart
    openid
    opera
    optin-monster
    pagelines
    paypal
    pied-piper
    pied-piper-alt
    pied-piper-pp
    pinterest
    pinterest-p
    pinterest-square
    product-hunt
    qq
    quora
    ra
    ravelry
    rebel
    reddit
    reddit-alien
    reddit-square
    renren
    resistance
    safari
    scribd
    sellsy
    share-alt
    share-alt-square
    shirtsinbulk
    simplybuilt
    skyatlas
    skype
    slack
    slideshare
    snapchat
    snapchat-ghost
    snapchat-square
    soundcloud
    spotify
    stack-exchange
    stack-overflow
    steam
    steam-square
    stumbleupon
    stumbleupon-circle
    superpowers
    telegram
    tencent-weibo
    themeisle
    trello
    tripadvisor
    tumblr
    tumblr-square
    twitch
    twitter
    twitter-square
    usb
    viacoin
    viadeo
    viadeo-square
    vimeo
    vimeo-square
    vine
    vk
    wechat
    weibo
    weixin
    whatsapp
    wikipedia-w
    windows
    wordpress
    wpbeginner
    wpexplorer
    wpforms
    xing
    xing-square
    y-combinator
    y-combinator-square
    yahoo
    yc
    yc-square
    yelp
    yoast
    youtube
    youtube-play
    youtube-square
    ambulance
    h-square
    heart
    heart-o
    heartbeat
    hospital-o
    medkit
    plus-square
    stethoscope
    user-md
    wheelchair
    wheelchair-alt

    What is font awesome?

    Font Awesome gives us scalable vector icons that can be easily customizeable of their size, color, background-color etc. Scalable vector means it does not loses his graphics at any size. Font awesome uses to insert an icon. It is an online platform uses by a user to get an icon as per their desire. It is widely useable platform uses by millions of users. It is easy to use it doesn't require CSS and javascript to implement it. Generally it is uses by website developer, software developer, content writer etc.

    Why use font awesome?

    Font awesome makes our response time better because if we use images in place of icon than browser has to load multiple images and because of that our response time getting increased. Font awesome gives us an opportunity to show their content interactive and user friendly. For example if we write simply phone number without adding icon it may be confusing for the user to identify but in the above case if we add icon of phone then it clarify the user to understand that It is a phone number.

    Font awesome also makes our content beautiful. For example In menu bar if we write a user than it looks preety odd. but instead of writing of user if add user icon than our page looks beautiful or interactive.

    Is it safe to use font awesome?

    The current version of font awesome found much safer than older version. It provides security on cross-site scripting, data injections etc. Font awesome is a widely useable platform which gives an opportunity to uses varieties of icons on many topics such as technology, logo, sports etc. So we can say that the current version of font awesome is safe.

    Time to integrated font awesome in HTML?

    In simple we say that The time integration is when we want to intergrated the icon. Generally it integrated in a content where we want to specify. Suppose if we write an email id than it is good to use icon because it clarify the user that it is an email id. In similar way it useful in phone number, address, message etc.

    How to integrate font awesome?

    we have divided to integrate font awesome in two steps. First step : We have to insert a link in head section, but works only when the internet is on. There is also another way where internet connection does not require. In that process we have to downloads a file which are available on font awesome than copy that file and paste in our font folder and css folder link that file in our HTML through link tag. Second step : Go to the website and search the desired icon and copy the code and paste it in our HTML page.

    Font awesome is free or paid?

    Font awesome gives us lincense in free. We can use it freely in our commercial projects, website. We can also uses freely in apps. We can embed in mobile and desktop app.

    Does Font awesome work in all browser?

    Font awesome works almost in all browser. It works in all browser which are generally uses such as chrome, firefox, opera etc. It does not works in a browser such as IE etc.

    How to increase decrease size of Font awesome?

    The size of font awesome is increases or decrease with the use of font-size property. In this property we give the value, The value can be given in px, rem, vh etc. for example : font-size:20px;. It is useful for CSS.

    If we want to increase or decrease the size of icon through HTML than we are using style property It is given in icon tag. The property and value are same.

    <i style="font-size:20px;" class="fa fa-facebook"></i>

    Result :

    <i style="font-size:24px;" class="fa fa-facebook"></i>

    Result :

    <i style="font-size:28px;" class="fa fa-facebook"></i>

    Result :

    <i style="font-size:32px;" class="fa fa-facebook"></i>

    Result :

    <i style="font-size:64px;" class="fa fa-facebook"></i>

    Result :

    <i style="font-size:128px;" class="fa fa-facebook"></i>

    Result :

    How to give color in Font awesome?

    The color of font awesome is given with the use of color property. In this property we give the value, The value can be given in color name, rgb, rgba etc. for example color:blue;.

    If we want to give the color of icon through HTML than we are using style property It is given in icon tag. The property and value are same.

    <i style="color:blue;" class="fa fa-facebook"></i>

    Result :

    <i style="color:green;" class="fa fa-facebook"></i>

    Result :

    <i style="color:brown;" class="fa fa-facebook"></i>

    Result :

    <i style="color:orange;" class="fa fa-facebook"></i>

    Result :

    How to give background color in Font awesome?

    The background color of font awesome is given with the use of background-color property. In this property we give the value, The value can be given in color name, rgb, rgba etc. for example background-color:red;.

    If we want to give the background color of icon through HTML than we are using style property It is given in parent tag. The property and value are same.

    <i style="background-color:blue;color:white;" class="fa fa-facebook"></i> 

    Result :

    <i style="background-color:green;color:white;" class="fa fa-facebook"></i>

    Result :

    <i style="background-color:brown;color:white;padding:5px;" class="fa fa-facebook"></i> 

    Result :

    <i style="background-color:red;color:white;padding:5px;" class="fa fa-facebook"></i> 

    Result :

    In above two example there is padding to increase the size of background.

    How to create circle in Font awesome?

    We can create circle in font awesome through css property. We have to use some properties with the help of this properties and their values we create a circle. These properties are as follows :-

    background-color : Here value can be through color name, rgb, rgba etc.

    height : Here value can be given in px, rem, vh etc.

    width : Here also value can be given in px, rem, vh etc.

    line-height : Here also value can be given in px, rem, vh etc.

    text-align : Here we give value center for putting in center.

    border-radius : Here also value can be given in px, rem, vh, percentage(%) etc.

    for making circle the combination of values is necessary so, the combination is line-height, height, width is same and border-radius is 50%.

    If we want to create circle through HTML than we are using style property It is given in parent tag. The property and value are same.

    Example : <i style="background-color:red;color:white;height:40px;width:40px;line-height:40px;border-radius:50%;text-align:center;" class="fa fa-facebook"></i> 

    Result :

    <i style="background-color:green;color:white;height:40px;width:40px;line-height:40px;border-radius:50%;text-align:center;" class="fa fa-facebook"></i> 

    Result :

     <i style="background-color:orange;color:white;height:40px;width:40px;line-height:40px;border-radius:50%;text-align:center;" class="fa fa-facebook"></i> 

    Result :

    <i style="background-color:brown;color:white;height:40px;width:40px;line-height:40px;border-radius:50%;text-align:center;" class="fa fa-facebook"></i>  

    Result :