The HTML code snippet inside the Don’t split same link that can be grouped section, specifically the Good one, shows that wrapping the h1 and p tag inside an anchor tag.
<a href="https://whatwg.org/">
<h1>WHATWG</h1>
<p>A community maintaining and evolving HTML since 2004.</p>
</a>
It could be essentially an invalid HTML according to Can I Include site.
The HTML code snippet inside the Don’t split same link that can be grouped section, specifically the Good one, shows that wrapping the
h1
andp
tag inside an anchor tag.It could be essentially an invalid HTML according to Can I Include site.
p
as the child ofa
tagh1
as the child ofa
tag