Podcast
Questions and Answers
Which class should be used to center the content horizontally inside a container?
Which class should be used to center the content horizontally inside a container?
What is the correct HTML for creating a checkbox?
What is the correct HTML for creating a checkbox?
Which of the following is the correct way to set a background color in HTML?
Which of the following is the correct way to set a background color in HTML?
Which class should be used to add a rounded border to an image?
Which class should be used to add a rounded border to an image?
Signup and view all the answers
Which Bootstrap class should be used to create a navigation bar?
Which Bootstrap class should be used to create a navigation bar?
Signup and view all the answers
Which CSS property is used to change the color of text?
Which CSS property is used to change the color of text?
Signup and view all the answers
Which class should be used to create a container that takes up the full width of the viewport?
Which class should be used to create a container that takes up the full width of the viewport?
Signup and view all the answers
Which class should be used to create a column that takes up half of the grid on small devices?
Which class should be used to create a column that takes up half of the grid on small devices?
Signup and view all the answers
Which class should be used to create a row of columns that are centered horizontally within a container?
Which class should be used to create a row of columns that are centered horizontally within a container?
Signup and view all the answers
Study Notes
HTML and Bootstrap Classes
- Use the class
.text-center
to center content horizontally inside a container. - The correct HTML for creating a checkbox is
<input type="checkbox">
. - To set a background color in HTML, inline style can be used:
<div style="background-color: #color;">
. - The class
.rounded
can be used to add a rounded border to an image in Bootstrap. - Create a navigation bar in Bootstrap using the class
.navbar
.
CSS Properties
- Change the color of text using the CSS property
color
.
Bootstrap Grid System
- The class
.container-fluid
creates a container that takes up the full width of the viewport. - Use the class
.col-sm-6
to create a column that takes up half of the grid on small devices. - The class
.justify-content-center
is used to center a row of columns horizontally within a container.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge of web development with these quick and simple questions. Learn about centering content horizontally in containers and creating checkboxes in HTML. Challenge yourself with these fundamental concepts and improve your skills.