0
0
Bootsrapmarkup

Card structure (header, body, footer) in Bootsrap - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What are the three main parts of a Bootstrap card?
A Bootstrap card usually has a header, a body, and a footer. These parts help organize content clearly.
Click to reveal answer
beginner
How do you add a header to a Bootstrap card?
Use the class .card-header inside the card container to create a header section at the top of the card.
Click to reveal answer
beginner
What is the purpose of the <code>.card-body</code> class in Bootstrap cards?
The <code>.card-body</code> class holds the main content of the card, like text, images, or buttons. It gives padding and spacing inside the card.
Click to reveal answer
beginner
How can you add a footer to a Bootstrap card?
Add a <div> with the class .card-footer inside the card container to create a footer section at the bottom.
Click to reveal answer
beginner
Why use a card footer in Bootstrap cards?
A card footer is useful for showing extra info like links, buttons, or small notes separate from the main content.
Click to reveal answer
Which class creates the main content area inside a Bootstrap card?
A.card-body
B.card-header
C.card-footer
D.card-main
Where should you place the .card-header in a Bootstrap card?
AAt the bottom of the card
BOutside the card container
CAt the top of the card
DInside the card body
What is the correct class to add a footer to a Bootstrap card?
A.footer
B.footer-card
C.card-end
D.card-footer
Which part of the card is best for placing buttons or links related to the card content?
ACard footer
BCard header
CCard body
DOutside the card
What HTML element is commonly used to create each section (header, body, footer) inside a Bootstrap card?
A<section>
B<div>
C<article>
D<header>
Describe how to build a simple Bootstrap card with a header, body, and footer.
Think about the order and classes needed inside a card container.
You got /4 concepts.
    Explain why separating content into header, body, and footer is helpful in Bootstrap cards.
    Consider how people read and understand grouped information.
    You got /4 concepts.