Welcome Guest! (App Version 3.1)

websitnero logo name

HTML Button


  • <input type="button"> or <button> can be used to make buttons on an HTML page.
  • Buttons are best tags for making user interaction (via click).

Buttons in HTML

Buttons are a part of form-elements. They are clickable units on a web page which when clicked may call a function or do some other task. They play an important part in user-interaction on a web page.

There are 2 ways of creating a button. You may either use <input type="button"> or <button> to create buttons on an HTML page.


  <input type="button" value="Click Me 1">
  <button>Click Me 2</button>


Further Reading

1. <button>: The Button element

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.