29
QuizMultiple Choice

Unit Test — Unit test

Question 29 • Introduction to Information Technology - EL3701 A

Look at the code, and then answer the question below. #intro {text-transform: uppercase;font-style: italic;text-indent: 0px;} ... Alice was beginning to get very tired of sitting by her sister on the bank. ...Which of the following statements is true according to the code?

Answer
A
The paragraph with the id="intro" atribute is indented.
B
The #intro style applies to all paragraphs.
C
Text in the paragraph with the id="intro" atribute is blue.
D
Text in the paragraph with the id="intro" atribute is all uppercase and italic.

Explanation

The selector #intro targets the element whose id is "intro". Its text-transform: uppercase; rule makes the text uppercase, and font-style: italic; makes it italic. The text-indent is 0px, so it is not indented, and no blue color is specified.

AI-written and checked against the verified answer.

Previous
Next