If we want define style for an unique element ,then which css selector will we use mcq
Answers
Answered by
11
Answer:
go to your element tag and type style="add your styling"
for example:-
<div style="color: #000"></div>
Explanation:
Answered by
5
Answer:
We should use Id CSS selector if we want to define a style for a unique element.
Explanation:
CSS stands for cascading style sheets that are used to display the content inside any text or are generally used in the web pages. CSS selectors are used to styling any content. There can be so many CSS selectors such as id, class, and attribute, and universal, etc. The ID used in the CSS selectors should be unique and should be only one.
Similar questions
Social Sciences,
6 months ago
Math,
6 months ago
English,
11 months ago
Computer Science,
11 months ago
Social Sciences,
1 year ago