font awesome url code example

Example 1: how to import font awesome in html

<!-- Add this in your <head> tag -->
<link
      rel="stylesheet"
      href="https://use.fontawesome.com/releases/v5.13.0/css/all.css"
      integrity="sha384-Bfad6CLCknfcloXFOyFnlgtENryhrpZCe29RTifKEixXQZ38WheV+i/6YWSzkz3V"
      crossorigin="anonymous"
    />

Example 2: bootstrap font asesome cdn

The correct one -> Give an upvote if it helps

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

Example 3: how to use font awesome icons

<ul class="fa-ul">
  <li><i class="fa-li fa fa-check-square"></i>List icons</li>
  <li><i class="fa-li fa fa-check-square"></i>can be used</li>
  <li><i class="fa-li fa fa-spinner fa-spin"></i>as bullets</li>
  <li><i class="fa-li fa fa-square"></i>in lists</li>
</ul>

Example 4: font awesome cdn

/* @import CSS Query */
@import url "https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";

Example 5: fontawesome link

<link rel="styleshet" href="path/to/font-awesome/css/font-awesome.min.css">

Tags:

Html Example