Lesson - 04 Web Development
Lesson - 04 Web Development
MOLINO
Technological University of the Philippines
What is Bootstrap?
❑ Bootstrap is a powerful front-end framework for faster and easier web development. It includes
HTML and CSS based design templates for creating common user interface components like
forms, buttons, navigations, dropdowns, alerts, modals, tabs, accordions, carousels, tooltips,
and so on.
❑ Bootstrap gives you ability to create flexible and responsive web layouts with much less efforts.
❑ Bootstrap was originally created by a designer and a developer at Twitter in mid-2010. Before
being an open-sourced framework, Bootstrap was known as Twitter Blueprint.
Grid System
1rem = 16px
Example:
<span class="glyphicon glyphicon-certificate"></span>
Bootstrap: Tables
Tag Description
<table> Used to display the given data in the tabular
format by getting all the elements together.
All the individual form controls, by default, receives some global styling with Bootstrap. All textual
<input>, <textarea>, and <select> elements with .form-control are set to width 100% by default. Wrap labels
and controls in .form-group for optimum spacing.
❑ Bootstrap Vertical Form ( it’s default form and no need to specify other type )
❑ Bootstrap Horizontal Form ( add .form-horizontal class to <form> tag )
❑ Bootstrap Inline form ( add .form-inline class to <form> tag )
Steps
❑ Always wrap the content in form tag.
❑ To improve form accessibility always set <form> tag attribute role="form" eg: <form role="form">
❑ Place all the form controls in .form-group for proper spacing between form elements. eg: <div class="form-group">
Border – borders, colors and radius
Flex Layout
• Flex utility can be used to manage the layout, alignment, grid columns, navigation and other components
of the page. It makes easy to design layout structure without using float or positioning.
• In order to use the flex utilies you need to have a flex container. This is an element with the class .d-flexor
.d-inline-flex.
Flex Layout
https://www.freetimelearning.com/bootstrap-4/bootstrap-4-flex.php
REFERENCES
https://www.javatpoint.com/bootstrap-form
https://bootstrapshuffle.com/classes
https://www.tutorialspoint.com/bootstrap
https://www.w3schools.com/bootstrap/