I'm not sure does this make any kind of difference, but there it is just as a little note. It behaves exactly like the button tag. The input tag is an empty element, meaning it doesnt have a closing tag. Once activated, it then performs an action, such as submitting a form or opening a dialog. I have this on the button: Firefox will add a small dotted border on a focused button. Templates let you quickly answer FAQs or store snippets for re-use. To describe the state of a button the correct ARIA attribute to use is aria-pressed and not aria-checked or aria-selected. How can I know which radio button is selected via jQuery? HTML gives you several ways to add buttons to your website with the button tag, the anchor link, and the input types of button and submit. Why is there a voltage on my HDMI and coaxial cables? If the button is a submit button (it's inside/associated with a