The button element has the same function as an input element but it has richer rendering possibilities, not only visually but it also may contain some content between opening and closing tags.

Syntax:

<button type="" name=""></button>

Attributes:

Example

HTML button element:

 

›› go to examples ››