Bootstrap Multiple choices


Total available count: 25
Subject - Web Development
Subsubject - Bootstrap

Which class adds zebra-stripes to a table?


 

 

 

 



D


Solution:-

Striped Rows
The .table-striped class adds zebra-stripes to a table as follows:

<div class="container">
 <h2>Striped Rows</h2>
 <p>The .table-striped class adds zebra-stripes to a table:</p>      
 <table class="table table-striped">
  <thead>
   <tr>
    <th>Firstname</th>
    <th>Lastname</th>
    <th>Email</th>
   </tr>
  </thead>
  <tbody>
   <tr>
    <td>Slightbook</td>
    <td>Author1</td>slightbook.com</td>
   </tr>
   <tr>
    <td>Slightbook</td>
    <td>Author2</td>
    <td>[email protected]</td>
   </tr>
   <tr>
    <td>Slightbook</td>
    <td>Author3</td>
    <td>[email protected]</td>
   </tr>
  </tbody>
 </table>
</div>

 




Next 4 multiple choice(s)

1

The Bootstrap grid system is based on how many columns?

2

Which class provides a full-width container, spanning the entire width of the viewport?

3

Which class provides a responsive fixed width container?

4

Bootstrap is a

Comments