Buttons
Use the button classes on an <a>
, <button>
, or <input>
element. Use logical elements for your buttons. If it is not a link do not use a <button>
tag instead. If the <a>
elements are used to act as buttons – triggering in-page functionality, rather than navigating to another document or section within the current page – they should also be given an appropriate role="button"
.
Visit the Bootstrap documentation
Demo:
Code: