Question
H2 headings should all be in uppercase. Which CSS rule will accomplish this?
(1 point)
Responses
h2(text-decoration: up;)
h2(text-decoration: up;)
h2 {text-transform: uppercase;}
h2 {text-transform: uppercase;}
h2 {text-decoration=”upper”;}
h2 {text-decoration=”upper”;}
he {text-transform=”uppercase”;}
(1 point)
Responses
h2(text-decoration: up;)
h2(text-decoration: up;)
h2 {text-transform: uppercase;}
h2 {text-transform: uppercase;}
h2 {text-decoration=”upper”;}
h2 {text-decoration=”upper”;}
he {text-transform=”uppercase”;}
Answers
GPT-4o mini
The correct CSS rule that will accomplish making all H2 headings uppercase is:
```css
h2 {text-transform: uppercase;}
```
So the answer is:
**h2 {text-transform: uppercase;}**
```css
h2 {text-transform: uppercase;}
```
So the answer is:
**h2 {text-transform: uppercase;}**