Dynamic Webpage With Scripting Language (3360705) MCQs

MCQs of Form Designing using Canvas and CSS

Showing 101 to 110 out of 143 Questions
101.
How do you display a padding like this:
The top padding = 100 pixels
The bottom padding = 200 pixels
The left padding = 300 pixels
The right padding = 300 pixel?
તમે આની જેમ padding ને કેવી રીતે ડિસ્પ્લે કરો છો:
top padding = 100 pixels
bottom padding = 200 pixels
left padding = 300 pixels
right padding = 300 pixel?
(a) padding: 100px 300px 200px;
(b) padding: 100px 200px;
(c) padding: 200px 300px 100px;
(d) padding: 300px 100px 200px;
Answer:

Option (a)

102.
How do you display a margin like this:
The top margin = 25 pixels
The bottom margin = 75 pixels
The left margin = 100 pixels
The right margin = 50 pixel?
તમે આની જેમ margin ને કેવી રીતે ડિસ્પ્લે કરો છો:
top margin = 25 pixels
bottom margin = 75 pixels
left margin = 100 pixels
right margin = 50 pixel?
(a) margin: 25px 70px 100px 50px;
(b) margin: 25px 100px 75px 50px;
(c) margin: 25px 50px 75px 100px;
(d) margin: 100px 50px 75px 25px;
Answer:

Option (c)

103.
What is the correct HTML syntax for adding a background color?
Background color ઉમેરવા માટે યોગ્ય HTML syntax શું છે?
(a) <body bg="yellow">
(b) <body style="background-color:yellow;">
(c) <background> yellow </background>
<backgroung> yellow </background>
(d) <body style: "background-color:yellow;">
Answer:

Option (b)

104.
The _______ selector is used to select elements whose attribute value ends with a specified value.
_______ selector એલિમેંટ સિલેક્ટ કરવા માટે વપરાય છે જેમના attributeની વેલ્યુ specify વેલ્યુ સાથે end થાય છે.
(a) [attr$=value]
(b) [attr*=value]
(c) [attr|=value]
(d) [attr^=value]
Answer:

Option (a)

105.
The _______ selector is used to select elements with the specified attribute starting with the specified value.
_______ selectorનો ઉપયોગ સિલેક્ટ એલિમેંટથી શરૂ થતાં specify attribute વાળા એલિમેંટને સિલેક્ટ કરવા માટે થાય છે.
(a) [attr^=value]
(b) [attr=value]
(c) [attr|=value]
(d) [attr*=value]
Answer:

Option (c)

106.
How do you display a border like this:
The top border = 10 pixels
The bottom border = 5 pixels
The left border = 20 pixels
The right border = 1pixel?
તમે આની જેમ કોઈ બોર્ડર કેવી રીતે ડિસ્પ્લે કરો છો:
The top border = 10 pixels
The bottom border = 5 pixels
The left border = 20 pixels
The right border = 1pixel?
(a) border-width:10px 20px 5px 1px;
(b) border-width:10px 5px 20px 1px;
(c) border-width:10px 1px 5px 20px;
(d) border-width:5px 20px 10px 1px;
Answer:

Option (c)

107.
Which property is used to change the left margin of an element?
એલિમેંટના left marginને change માટે કઈ પ્રોપર્ટિનો ઉપયોગ થાય છે?
(a) margin-left
(b) padding-left
(c) indent
(d) left-margin
Answer:

Option (a)

108.
How do you make a list that lists its items with squares?
તમે લિસ્ટની itemsને squares સાથે કેવી રીતે લિસ્ટ બનાવો છો?
(a) list: square;
(b) list-type: square;
(c) list-style-type: square;
(d) liststyletype: square;
Answer:

Option (c)

109.
How do you select an element with id 'demo'?
id 'demo' સાથે તમે કેવી રીતે એલિમેંટ સિલેક્ટ કરો છો?
(a) demo
(b) *demo
(c) .demo
(d) #demo
Answer:

Option (d)

110.
How do you select elements with class name 'test'?
Class name 'test' સાથે તમે એલિમેંટ કેવી રીતે સિલેક્ટ કરો છો?
(a) .test
(b) #test
(c) *test
(d) test
Answer:

Option (a)

Showing 101 to 110 out of 143 Questions