HCI Lab MCQ Questions
HCI Lab MCQ Questions
Questions
9. Which of the following CSS property defines the space between cells in a table?
a) border-spacing
b) border-style
c) border
d) none of the mentioned
11.The value for the "margin" property “auto ” is used to center an element
verticallywithin its parent container?
a)True b) False
12.Which of the following type of HTML tag is used to define an internal style sheet?
a) <script>
b) <link>
c) <class
>d)
<style>
13.Which of the following is the correct syntax to link an external style sheet in the HTML file?
a) <link rel=”stylesheet” src=”style.css” />
b) <style rel=”stylesheet” src=”style.css” />
c) <style rel=”stylesheet” link=”style.css”
/> d) <link rel=”stylesheet”
href=”style.css” />
14. Which of the following elements was introduced in HTML3 to support text alignment?
a) <div>
b) <center>
c) <align>
d) <justify>
21.Which of the following is used to read an HTML page and render it?
a) Web server
b) Web network
c) Web browser
d) Web matrix
27.To Obligate the user to enter his information you have to use .............. .
a) obligated
b) no validate
c) required
d) get and post
28.which of the following tags doesn’t require a closing tag?
a. <br>
b. <hr>
c. Both a and b
d. None of the above
29. Which CSS property is used to set the margin on all four sides of an element simultaneously?
a. margan-all
b. margan
c. all-margan
d. None of the above
30. How can you apply opacity to only the background of an element, not affecting the text and other
content?
a. background-opacity: 0.5;
b. background-color: rgba(255, 0, 0, 0.5);
c. opacity: 0.5; background: no-opacity;
d. d) text-opacity: 0.5;
31.Which of the following is the correct syntax to make the background-color of all paragraph elements
toyellow?
a) p {background-color : yellow;}
b) p {background-color : #yellow;}
c) all {background-color : yellow;}
d) all p {background-color : #yellow;}
32.Which of the following syntax is correct in CSS to make each word of a sentence start with a capital letter?
a) text-style : capital;
b) transform : capitalize;
c) text-transform : capital;
d) text-transform :
capitalize;
33.The CSS property used to make the rounded borders, or rounded corners around an element is -
a) border-collapse
b) border-radius
c) border-spacing
d) None of the above
34.What is the correct syntax to write an HTML comment?
a) // Hello
b) # Hello
c) /* Hello */
d) <!--Hello->
a) structure of a webpage
b) skeleton of a webpage
c) layout of the webpage
d) None of them
a) .
b) $
c) #
d) *
37.p tag is a HTML tag for inline paragraph
true b) false
Which class would you use to create a button with the primary color scheme in Bootstrap?
a) .btn-main
b) .btn-primary
c) .btn-default
d) .btn-first
Bootstrap, how do you create a grid column that spans 6 out of 12 columns on medium devices?
a) .col-md-6
b) .col-sm-6
c) .col-lg-6
d) .col-xs-6