Form elements are various elements used in Bootstrap to make navigation and GUI more appealing and satisfying. Use of various text boxes, buttons, and so on enable better output.
There are three types of layout for forms:
Vertical forms
Inline forms
Horizontal forms
Vertical forms are the default layout of bootstrap forms. The attribute used here is role
and the value of it is set to form
to provide better accessibility and automatic and default styling for the form. The syntax for this is as follows:
<form role="form"> … </form>