Hướng dẫn icon trong html w3schools
How To Add IconsTo insert an icon, add the name of the icon class to any inline HTML element. Show The All the icons in the icon libraries below, are scalable vector icons that can be customized with CSS (size, color, shadow, etc.) Font Awesome 5 IconsTo use the Free Font Awesome 5 icons, go to fontawesome.com and sign in to get a code to use in your web pages. Read more about how to get started with Font Awesome in our Font Awesome 5 chapter. Note: No downloading or installation is required! Example
Try It Yourself » Font Awesome 4 IconsTo use the Font Awesome 4 icons, add the following line inside the Note: No downloading or installation is required! Example
Try It Yourself » Bootstrap 3 IconsTo use the Bootstrap 3 glyphicons, add the following line inside the Note: No downloading or installation is required! Example Try It Yourself » Note: Glyphicons are not supported in Bootstrap 4. For more information about Bootstrap 3 and Glyphicons, visit our Bootstrap 3 Tutorial. Google IconsTo use the Google icons, add the following line inside the Note: No downloading or installation is required! Example cloud Try It Yourself » For a complete list of ALL icons (font awesome, bootstrap and google), visit the Icon Reference. Icons can easily be added to your HTML page, by using an icon library. How To Add IconsThe 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 All the icons in the icon libraries below, are scalable vectors that can be customized with CSS (size, color, shadow, etc.) Font Awesome IconsTo use the Font Awesome icons, go to fontawesome.com, sign in, and get a code to add in the Read more about how to get started with Font Awesome in our Font Awesome 5 tutorial. Note: No downloading or installation is required! Example
Result: Try It Yourself » For a complete reference of all Font Awesome icons, visit our Icon Reference. Bootstrap IconsTo use the Bootstrap glyphicons, add the following line inside the Note: No downloading or installation is required! Example Result: Try It Yourself » Google IconsTo use the Google icons, add the following line inside the Note: No downloading or installation is required! Example cloud Result: Try It Yourself » For a complete list of all icons, visit our Icon Tutorial. |