Home
10th Grade
11th And 12th
11th Grade
12th Grade
3rd Grade
4th Grade
5th Grade
6th Grade
7th Grade
8th Grade
9th Grade
Advance Accountancy
Auditing
Computer Aptitude
Direct And Indirect Taxation
Exams
General Hindi
Indian Finance System
Information Technology And Application In Business
Macro Economics
Town Planning
Aerospace And Aeronautical
Analytical Instrumentation
Banking Awareness
Banking Exam
Biochemistry
Bioinformatics
Biology
Biotechnology
Business Statistics
C Program
C Programming
C++ Programming
Career Aptitude Test
Cell Biology
Central Superior Service (css)
Chemical Engineering
Chemistry
Civil Engineering
Commerce
Computer
Computer Fundamentals
Computer Science
Cost Accounting
Css
Database
Drug And Pharmaceutical Biotechnology
Ecat And Mcat Entry Test
Economics
Electrical Engineering
Electrical Engineering Questions
Electrical Measurement And Instrumentation
Engineering
English
English Literature
Environment Management
Environmental Biotechnology
Enzyme Technology
Financial Management And Financial Markets
Gate
General Knowledge
Graduate Assessment Test (gat)
Health And Physical
Heat Transfer
Html
Human Anatomy And Physiology
Human And Cultural Diversity
Human Resource Management
Ias
Indian Economy
Indian Economy
Indian General Awareness
Indian Geography
Indian Geography
Indian History
Indian History
Indian Polity
Instrumentation Transducers
International Relations
Java Program
Javascript
Judiciary And Law
Life Sciences
Management
Marketing And Marketing Management
Mass Transfer
Mechanical Engineering
Mechanics Of Materials
Medical Subjects
Microbiology
Networking
Php
Placement Tests
Professional Communication
Quantitative Aptitude
Reasoning Aptitude
Renewable Energy
Science
Sociology
Sql
Surveying
Total Quality Management
Uidai Aadhaar Supervisor Certification
Virology
Notificatin
Exam
Blog
Contact Us
Css Selectors And Css Files(Css ) Questions and Answers
Home
Topic
Css
Css Selectors And Css Files
Question 1.
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
Explanation:-
Answer: Option D. ->
All of the mentioned
Question 2.
The _______property is used to set the color of the text.
pallet
colour
color
text-decoration
Explanation:-
Answer: Option C. ->
color
Question 3.
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
Explanation:-
Answer: Option D. ->
all of the mentioned
Question 4.
What will happen in this case?
text
make that specific paragraph red.
error
nothing happens
none of the mentioned
Explanation:-
Answer: Option A. ->
make that specific paragraph red.
Question 5.
Which of the following is the correct way to applying style to a document?
Use an external style sheet, either by importing it or by linking to it
Directly embed a document-wide style in the head element of the document
Set an inline style rule using the style attribute directly on an element
All of the mentioned
Explanation:-
Answer: Option D. ->
All of the mentioned
Question 6.
A ___________ is used to define a special state of an element.
pseudo-tag
pseudo-element
pseudo-id
pseudo-class
Explanation:-
Answer: Option D. ->
pseudo-class
Question 7.
Which of the following selector selects the elements that are the default among a set of similar elements?
:default
:%
:disabled
none of the mentioned
Explanation:-
Answer: Option A. ->
:default
Example: :default {background-color: red;}
Question 8.
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
Explanation:-
Answer: Option B. ->
E[attr$=value]
Example: p[title$="!"] {color: red;}
Question 9.
The __________ property specifies the type of positioning method used for an element.
align
float
position
padding
Explanation:-
Answer: Option C. ->
position
Question 10.
Which of the following selector selects the elements that are checked?
E ~ F
::after
:checked
none of the mentioned
Explanation:-
Answer: Option C. ->
:checked
Example: :checked {color: blue;}
1
2
3
Next →
One click Login
Login With Google
Old way of Login
Login With Email