0
<!DOCTYPE html>
<html>
<body>
 <h1>The button Element</h1>
 <button type="button" class="form-control" onclick="alert('Welcome to workingcode.in!')">Click Me!</button>
  </body>
</html>

Output:

How to create button in HTML
Expert Edited question July 18, 2023