Basic Css - Study Mode
[#86] Which of the following tag can be used to embed a Document-wide styles in a document's head element?
Correct Answer
(B) <style>
[#87] With, which tag you write the style rules directly within the document found within the head of the document.
Correct Answer
(C) <style>
[#88] What will happen in this case? h1 {color: red text-decoration: underline
font-style: italic
}
Correct Answer
(D) only font-style: italic works
Explanation
Solution: In this case, we should see the browser continue to parse the value of color as “red textdecoration:
underline” before it sees a closing semicolon. The font-style property that follows would then be used. Because the color property has an illegal value, it should be
ignored.
[#89] What will happen in this case? h1 {color: "green"
}
Correct Answer
(D) nothings happen
[#90] Which of the following Selector same as :firstline
changed under CSS3 to make pseudoelements obvious?
Correct Answer
(D) ::first-line