Bootstrap Tutorial - Add twitter icon








The following code shows how to add twitter icon.

Example

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css"
  href="http://netdna.bootstrapcdn.com/font-awesome/3.2.0/css/font-awesome.css">
<style type='text/css'>
a {<!--from w  w  w  .ja v  a  2  s  .co m-->
  text-decoration: none;
  color: inherit;
  display: block;
}

span.icon-stack {
  display: inline-block;
}
</style>
</head>
<body>
  <a href="http://java2s.com"><span class="icon-stack"> <i
      class="icon-check-empty icon-stack-base"></i> <i class="icon-twitter"></i>
  </span> link text<br></a>
</body>
</html>

Click to view the demo