Question:Which of the following CSS rule contains syntax error?
A p{margin-left:40px;}
B p{margin-left:40px}
C p{margin-left: 40px;}
D p{margin-left:40 px;}
E abc{margin-left: 40px;}
/30
+ Answer
DE
+ Explanation1. No space is allowed between value and unit of CSS property.
2. Type selector valid for only html element. Here abc is not valid html element.