<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
title
>Bootstrap Example</
title
>
<
meta
charset
=
"utf-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1"
>
</
head
>
<
body
>
<
div
class
=
"container"
style
=
"color:green"
>
<
h1
>GeeksforGeeks</
h1
>
</
div
>
<
div
class
=
"container"
>
<
h4
>Horizontal Form</
h4
>
<
form
action
=
""
class
=
"form-horizontal"
>
<
div
class
=
"form-group has-success"
>
<
label
class
=
"control-label col-sm-2"
for
=
"id1"
>Username</
label
>
<
div
class
=
"col-sm-6"
>
<
input
class
=
"form-control"
type
=
"text"
id
=
"id1"
placeholder
=
"Enter your User Name"
>
</
div
>
</
div
>
<
div
class
=
"form-group has-success"
>
<
label
class
=
"control-label col-sm-2"
for
=
"id2"
>Password</
label
>
<
div
class
=
"col-sm-6"
>
<
input
class
=
"form-control"
type
=
"password"
id
=
"id2"
placeholder
=
"Enter your password"
>
</
div
>
</
div
>
<
div
class
=
"container"
>
<
button
type
=
"button"
class
=
"btn btn-success"
>Login</
button
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
>Register</
button
>
<
label
>
<
input
type
=
"checkbox"
>Remember me
</
label
>
</
div
>
</
form
>
</
div
>
</
body
>
</
html
>