Answers Already Passed
Which of the following is a valid CSS selector?
A) .classname
✔✔B) #idname
C) *
D) All of the above
Which CSS property controls the layout of elements on a webpage?
A) text-align
✔✔B) display
C) layout
D) positioning
What is the default value of the `position` property in CSS?
A) absolute
1
, ✔✔B) static
C) relative
D) fixed
Which of the following is a method to include CSS in an HTML document?
A) Inline
B) Internal
C) External
✔✔D) All of the above
What unit is commonly used for font sizes in CSS?
A) pixels
✔✔B) em
C) inches
D) centimeters
How do you select all `<p>` elements on a webpage using CSS?
✔✔A) p { }
2