ID selector is written with the (a) Period (b) Hash character. (c) Dollar (d) Star multi choice question
Answers
Answered by
1
Answer:
option b is the answer
Explanation:
please follow i will again follow.
Answered by
1
The id selector is written with the (b) hash character.
- Period or the full stop (.) character in CSS is used to declare the classes in CSS. it is used before the class name which is then enclosed by brackets.
- The hash character in CSS is used to define id selectors in CSS.
- The dollar character($) is not the character that is used in CSS, rather it is used to show specific inherited properties in javascript.
- The star character (*) in CSS is used as a universal selector. it is used while working with parent and child objects.
Hence the correct answer is (B) hash character.
Similar questions