CSS Icons - W3Schools
Có thể bạn quan tâm
Icons can easily be added to your HTML page, by using an icon library.
How To Add Icons
The simplest way to add an icon to your HTML page, is with an icon library, such as Font Awesome.
Add the name of the specified icon class to any inline HTML element (like <i> or <span>).
All the icons in the icon libraries below, are scalable vectors that can be customized with CSS (size, color, shadow, etc.)
Font Awesome Icons
To use the Font Awesome icons, go to fontawesome.com, sign in, and get a code to add in the <head> section of your HTML page:
<script src="https://kit.fontawesome.com/yourcode.js" crossorigin="anonymous"></script>
Read more about how to get started with Font Awesome in our Font Awesome 5 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>Result:
Try It Yourself »For a complete reference of all Font Awesome icons, visit our Icon Reference.
Bootstrap Icons
To use the Bootstrap glyphicons, add the following line inside the <head> section of your HTML page:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
Note: No downloading or installation is required!
Example
<!DOCTYPE html><html><head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"></head><body> <i class="glyphicon glyphicon-cloud"></i><i class="glyphicon glyphicon-remove"></i><i class="glyphicon glyphicon-user"></i><i class="glyphicon glyphicon-envelope"></i><i class="glyphicon glyphicon-thumbs-up"></i> </body></html>Result:
Try It Yourself »Google Icons
To use the Google icons, add the following line inside the <head> section of your HTML page:
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
Note: No downloading or installation is required!
Example
<!DOCTYPE html><html><head> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"></head><body> <i class="material-icons">cloud</i><i class="material-icons">favorite</i><i class="material-icons">attachment</i><i class="material-icons">computer</i><i class="material-icons">traffic</i></body></html>Result:
Try It Yourself »For a complete list of all icons, visit our Icon Tutorial.
❮ Previous Next ❯ ★ +1 W3schools Pathfinder Track your progress - it's free! Log in Sign UpTừ khóa » Thư Viện Icon Css
-
7 Thư Viện Font Icon Miễn Phí Giúp Website Bạn Chuyên Nghiệp
-
Font Awesome: Cách Sử Dụng Thư Viện Icon Fonts Số 1 Trong Lập Trình ...
-
Bootstrap Icons · Official Open Source SVG Icon Library For Bootstrap
-
Font Awesome
-
700+ CSS Icons, Customizable, Retina Ready & API
-
Bài 14: CSS Icons (Thêm Biểu Tượng Vào Trang Web) - Tìm ở đây
-
Những Thư Viện Icon đẹp Mắt Nên Sử Dụng Một Lần Trong đời - 2KVN
-
Một Số Thư Viện Icon được ưa Dùng Trong Năm 2020 - Viblo
-
9 Gói Icon Miễn Phí Cho Lập Trình Viên Web - Viblo
-
W3.CSS Icons - W3Schools
-
Icon Trong CSS
-
11 Font Icon Free Cho Website 2021 - Niềm Vui Lập Trình
-
CSS Icons - Ook-code