I have currently this code:
<ul class="char">
<li>
<label class="textOverImage" style="background-image:url(img/text.png)">
<input type="checkbox">
<h3>Joyce Byers</h3>
<div>
text
</div>
</label>
</li>
w3.validator.org gives me this error: Element h3 not allowed as child of element label in this context.
Element div not allowed as child of element label in this context.
I really don't know another way to do this. Is there a way to get what I want without an error?
i"m trying to make this: https://codepen.io/zFunx/pen/QvzeBN
Thank you in advantage