Coding Global Background
Coding Global

Hi. How do I fix this?

Archived 3 years ago
4 messages
0 members
3 years ago
Open in Discord
B
bluepianist

```html <body> <h1> A blue heading</h1> <p> Hello </p> <a href="https://www.apple.com" target="_blank">Apple</a> <h2 class="hi">No.</h1> <p class="hi"> Yes.</p> </body> ``` I'm trying to make the first <p> Hello </p> have the specified, but I don't want the lower <p class="hi"> Yes. </p> to have the properties of the previous p. But apparently the second CSS for p.hi only changes the font style, but still keeps the border. How do I circumvent this?

Hi. How do I fix this?

Replies (4)