There are two ways to create a button in HTML. One is with the <button> tag, and the other is with the <input> tag.
What's the difference? The <button> tag allows you to use HTML inside of your button (so you could bold certain letters on the button's text, etc).
Here is a button tag:
<button id="mybutton">Click me</button>
Here is an input tag:
<input type="button" value="Click me too">
The input tag does not need a closing tag.
Next: How to create a single-line text input in HTML
Leave a comment