Please note, this is a STATIC archive of website www.w3resource.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.

w3resource logo


Icon Tutorial

Font Awesome Ambulance Icon

Secondary Nav

Usage

<i class="fa fa-ambulance"></i>

Out of the box

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
</head>
<body>
<i class="fa fa-ambulance"></i>
</body>
</html>

JS Bin on jsbin.com

Large Icon

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
</head>
<body>
<i class="fa fa-ambulance fa-5x"></i>
<!--use the fa-lg (33% increase), fa-2x, fa-3x, fa-4x, or fa-5x classes-->
</body>
</html>

JS Bin on jsbin.com

Change color

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<style type="text/css">
.fa_custom {
color: #0099CC
}
</style>
</head>
<body>
<i class="fa fa-ambulance fa_custom"></i>
<i class="fa fa-ambulance fa_custom fa-2x"></i>
<i class="fa fa-ambulance fa_custom fa-3x"></i>
<i class="fa fa-ambulance fa_custom fa-4x"></i>
</body>
</html>

on jsbin.com



Join our Question Answer community to learn and share your programming knowledge.