Open In App

Web technologies Questions | Bootstrap Quiz | Set-3 | Question 6

Like Article
Like
Save
Share
Report

Which of the below is the correct syntax for adding flexbox in Bootstrap pages ?
(A) <div id=”d-flex p-2″></div>
(B) <div id=”d-fixp-2″></div>
(C) <div id=”flex p-2″></div>
(D) <div id=”d-flex p-2″></div>


Answer: (D)

Explanation: The <div id=”d-flex p-2″></div> is flexible box layout module in bootstrap is used for designing the flexible and responsive layout component. It is used in Bootstrap version 4.

Quiz of this Question
Please comment below if you find anything wrong in the above post


Last Updated : 28 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads