From the course: Building Great Forms with HTML and CSS

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Buttons

Buttons

- [Instructor] A buttons is an interactive element that results in an action that is described on it. The HTML button element represents a clickable button, which can be used in forms or anywhere in a document that needs simple standard button functionality. By default, HTML buttons are typically presented in a similar style to that of the host platform that the user agent is running on. Basically, meaning that the browser has control of how the buttons may look. You can ultimately control the appearance of buttons with CSS. Let's look at the various button attributes that we have to work with. The first thing that we're going to talk about is button versus input. There are a few different ways in which you can make a button in HTML. As you can see, these buttons look pretty much identical, both display as buttons and cause the form data to be submitted to the server. The difference is that one is an input element with…

Contents