Search This Blog

Home » » Facebook Like Button to Website

Facebook Like Button to Website

Written By Harsha on Tuesday, 7 May 2013 | 23:57

Facebook Like Button to Website



<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
<html xmlns:fb=”http://ogp.me/ns/fb#“>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Like 3</title>
</head>
<body>

<div id=”fb-root”></div>

<script>
(function(d, s, id)
{
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/all.js#xfbml=1″;
fjs.parentNode.insertBefore(js, fjs);
}
(document, ‘script’, ‘facebook-jssdk’));
</script>

<!–Using XFBML–>


<fb:like href=”http://www.facebook.com/htsipl” send=”false” width=”450″ show_faces=”true” font=”arial”></fb:like>


<!–If both Like and Send buttons are to be shown uncomment the below line–>


<!–<fb:like href=”http://www.facebook.com/htsipl” send=”true” width=”450″ show_faces=”true”></fb:like>–>


<!–Using HTML5–>


<div data-href=”http://www.facebook.com/htsipl” data-send=”false” data-width=”450″ data-show-faces=”true” data-font=”arial”></div>


<!–If both Like and Send buttons are to be shown uncomment the below line–>


<!–<div data-href=”http://www.facebook.com/htsipl” data-send=”true” data-width=”450″ data-show-faces=”true”></div>–>


</body>

</html>

0 comments:

Post a Comment

Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS