Bootstrap Quiz

Bootstrap Quiz




Q1. Which of the following bootstrap style is used for a basic button group?
a) -btn-group
b) -btn-toolbar
c) -btn-group-lg
d) -btn-group-vertical

Answer : -btn-group

 
Q2. Which of the following is correct about dropdown Plugin?
a) You can toggle the dropdown plugin hidden content via data attributes.
b) You can toggle the dropdown plugin hidden content via Javascript.
c) Both of the above
d) None of the above
Answer : Both of the above

 
Q3. Which of the following class indicates a successful or a positive action?
a) .active
b) .success
c) .warning
d) .danger
Answer : .success

 
Q4. Which of the following bootstrap style of image makes the entire image round by adding border-radius:500px?
a) .img-rounded
b) .img-circle
c) .img-thumbnail
d) None of the above
Answer : .img-circle

 
Q5. Which of the following is correct about Modal Plugin?
a) You can toggle the Modal plugin hidden content via data attributes.
b) You can toggle the Modal plugin hidden content via Javascript.
c) Both of the above
d) None of the above
Answer : Both of the above

 
Q6. Which of the following bootstrap style makes a set of buttons appear vertically stacked rather than horizontally?
a) .btn-group
b) .btn-toolbar
c) .btn-group-lg
d) .btn-group-vertical.
Answer : .btn-group-vertical.

 
Q7. Which of the following is correct about Tab Plugin?
a) You can toggle the Tab plugins hidden content via data attributes.
b) You can toggle the Tab plugins hidden content via javascript.
c) Both of the above.
d) None of the above.
Answer : Both of the above.

 
Q8. Which of the following is correct about Bootstrap Media Query?
a) Media Query is a really fancy term for conditional CSS rule.
b) It simply applies some CSS, based on certain conditions set forth. If those conditions are met, the style is applied
c) Both of the above
d) None of the above
Answer : Both of the above




Q9. Which style sheet can be apply to the content of a single element?
a) Inline Style Sheet
b) External style Sheet
c) Document/Embedded Style Sheet
d) None of the above.
Answer : Inline Style Sheet

 
Q10. Which of the style sheet is also known as Embedded style sheet?
a) Document Style Sheet
b) Inline Style Sheet
c) External Style Sheet
d) None of the above.
Answer : Document Style Sheet

 
Q11. A ________ Tag is used to specify that the browser is to fetch and use an external style sheet file?
a) <sheet>
b) <link>
c) <src>
d) None of the above
Answer : <link>

 
Q12. To use Inline styles you use the style attribute in the ___________ Tag?

  1. a) style tag
  2. b) relevant tag
  3. c) link tag
  4. d) None of the above

Answer : relevant tag

 
Q13. A Table with no Border?
a) <table border=”0”>
b) <table border=”1”>
c) <table border=””>
d) None of the above
Answer : <table border=”0”>

 
Q14. What id FTP program used for?
a) Transfer files to and from and Internet server.
b) Designing a website
c) Connecting to the Internet.
d) None of the above
Answer : Transfer files to and from and Internet server.

 
Q15. Which of the following are attributes of Font Tag?
a) Face
b) Size
c) Color
d) –Face-Size-Color
Answer : –Face-Size-Color

 
Q16. Where in an HTML document is the correct place to refer to an external style sheet?
a) In the <head>Section
b) At the top of the document
c) At the end of the document
d) In the <body> section
Answer : In the <head>Section

 
Q17. Which of the following is the HTML tag to define a preformatted text?
a) <preformat>
b) <format>
c) <pre>
d) <pretext>
Answer : <pre>

 
Q18. Which of the following is not a style tag?
a) <b>
b) <tt>
c) <i>
d) <b>-<tt>-<i>
Answer : <b>-<tt>-<i>




Q19. Which of the following is an attribute which specifies the text direction for the content in an element?
a) dir
b) direction
c) textdir
d) textdirection
Answer : dir

 
Q20. The Set of HTML tag is
a) <html></html>
b) <head></head>
c) <title></title>
d) All of the above.
Answer : All of the above.

 
Q21. Which of the following is the correct HTML is for inserting an image?
a) <image src=”photo.gif”alt=”MyPhoto”/>
b) <img src=”photo.gif”alt=”MyPhoto”/>
c) <image href=”photo.gif”alt=”MyPhoto”/>
d) <image alt=”photo.gif”alt=”MyPhoto”/>
Answer : <img src=”photo.gif”alt=”MyPhoto”/>

 
Q22. The Doctype declaration for the HTML is
a) case sensitive
b) case insensitive
c) case impsensitive
d) None of the above
Answer : case insensitive

 
Q23. ________ Tag is used to define a table header.
a) <th>
b) <td>
c) <tr>
d) None of the above
Answer : <th>

 
Q24. Which of the following is correct HTML for creating a hyperlink?
a) <a>http://www.myweb.com</a>
b) <a uri=”http://www.myweb.com”>My Web</a>
c) <a href=”http://www.myweb.com”>My Web</a>
d) <a value=http://www.myweb.com>My Web</a>
Answer : <a href=”http://www.myweb.com”>My Web</a>




Q25. Which of the following is the HTML tag to left-align the content inside a table cell?
a) <td leftalign>
b) <td align=”left”>
c) <tdleft>
d) <td valign=”left”>
Answer : <td align=”left”>

 
Q26. Which of the following is the HTML tag which describes a cell in a table?
a) <td>
b) <cell>
c) <cl>
d) <tc>
Answer : <td>

 
Q27. Which of the following is used to make a list that lists the items with numbers?
a) <nl>
b) <list>
c) <ol>
d) <dt>
Answer : <ol>

 
Q28. A list which is provided with numeric digit is called an?
a) Ordered list
b) Unordered list
c) Definition list
d) None of the above
Answer : Ordered list

 
Q29. A _________(year, month ,day ,hour ,minute, second, fractions of a second)encoded according to ISO 8601 with the time zone set to UTC?
a) datetime-local
b) datetime
c) datesecond
d) dateminute
Answer : datetime-local