[Fixed]-How can I add a twitter bootstrap span glyphicon into a button in html5?

1👍

instead of using input type button, you should try using button element
so something like this

<button type="button" class="btn btn-primary"  onClick="location.href='/location/'">
   <span class="glyphicon glyphicon-music"></span> I am a button 
</button>
👤Erwin

0👍

add the class as the icon class. For example class="glyphicon glyphicon-off for power button. Moreover remove the value of the button.

👤Imran

Leave a comment