Learn Bootstrap
Bootstrap
- Q1. What is Bootstrap?Bootstrap is a platform for web development based on a front-end framework. It is used to create exceptional responsive designs using HTML, and CSS. These templates are used for forms, tables, buttons, typography, models, tables, navigation, carousels and images. Bootstrap also has Javascript plugins, which are optional. Bootstrap is mostly preferred for developing mobile web applications.
- Q2. Explain why Bootstrap is preferred for website development.Bootstrap has better features as compared to other web development platforms. It provides extensive browser support for almost every known browser such as Opera, Chrome, Firefox, Safari, etc. If you are well-acquainted with CSS and HTML, web development becomes easy on Bootstrap. Also, it supports mobile applications with the help of responsive design and can adjust CSS as per the device, screen size, etc. Instead of creating multiple files, it creates only a single file reducing the work of a developer.
- Q3. What are the key components of Bootstrap?The key components of Bootstrap include: CSS: It consists of various CSS files Scaffolding: It provides a basic structure with the Grid system, link styles, and background Layout Components: This gives the list of layout components JavaScript Plugins: It contains many jQuery and JavaScript plugins Customize: To get your own version of the framework, you can customize your components
- Q4. List some features of Bootstrap.Some of the features of Bootstrap are: It provides an open-source for use Bootstrap has Compatibility with all browsers It has Responsive designs Easy to use and fast
- Q5. What are Class loaders in Bootstrap?A class loader is a part of JRE or Java Runtime Environment which loads Java classes into Java virtual environment. Class loaders also perform the process of converting a named class into its equivalent binary form.
- Q6. How many types of layout are available in Bootstrap?There are two major layouts for Bootstrap: Fluid Layout- This layout is necessary for creating an app that is 100 % wider and covers all the screen width. Fixed Layout- It is used only for a standard screen (940px). Both layouts can be used for creating a responsive design.
- Q8. What is Bootstrap Grid System?Bootstrap includes a responsive, mobile-first fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases. It includes predefined classes for easy layout options, as well as powerful mixins for generating more semantic layouts.
- Q9. Give an example of a basic grid structure in Bootstrap.Example of a basic grid structure:.......Q10. Why do we use Jumbotron in BootstraJumbotron is used for highlighting content in bootstrap. It could either be a slogan or probably a headline. It increases the heading size and gives a margin for the content of the landing page. To implement Jumbotron in a Bootstrap, you have to use: Create a containerwith the class of .jumbotron For example, useif you don’t want Jumbotron to reach the screen’s edge.Q11. What are the two codes used for code display in Bootstrap?There are two simple ways to display code in Bootstrap:
tag: This tag is used to display an inline code.
tag: If you have a code with several lines or even a block element, you can display it using this.
Q12. Explain the typography and links in Bootstrap.Bootstrap sets a basic global display (background), typography, and link styles. Basic Global display − It sets background-color: #fff; on the element. Typography − This uses the @font-family-base, @font-size-base, and @line-height-base attributes as the typographic base Link styles − It sets the global link color via attribute @link-color and applies link underlines only on :hover.Q13. What is a progress bar in bootstrap?Progress bar is used with HTML tag style in HTML element using keyword. In bootstrap we use html5 with CSS classes that have special features in bootstrap, that is only made for the progress bar.Q14. How do you make images responsive?Bootstrap allows to make the images responsive by adding a class .img-responsive to the tag. This class applies max-width: 100%; and height: auto; to the image so that it scales nicely to the parent element.Q15. What are the steps for creating basic or vertical forms?The steps for creating basic or vertical forms include: Add a role form to the parent element Wrap labels and controls in awith class .form-group. This is required to achieve optimum spacing Add a class of .form-control to all texturl ,Q16. What is Bootstrap collapsing elements?Bootstrap collapsing elements enable you to collapse any particular element without writing any JavaScript code or the accordion markup. To apply collapsing elements in bootstrap, you need to add data-toggle= “collapse” to the controller element along with a data-target or href to automatically assign control of a collapsible element. Also, you can use .collapse (options), .collapse (‘show’) or .collapse (‘hide’) for the same.Q17. Explain types of lists supported by Bootstrap.Bootstrap supports three types of lists such as: Ordered lists − An ordered list is a list that falls in some sort of sequential order and is prefaced by numbers. Unordered lists − An unordered list is a list that doesn’t have any particular order and is traditionally styled with bullets. If you do not want the bullets to appear then you can remove the styling by using the class .list-unstyled. Definition lists − In this type of list, each list item can consist of both the- and the
- elements.
- stands for definition term. Subsequently, the
- is the definition of the
- .
Q18. What is media object in Bootstrap and what are their types?Media objects in Bootstrap help you to put media object like image, video or audio to the left or right of the content blocks. Media element can be created using the class .media and the source is specified in using the class .media-object. Media-objects are of two types. The two types of media object are: .media .media-listQ19. Explain the uses of carousel plugin in Bootstrap.Carousel plugin in bootstrap is used to make sliders in the web pages or your site. There are several carousel plugins that are used in bootstrap to display large contents within a small space by adding sliders. Examples: .carousel(options), .carousel(‘pause’), .carousel(cycle’), .carousel(‘prev’), .carousel(‘next’).Q20. What are glyphicons? How to use them?Glyphicons are icon fonts that can be used in your web projects. Glyphicons Halflings are not free and require licensing. However, their creator has made them available for Bootstrap projects without any cost. To use the icons, you just have to use the following code just about anywhere in your code. Leave a space between the icon and text for proper padding.
4iv>
Frequently Asked Questions
ITlearn360.com offers instructor-led online live sessions and classroom-based corporate trainings and bootcamps for various courses and certifications to the learners.
@ITlearn360.com, we have an instructor community of industry professionals who are working in leading organizations and are veterans in their respective fields. These experts belong to various industries and are willing to share their talent with learners like you.
Yes, the classes @ITlearn360.com are conducted through online video streaming where there is two-way communication between users and instructors. The users can speak by using a microphone, chat by sending a message through a chat window and share their screens with an instructor. For better understanding, users also get recorded video of the class.