VOOZH about

URL: https://www.geeksforgeeks.org/html/html-input-type-button/

⇱ HTML <input type = "button"> - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <input type = "button">

Last Updated : 23 May, 2026

The HTML <input type="button"> element is used to create a clickable button in a webpage. It performs custom actions using JavaScript when clicked.

  • Used to create a clickable button for custom actions.
  • Created using <input type="button"> and commonly used with JavaScript.
  • Supports attributes like value, onclick, disabled, and name.

Syntax:

<input type="button"> 

Example: Demonstrate the use of the HTML <input type="button"> element.

Comment
Article Tags: