Web Programming (3160713) MCQs

MCQs of Basics of HTML andCSS

Showing 61 to 70 out of 73 Questions
61.
What is CSS Float? 1. allows other element to wrap around an element 2. element can be pushed to the left to right 3. element can be pushed to any direction
(a) 2 and 3
(b) 1 and 3
(c) 3
(d) 1 and 2
Answer:

Option (d)

62.
To specify table border in CSS, ____________ property is used
(a) tbl-border
(b) table-border
(c) tb-border
(d) border
Answer:

Option (d)

63.
_________ property can be used to Increase or decrease the space between words 1. space 2. word-spacing 3. word-space
(a) 1 and 3
(b) 2
(c) 3
(d) 1
Answer:

Option (b)

64.
Which of the following statements is TRUE for CSS 1. An external style sheet is ideal when the style is applied to many pages 2. An inline style sheet should be used when a single document has a unique style 3. An external style sheet can be written in HTML
(a) 1
(b) 1 ans 3
(c) 2 and 3
(d) 1,2 and 3
Answer:

Option (a)

65.
Which of the following statements is/are true in css? 1. Hiding an element can be done by setting the display property to "none" 2. Hiding an element can be done by setting visibility property to "hidden" 3. Hiding an element can be done by setting block property to "hidden"
(a) 1 and 3
(b) 1 and 2
(c) 2 and 3
(d) 1
Answer:

Option (b)

66.
ID name should not start with a number
(a) no
(b) yes
(c) maybe
(d) never
Answer:

Option (b)

67.
______________ property specifies an image to use as the background of an element
(a) bg-image
(b) backg-img
(c) background-img
(d) background-image
Answer:

Option (d)

68.
Which is not the selector type of CSS?
(a) Type selector
(b) Universal selector
(c) Local selector
(d) Descendant selector
Answer:

Option (c)

69.
The possible formats of CSS colors are. i) Hex code - #RRGGBB ii) Short Hex Code - #RGB iii) RGB% - rgb(rrr%, ggg%, bbb%) iv) Keyword - teal, blue, black
(a) i, ii and iv only
(b) ii, iii and iv only
(c) i, iii and iv only
(d) All i, ii, iii and iv
Answer:

Option (d)

70.
...................... is used to import an external style sheet in a manner similar to the element.
(a) @insert
(b) @import
(c) #import
(d) #insert
Answer:

Option (b)

Showing 61 to 70 out of 73 Questions