Edit

HTML button Tag

The <button> tag is used to create a button into Html form. The HTML form submit by button. We can also create a button using <input> tag with button attribute.

Example of Code

<button type="button" onclick="alert('Hello world!')">Click Me!</button>

Output: