How can use this font awesome icon in my project
I tried using <i class="fa fa-chalkboard-teacher"></i>
but it is not working
Try this:
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous"> <i class="fas fa-chalkboard-teacher"></i>
<i class="fas fa-chalkboard-teacher"></i>
你在 fa 上缺少一个s
最新的字体真棒项目已经更新了这些参考
You need to link the font-awesome cdn inside your head tag:
<head>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
</head>
After you've done that, you can use font-awesome icons inside your :
<i class="fas fa-chalkboard-teacher"></i>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.