twitter sharing button for website code example

Example 1: twitter share link html

<a class="btn-floating btn btn-tw" type="button" role="button" title="Share on twitter"
   href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fparse.com"
   rel="noopener">
  <i class="fab fa-2x fa-twitter"></i>
</a>

Example 2: twitter share button example

<a class="twitter-share-button"
  href="https://twitter.com/intent/tweet?text=Hello%20world"
  data-size="large">
Tweet</a>

Tags:

Html Example