A little thing I found out when validating my code on WC3.
Elements such as p cannot be used inside inline elements h2, instead use font or span.
- <incorrect><h2><p>Hello</p></h2>
- <correct><h2><span>Hello</span></h2>
A little thing I found out when validating my code on WC3.
Elements such as p cannot be used inside inline elements h2, instead use font or span.
Leave a Reply