Computer Science, asked by bhattkhusu, 10 months ago

Observe the following HTML code and answer the questions:

h1 {text-align: center; color: white; transform: uppercase}

1. Identify the error and write the correct code.

2. What change will you make in the above code if you want the text in small

letters?

3. What other values can be specified with the text-align property?​

Answers

Answered by djdevmega
16

Ans 1: Error is the wrong transform property. Use text-transform.

Code: h1 { text-align: center; color: white; text-transform: uppercase; }

Ans 2: change uppercase keyword to lowercase.

Ans3: text-align can have left, right, jusitfy, initial and inherit.

Similar questions