Bootstrap Tutorial - Create Button with icons








The following code shows how to create Button with icons.

Example

<!DOCTYPE html>
<html> 
<head>
<link rel="stylesheet" type="text/css"
  href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-combined.min.css">
<script type='text/javascript'
  src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css"
  href="http://netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css">
</head><!--from w  ww .jav a2  s.  co m-->
<body>

  <p>
    <a href="#" class="btn btn-success"><i
      class="icon-refresh icon-spin"></i> Reload</a>
  </p>
</body>
</html>

Click to view the demo