Top 350+ Solved Web Technology MCQ Questions Answer
Q. Which tag is used to display Preformatted texts?
a. <pre> … </ pre>
b. <prefor> … </ prefor>
c. <pre text> … </ pre text>
d. <pre format> … </ pre format>
Q. Head tag is used for?
a. Writing style
b. Writing Java Script
c. Including CSS, JS Files
d. All of these
Q. Which of the following are the background properties in CSS?i) background-color ii) background-image iii) background-repeat iv) background-position v) background
a. i, ii, iii and iv only
b. i, ii, iii and v only
c. i, ii, iv and v only
d. All of the above
Q. The different ways to associate styles with a HTML document are ……………
a. Embedded css with <style> element
b. Inline css with style attribute
c. External css with <link> element
d. All of the above
Q. The ..................... specifies whether a border should be solid, dashed line, dotted line, double line, groove etc.
a. border-layout
b. border-decoration
c. border-style
d. border-weight
Q. Which of the following are the advantages of CSS?
a. CSS saves time
b. Page load faster
c. Easy maintenance
d. All of the above
Q. A CSS style rule is made up of three parts which are ……i) Selector ii) Property iii) Value iv) Attribute
a. ii and iv only
b. ii, iii and iv only
c. i, ii and iii only
d. i, ii, iii and iv
Q. Which is not the selector type of CSS?
a. ID selector
b. Universal selector
c. Class selector
d. Element selector
Q. CSS comments are inserted inside …………………
a. //...................//
b. <!..................>
c. /*..................*/
d. All of the above
Q. ...................... is used to import an external style sheet
a. @insert
b. @import
c. #import
d. #insert
Q. The ___________ property specifies the stack order of an element
a. d-index
b. s-index
c. x-index
d. z-index
Q. To specify table border in CSS, ____________ property is used
a. tbl-border
b. table-border
c. tb-border
d. border
Q. ______________ property specifies an image to use as the background of an element
a. backg-img
b. backg-image
c. background-img
d. background-image