Bootstrap 5 Layout Forms – GeeksforGeeks
<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
meta
charset
=
"utf-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1"
>
<
link
href
=
rel
=
"stylesheet"
>
</
head
>
<
body
class
=
"m-3"
>
<
h1
class
=
"text-success"
>
Geeksforgeeks
</
h1
>
<
h4
>
Bootstrap 5 Layout Forms
</
h4
>
<
form
>
<
div
class
=
"row mb-3"
>
<
label
for
=
"inputName"
class
=
"col-sm-2 col-form-label"
>
Name
</
label
>
<
div
class
=
"col-sm-10"
>
<
input
type
=
"text"
class
=
"form-control"
id
=
"inputName"
>
</
div
>
</
div
>
<
div
class
=
"row mb-3"
>
<
label
for
=
"inputemail"
class
=
"col-sm-2 col-form-label"
>
Email
</
label
>
<
div
class
=
"col-sm-10"
>
<
input
type
=
"email"
class
=
"form-control"
id
=
"inputemail"
>
</
div
>
</
div
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-10 offset-sm-2"
>
<
button
type
=
"submit"
class
=
"btn btn-primary"
disabled>
Registered
</
button
>
<
button
type
=
"submit"
class
=
"btn btn-primary"
>
Sign in
</
button
>
</
div
>
</
div
>
</
form
>
</
body
>
</
html
>
Stay connected with us on social media platform for instant update click here to join our Twitter, & Facebook We are now on Telegram. Click here to join our channel (@TechiUpdate) and stay updated with the latest Technology headlines. For all the latest Technology News Click Here