(Admin) |
No edit summary |
||
| Line 1: | Line 1: | ||
===Name=== | |||
button | |||
===Type=== | |||
_input | |||
===Synopsis=== | |||
How to render a simple push button | |||
===Description=== | |||
Elements of type button are rendered as simple push buttons, which can be programmed to control custom functionality anywhere on a webpage as required when assigned an event handler function | |||
===Parameters=== | |||
type="button" | |||
All other valid parameters for an input field are valid | |||
===Example=== | |||
<syntaxhighlight lang="html"> | |||
<_input type="button" name="btn" value="Click me" /> | |||
</syntaxhighlight> | |||
<_input type="button" name="btn" value="Click me" /> | |||
===Note=== | |||
All attributes for an email input field are supported (like in this case : name, placeholder and required.) | |||
===Links=== | |||
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/button | |||
Revision as of 21:16, 24 February 2022
Name
button
Type
_input
Synopsis
How to render a simple push button
Description
Elements of type button are rendered as simple push buttons, which can be programmed to control custom functionality anywhere on a webpage as required when assigned an event handler function
Parameters
type="button"
All other valid parameters for an input field are valid
Example
<_input type="button" name="btn" value="Click me" />
Note
All attributes for an email input field are supported (like in this case : name, placeholder and required.)
Links
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/button