![]() |
|
<input type="button" onclick="alert('Hello World!')" value="Click Me!">
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h2>Input Button</h2>
<input type="button" onclick="alert('Hello World!')" value="Click Me!">
</body>
</html>
How is to look HTML Input Type Button | HTML Input Types |
Full Example of HTML Input Type Button | HTML Input Types |
Read Full: | HTML Input Types |
Category: | Web Tutorial |
Sub Category: | HTML Input Types |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 91 |
Reffered: https://www.w3schools.com/html/html_form_input_types.asp