04 HTML - Dmca 25-03-2023
04 HTML - Dmca 25-03-2023
HTML/DHTML
Course Code: DMCA
NOTE:
1. There are four parts in this module/paper. This module contains mcq, true/false & fills in the blanks or match
making questions.
2. All questions are compulsory
3. Don’t use whitener/correction pen.
4. No number will be given for overwriting or cutting
1) Which of the following is the correct syntax to apply a Which of the following CSS units is based on the font size
CSS rule to an element with id="main"? of an element?
a) .main { } b) main { } a) em b) px
c) #main { } d) element main { } c) cm d) %
7) In a RGBA color value, what does A stand for? 17) Which is not a value for font weight property?
A) opacity for a color B)Aqua color A) bold B) bolder
C) opacity Azure color D) All of the above C) light D) thin
Page | 1
MAR 2023
3. Match words and phrases in column X with the closest related meaning/words(s) phrases(s) in column Y.: (1X10)
X Y
1 override the current text direction A Short quotation
2 Add abbreviation B positioning and formatting
content
3 <q> C Cascading stylesheets
4 <br> D <bdo>
5 <style> E paragraph
6 CSS stands for F Stack order of element
7 <img> G break
8 float H Internal css
9 <p> I Inserting image
10 z-index property J <abbr>
3) The ____ attribute is used to define the alternative text for an image in HTML.
7) The ____ property is used to change the background color of an element in CSS.
8) The ____ property is used to change the font size of an element in CSS.
9) The ____ property is used to change the text color of an element in CSS.
10) The ____ property is used to set the height of an element in CSS.
Page | 2