Edit in JSFiddle

<a href="https://twitter.com/intent/tweet?text=How+to+create+a+link+that+posts+a+tweet+http%3A%2F%2Fcamgould.com%2Fblog%2Fposts%2Fcreating-a-link-that-posts-a-tweet+%23intent+%23action+%23blog&via=camgould" class="demo-button" target="_blank">tweet this</a>