How do you add buttons in HTML?

We can use the built-in Button tag in HTML to add buttons to an HTML web page.

<!DOCTYPE html>

<html>

  <body>

    <h2>HTML Button Tag Example</h2>

    <button name=”button” type=”button”>CLICK ME</button>

  </body>

</html>


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *