back to home

HTML Buttons

  1. The < button> tag defines a clickable button.
  2. HTML buttons are defined with the < button > tag
    < button >Click me< /button >
    < button type="button">Click Me!< /button>
    "type" is a attribute here
  3. 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.