Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Using Bootstrap Icons in HTML</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"> </head> <body> <p><i class="bi-person" style="font-size: 24px;"></i></p> <p><i class="bi-person-circle" style="font-size: 24px; color: red;"></i></p> <button type="button"><i class="bi-search"></i> Search</button> <p><strong>Note:</strong> You can use the text properties like "color", "font-size", "font-weight", etc. on the the i element to style the icon.</p> </body> </html>