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
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : -btn-group[/bg_collapse]
 
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
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : Both of the above[/bg_collapse]
 
Q3. Which of the following class indicates a successful or a positive action?
a) .active
b) .success
c) .warning
d) .danger
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : .success[/bg_collapse]
 
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
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : .img-circle[/bg_collapse]
 
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
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : Both of the above[/bg_collapse]
 
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.
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : .btn-group-vertical.[/bg_collapse]
 
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.
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : Both of the above.[/bg_collapse]
 
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
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : Both of the above[/bg_collapse]



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.
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : Inline Style Sheet[/bg_collapse]
 
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.
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : Document Style Sheet[/bg_collapse]
 
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
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : <link>[/bg_collapse]
 
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

[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : relevant tag[/bg_collapse]
 
Q13. A Table with no Border?
a) <table border=”0”>
b) <table border=”1”>
c) <table border=””>
d) None of the above
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : <table border=”0”>[/bg_collapse]
 
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
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : Transfer files to and from and Internet server.[/bg_collapse]
 
Q15. Which of the following are attributes of Font Tag?
a) Face
b) Size
c) Color
d) –Face-Size-Color
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : –Face-Size-Color[/bg_collapse]
 
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
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : In the <head>Section[/bg_collapse]
 
Q17. Which of the following is the HTML tag to define a preformatted text?
a) <preformat>
b) <format>
c) <pre>
d) <pretext>
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : <pre>[/bg_collapse]
 
Q18. Which of the following is not a style tag?
a) <b>
b) <tt>
c) <i>
d) <b>-<tt>-<i>
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : <b>-<tt>-<i>[/bg_collapse]



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
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : dir[/bg_collapse]
 
Q20. The Set of HTML tag is
a) <html></html>
b) <head></head>
c) <title></title>
d) All of the above.
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : All of the above.[/bg_collapse]
 
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”/>
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : <img src=”photo.gif”alt=”MyPhoto”/>[/bg_collapse]
 
Q22. The Doctype declaration for the HTML is
a) case sensitive
b) case insensitive
c) case impsensitive
d) None of the above
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : case insensitive[/bg_collapse]
 
Q23. ________ Tag is used to define a table header.
a) <th>
b) <td>
c) <tr>
d) None of the above
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : <th>[/bg_collapse]
 
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>
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : <a href=”http://www.myweb.com”>My Web</a>[/bg_collapse]



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”>
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : <td align=”left”>[/bg_collapse]
 
Q26. Which of the following is the HTML tag which describes a cell in a table?
a) <td>
b) <cell>
c) <cl>
d) <tc>
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : <td>[/bg_collapse]
 
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>
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : <ol>[/bg_collapse]
 
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
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : Ordered list[/bg_collapse]
 
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
[bg_collapse view=”button-green” color=”#FFF” icon=”arrow” expand_text=”Show Answer” collapse_text=”Hide Answer” ]Answer : datetime-local[/bg_collapse]