How can I add a uppercase class to a <h1 > element? like this <h1 class="title".top vacation spot</h1> :confused:

Hello @net9943185968. Do you mean have multiple classes attributed to the same tag? If so, you can separate the class names with a space:

<p class="class1 class2">

If you mean how do you target multiple classes, you can list the in CSS:

.class1, .class2 {
/*some CSS*/

I hope this helps!

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.