javascript - Rendering the Tweet button on a non-anchor element -


I have an anchor that covers various elements, because it makes it friendly and valid HTML5:

  & lt; A href = "whatever.html" & gt; & Lt; H2 & gt; Title & lt; / H2 & gt; & Lt; P & gt; Article & lt; / P & gt; & Lt; / A & gt;   

Now, I want to add the tweet button to this anchor. However, nesting anchors are invalid in html5 so it will provide Twitter infrared outside the anchor:

  

Comments