Which of the following is the correct way to applying style to a document?
A. Use an external style sheet, either by importing it or by linking to it
B. Directly embed a document-wide style in the head element of the document
C. Set an inline style rule using the style attribute directly on an element
D. All of the mentioned
Answer: Option D
Join The Discussion
Comments ( 1 )
Related Questions on Basic CSS
A. Color Style Sheets
B. Cascade Sheets Style
C. Cascade Style Sheet
D. Cascading Style Sheets
In css what does “color:red” can be called as
A. Selector
B. Rule
C. Declaration
D. None of the above
Which of the following attributes is used to specify elements to bind style rules to?
A. id
B. class
C. tag
D. all of the mentioned
Right