Podcast
Questions and Answers
Which HTML tag is used to define an ordered list?
Which HTML tag is used to define an ordered list?
- <ul>
- <ol> (correct)
- <list>
- <li>
What is the hexadecimal color code for green in HTML?
What is the hexadecimal color code for green in HTML?
- #FF0000
- #FFFF00
- #FF00FF
- #00FF00 (correct)
Which of the following is the correct way to center an element horizontally in CSS?
Which of the following is the correct way to center an element horizontally in CSS?
- margin: auto;
- text-align: center;
- margin-left: auto; margin-right: 0; (correct)
- margin-left: 0; margin-right: auto;
Which HTML tag is used to define an ordered list?
Which HTML tag is used to define an ordered list?
What is the hexadecimal color code for yellow in HTML?
What is the hexadecimal color code for yellow in HTML?
Which of the following is the correct way to set the font size of an element in CSS?
Which of the following is the correct way to set the font size of an element in CSS?
Which class should be used to create a container with a light background color?
Which class should be used to create a container with a light background color?
Which class is used to create a full-width container spanning the entire width of the viewport?
Which class is used to create a full-width container spanning the entire width of the viewport?
Which HTML tag is used to create bold text?
Which HTML tag is used to create bold text?
Flashcards are hidden until you start studying
Study Notes
HTML Tags and Attributes
- An ordered list is defined using the
<ol>
tag. - Bold text in HTML is created using the
<strong>
or<b>
tag.
Color Codes in HTML
- The hexadecimal color code for green is
#008000
. - The hexadecimal color code for yellow is
#FFFF00
.
CSS Properties and Classes
- To center an element horizontally in CSS, use the
margin: auto;
property with a defined width. - Setting the font size of an element in CSS is done through the
font-size
property (e.g.,font-size: 16px;
).
Utilization of CSS Classes
- A container with a light background color can be created with the class
.bg-light
. - The class
.container-fluid
is used for a full-width container that spans the entire width of the viewport.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.