<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
title
>GFG</
title
>
<
meta
charset
=
"utf-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1"
>
<
link
href
=
rel
=
"stylesheet"
integrity
=
"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin
=
"anonymous"
>
integrity
=
"sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin
=
"anonymous"
>
</
script
>
<
link
rel
=
"stylesheet"
href
=
</
head
>
<
body
style
=
"text-align:center;"
>
<
div
class
=
"container mt-3"
>
<
h2
class
=
"text-success"
>
GeeksforGeeks
</
h2
>
<
h2
>How to add icons to buttons in Bootstrap 5?</
h2
>
<
div
class
=
"btn-group"
role
=
"group"
aria-label
=
"Basic outlined example"
>
<
button
type
=
"button"
class
=
"btn btn-lg btn-outline-primary"
>
<
i
class
=
"fa fa-home"
></
i
>
</
button
>
<
button
type
=
"button"
class
=
"btn btn-lg btn-outline-success"
>
<
i
class
=
"fa fa-code"
></
i
>
</
button
>
<
button
type
=
"button"
class
=
"btn btn-lg btn-outline-danger"
>
<
i
class
=
"fa fa-folder"
></
i
>
</
button
>
<
button
type
=
"button"
class
=
"btn btn-lg btn-outline-warning"
>
<
i
class
=
"fa fa-file"
></
i
>
</
button
>
</
div
>
</
div
>
</
body
>
</
html
>