CSS / CSS3 : Web Designing Questions & Answers
Question : How will you make all paragraph elements 'RED' in color ?
A.
p.all {color: red;}
B.
p.all {color: #990000;}
C.
all.p {color: #998877;}
D.
p {color: red;}
Correct Answer is : Option D.
- By default Hyperlinks are displayed with an underline. How do you remove the underline from all hyperlinks by using CSS code ?
- If we want define style for an unique element, then which css selector will we use ?
- If we don't want to allow a floating div to the left side of an element, which css property will we use ?
- Suppose we want to arragnge five nos. of DIVs so that DIV4 is placed above DIV1. Now, which css property will we use to control the order of stack?
- Can we align a Block element by setting the left and right margins ?