True/False 1. A CSS element selector does not start with a hash or period charac
ID: 3867222 • Letter: T
Question
True/False1. A CSS element selector does not start with a hash or period character.
2. A CSS class selector always starts with the sharp sign (i.e.'#').
3. The selector p#intro identifies a paragraph that class intro. True/False
1. A CSS element selector does not start with a hash or period character.
2. A CSS class selector always starts with the sharp sign (i.e.'#').
3. The selector p#intro identifies a paragraph that class intro.
1. A CSS element selector does not start with a hash or period character.
2. A CSS class selector always starts with the sharp sign (i.e.'#').
3. The selector p#intro identifies a paragraph that class intro.
Explanation / Answer
Solution:-
---------------------------------------------------------------------------------------------------
1) A CSS element selector does not start with a hash or period character.
Answer - False
Explanation - The CSS elements selector can be start with a hash or a period character. So the given statement is false.
---------------------------------------------------------------------------------------------------
2) A CSS class selector always starts with the sharp sign (i.e.'#').
Answer - False
Explanation - The CSS class selector does not starts with a sharp (#) sign. It starts with a (.) sign and then file name. CSS class selector selects the elements with a specific class attribute.
---------------------------------------------------------------------------------------------------
3) The selector p#intro identifies a paragraph that class intro.
Answer - False
Explanation - The p selector selects the <p> elements. The #is used for id selector. So this Statement is false.
---------------------------------------------------------------------------------------------------
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.