Flash cards
Review the key moves
What is the main idea behind CSS Icons - Font Awesome?
Lesson checks
Practice each idea before moving on
Short Mimo-style checks built from this lesson's code, terms, and sequence.
Which statement best captures the main point of this lesson?
Complete the missing token from the example code.
<!___ html>Put the learning moves in the order that makes the concept easiest to apply.
How To Add Icons
Icons can easily be added to your HTML page, by using an icon library.
Just add the name of the icon class to any inline HTML element (like <i> or <span> ).
Icons from icon libraries are scalable vectors that can be customized with CSS (size, color, shadow, etc.).
Font Awesome Icons
The code looks something like this
Read more about Font Awesome in our Font Awesome Tutorial .
Note
No downloading or installation is required!
Example
<!DOCTYPE html>
<html>
<head>
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
</head>
<body>
<i class="fas fa-cloud"></i>
<i class="fas fa-heart"></i>
<i class="fas fa-car"></i>
<i class="fas fa-file"></i>
<i class="fas fa-bars"></i>
</body>
</html>Live preview
For a complete reference of all Font Awesome icons, visit our Icon Reference .