Skip to content

Instantly share code, notes, and snippets.

Last active April 13, 2022 15:22
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Venugopal155/1a032964d68da78d04ee47dddedd0ca2 to your computer and use it in GitHub Desktop.
Pure HTML Share Buttons
<h3>Pure HTML Share Buttons</h3>
<!-- Social Button HTML -->
<!-- Twitter -->
<a href="<URL>&text=<TEXT>&via=<VIA>" target="_blank" class="share-btn twitter">
<i class="fa fa-twitter"></i>
<!-- Google Plus -->
<a href="<BTN>" target="_blank" class="share-btn google-plus">
<i class="fa fa-google-plus"></i>
<!-- Facebook -->
<a href="<URL>" target="_blank" class="share-btn facebook">
<i class="fa fa-facebook"></i>
<!-- StumbleUpon (url, title) -->
<a href="<URL>&title=<TITLE>" target="_blank" class="share-btn stumbleupon">
<i class="fa fa-stumbleupon"></i>
<!-- Reddit (url, title) -->
<a href="<URL>&title=<TITLE>" target="_blank" class="share-btn reddit">
<i class="fa fa-reddit"></i>
<!-- LinkedIn -->
<a href="<URL>&title=<TITLE>&summary=<SUMMARY>&source=<SOURCE_URL>" target="_blank" class="share-btn linkedin">
<i class="fa fa-linkedin"></i>
<!-- Pinterest -->
<a href="javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src',''+Math.random()*99999999);document.body.appendChild(e)%7D)());">
<img src="pinterest.png" alt="Pinterest" />
<!-- Email -->
<a href="mailto:?subject=<SUBJECT>&body=<BODY>" target="_blank" class="share-btn email">
<i class="fa fa-envelope"></i>
<!-- Print -->
<a href="javascript:;" onclick="window.print()">
<img src="print.png" alt="Print" />
Copy link

makoleg commented Apr 20, 2019

Hi, you can remove G + button, unfortunately this network is closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment