<!DOCTYPE html>
<
html
>
<
head
>
<
title
>Vertical forms Example</
title
>
<
link
rel
=
"stylesheet"
href
=
<
script
src
=
</
script
>
<
script
src
=
</
script
>
</
head
>
<
body
>
<
div
class
=
"container"
style
=
"color:green"
>
<
h1
>GeeksforGeeks</
h1
>
</
div
>
<
div
class
=
"container"
>
<
h4
>Vertical Form -> Example:2</
h4
>
<
form
>
<
div
class
=
"form-group"
>
<
label
>Name</
label
>
<
input
class
=
"form-control"
type
=
"text"
placeholder
=
"Enter your Name"
>
</
div
>
<
div
class
=
"form-group"
>
<
label
>Gender</
label
>
<
div
class
=
"form-check"
>
<
input
class
=
"form-check-input"
type
=
"radio"
name
=
"exampleRadios"
id
=
"exampleRadios1"
value
=
"option1"
checked>
<
label
class
=
"form-check-label"
for
=
"exampleRadios1"
>
Male
</
label
>
</
div
>
<
div
class
=
"form-check"
>
<
input
class
=
"form-check-input"
type
=
"radio"
name
=
"exampleRadios"
id
=
"exampleRadios1"
value
=
"option1"
checked>
<
label
class
=
"form-check-label"
for
=
"exampleRadios1"
>
Female
</
label
>
</
div
>
<
div
class
=
"form-check"
>
<
input
class
=
"form-check-input"
type
=
"radio"
name
=
"exampleRadios"
id
=
"exampleRadios1"
value
=
"option1"
checked>
<
label
class
=
"form-check-label"
for
=
"exampleRadios1"
>
Others
</
label
>
</
div
>
</
div
>
<
div
class
=
"form-group"
>
<
label
>Skills</
label
>
<
div
class
=
"form-check"
>
<
input
class
=
"form-check-input"
type
=
"checkbox"
value
=
""
id
=
"defaultCheck1"
>
<
label
class
=
"form-check-label"
for
=
"defaultCheck1"
>
Web Development
</
label
>
</
div
>
<
div
class
=
"form-check"
>
<
input
class
=
"form-check-input"
type
=
"checkbox"
value
=
""
id
=
"defaultCheck1"
>
<
label
class
=
"form-check-label"
for
=
"defaultCheck1"
>
Android Development
</
label
>
</
div
>
<
div
class
=
"form-check"
>
<
input
class
=
"form-check-input"
type
=
"checkbox"
value
=
""
id
=
"defaultCheck1"
>
<
label
class
=
"form-check-label"
for
=
"defaultCheck1"
>
DSA
</
label
>
</
div
>
</
div
>
<
div
class
=
"container"
>
<
button
type
=
"button"
class
=
"btn btn-success"
>
Submit
</
button
>
<
button
type
=
"button"
class
=
"btn btn-secondary"
>
Clear
</
button
>
</
div
>
</
form
>
</
div
>
</
body
>
</
html
>