What elements can be contained within a <a> tag?

Ahmad picture Ahmad · Jul 31, 2010 · Viewed 23.3k times · Source

What are the valid html elements, if any, that can be contained within a <a> tag?

Answer

Aya picture Aya · Nov 29, 2012

As of HTML 5, <a> may contain not only (valid) inline elements, but also block elements, etc.

W3: http://dev.w3.org/html5/markup/a.html