<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
meta
charset
=
"UTF-8"
>
<
meta
http-equiv
=
"X-UA-Compatible"
content
=
"IE=edge"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1.0"
>
<
title
>Bootstrap 5-GeeksforGeeks </
title
>
<
link
href
=
rel
=
"stylesheet"
>
<
script
src
=
</
script
>
<
script
src
=
</
script
>
</
head
>
<
body
class
=
"m-3"
>
<
div
class
=
"container text-center"
>
<
h1
class
=
"text-success"
>GeeksforGeeks</
h1
>
<
h5
>Bootstrap 5 Dropdowns Split button</
h5
>
</
div
>
<
div
class
=
"p-3 border bg-light"
style
=
"height:120px;"
>
<
div
class
=
"btn-group dropend"
>
<
button
type
=
"button"
class="btn btn-primary
dropdown-toggle dropdown-toggle-split"
data-bs-toggle
=
"dropdown"
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
>
Action
</
button
>
<
span
class
=
"visually-hidden"
>
Toggle Dropdown</
span
>
</
button
>
<
ul
class
=
"dropdown-menu"
>
<
li
><
a
class
=
"dropdown-item"
href
=
"#"
>
Option</
a
></
li
>
<
li
><
a
class
=
"dropdown-item"
href
=
"#"
>
Other option</
a
></
li
>
<
li
><
a
class
=
"dropdown-item"
href
=
"#"
>
Something related to the option</
a
>
</
li
>
</
ul
>
</
div
>
<
div
class
=
"btn-group dropend"
>
<
button
type
=
"button"
class="btn btn-info
dropdown-toggle dropdown-toggle-split"
data-bs-toggle
=
"dropdown"
>
<
span
class
=
"visually-hidden"
>
Toggle Dropdown</
span
>
<
button
type
=
"button"
class
=
"btn btn-danger"
>
Action</
button
>
</
button
>
<
ul
class
=
"dropdown-menu"
>
<
li
><
a
class
=
"dropdown-item"
href
=
"#"
>
Option</
a
></
li
>
<
li
><
a
class
=
"dropdown-item"
href
=
"#"
>
Other option</
a
></
li
>
<
li
><
a
class
=
"dropdown-item"
href
=
"#"
>
Something related to the option</
a
>
</
li
>
</
ul
>
</
div
>
<
div
class
=
"btn-group dropend"
>
<
button
type
=
"button"
class="btn btn-dark
dropdown-toggle dropdown-toggle-split"
data-bs-toggle
=
"dropdown"
>
<
button
type
=
"button"
class
=
"btn btn-warning"
>
Action</
button
>
<
span
class
=
"visually-hidden"
>
Toggle Dropdown</
span
>
</
button
>
<
ul
class
=
"dropdown-menu"
>
<
li
><
a
class
=
"dropdown-item"
href
=
"#"
>
Option</
a
></
li
>
<
li
><
a
class
=
"dropdown-item"
href
=
"#"
>
Other option</
a
></
li
>
<
li
><
a
class
=
"dropdown-item"
href
=
"#"
>
Something related to the option</
a
></
li
>
</
ul
>
</
div
>
</
div
>
</
body
>
</
html
>