W3C home > Mailing lists > Public > public-html@w3.org > March 2015

Is putting a <div> inside teg <a> correct?

From: К Александр <sasha.dstu@gmail.com>
Date: Tue, 24 Mar 2015 02:17:03 +0400
Message-ID: <CA+xZFzt+XkQSO+=8yo8582uG0CH8+uotyv9u5rk7AKiNmq07KA@mail.gmail.com>
To: public-html@w3.org
Hello.

http://www.w3.org/TR/html5/text-level-semantics.html#the-a-element

> "The a
> <http://www.w3.org/TR/html5/text-level-semantics.html#the-a-element> element
> may be wrapped around entire paragraphs, lists, tables, and so forth, even
> entire sections, so long as there is no interactive content within (e.g.
> buttons or other links)"



 Is putting a div inside an anchor ever correct?


Thanks.
Received on Tuesday, 24 March 2015 07:56:50 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:12 UTC