Rune escribió:
> "Nicolas Alvarez" wrote:
>> <a> can only contain inline elements, and <h2> is a block element; so
>> <a><h2></h2></a> isn't allowed.
>
> Hmm, so I have to replace the h2 with span and loose that semantic
> information. Not good...
No, you have to invert it; move the link *inside* the heading.
Post a reply to this message
|