sha0001 / adventures

HTML and CSS learning
1 stars 1 forks source link

`</mark>` should be before `</p>` #4

Closed ichiban closed 4 years ago

ichiban commented 4 years ago

They don't nest correctly. Also, <p> can contain <mark> but <mark> cannot contain <p> so it should be this order.

sha0001 commented 4 years ago

I think i was moving this section around a lot and got the tags mixed up in order.

Interestingly it seems to still work with the incorrect order? But it definitely makes the nesting clearer to read.