Add Social Buttons (Google+, Facebook, Twitter) on Website

There are already too many posts on social buttons, and I think the best references is the official sites of social buttons (See References for social buttons of Google+, Facebook, and Twitter). The following is the demo of social buttons of this blog:

The source code of the above demo:

<div class="floating-buttons">
  <div class="g-plusone" data-href="" data-size="tall"></div>
  <div class="fb-like" data-href="" data-layout="box_count" data-send="true" data-show-faces="true"></div>
    <a class="twitter-share-button" data-count="vertical" data-url="" href="">Tweet</a>

If you want to use the above code, remember to the change the URL to your website in line 2, 3, and 5. And then put them inside the body tag of HTML document.

<!-- Place this tag after the last +1 button tag. -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = '';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);

<br />
<div id="fb-root">
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); = id;
  js.src = "//";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);;js.src="//";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

You can put above code right before the end of the body tag of HTML document.

div.floating-buttons {
  padding-top: 2em;

div.floating-buttons > div {
  display: block;
  margin-top: 10px;

You can put the above code in your CSS file.

To have more customization of the social buttons, please see References below.