How to use Font Awesome 6 icons?

To use the new free Font Awesome 6, you can again use the CDN (if that’s your preference) like the following.

<link rel="stylesheet" 
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">

Then, use icons in your HTML as follows.

<i class="fa-solid fa-house"></i>

Leave a Comment

tech