HTML button Tag

HTML <button> Tag: The HTML button tag specifies a clickable button. You can insert images, text inside the <button> element. Inside a <button> element you can put content, like text or images. This is the difference between this element and buttons created with the <input> element.

HTML <button> Tag

The <button> tag belongs to Flow content, Phrasing content, interactive content, listed, labelable,submittable form associate Content category.

Syntax: <button>Text</button>

Browser Compatibility

The HTML <button> tag is supported by diffferent type of browsers.

  • Chrome
  • Firefox
  • Safari
  • InternetExplorer,
  • Opera


<!DOCTYPE html>
<button type="button" onclick="alert('Welcome!!')">Click Here!!</button>


HTML br tag



HTML br tag