Computer MCQS
Sciences MCQS
2.
What will be the output of below mentioned code snippet?
Make that specific paragraph red.
Error
Nothing happens
None of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
3.
The _______property is used to set the color of the text.
Pallet
Colour
Color
Text-decoration
4.
Which of the following is the correct way to apply Styles?
Inside an HTML element
Inside the section of an HTML page
In an external CSS file
All of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
5.
Which of the following CSS list properties is/are correct?
Set different list item markers for ordered lists
Set different list item markers for unordered lists
Set an image as the list item marker
All of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
6.
A ___________ is used to define a special state of an element.
Pseudo-tag
Pseudo-element
Pseudo-id
Pseudo-class
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
7.
The __________ property specifies the type of positioning method used for an element.
Align
Float
Position
Padding
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
8.
Which style is this?
Inline Styles
External Style Sheet
External Style Sheettyle Sheet
None of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
9.
Which of the following selector selects all elements of E that have the attribute attr that end with the given value?
E[attr^=value]
E[attr$=value]
E[attr*=value]
None of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
10.
Which of the following selector selects the elements that are checked?
E ~ F
::after
:checked
None of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
11.
Which of the following selector selects the elements that are the default among a set of similar elements?
:default
:%
:disabled
None of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
12.
Which of the following selector selects an element that has no children?
:empty
:nochild
:inheritance
:no-child
13.
Which of the following selector selects the elements that are currently enabled?
:element
:empty
:enabled
None of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
14.
Which of the following selector selects the element that is the first child of its parent that is of its type?
:first-of-type
:last-child
::first-line
::first-letter
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
15.
Which of the following selector selects elements that do not match the selector s?
:!(s)
:nth-child(s)
:not(s)
None of the mentioned