From the course: Building Great Forms with HTML and CSS
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Buttons
From the course: Building Great Forms with HTML and CSS
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Fieldsets and legends5m 15s
-
(Locked)
Working with labels5m 35s
-
(Locked)
New HTML5 form tags5m 58s
-
New input types6m 23s
-
(Locked)
New input attributes3m 54s
-
(Locked)
More input attributes6m 52s
-
(Locked)
Form validate options4m 56s
-
(Locked)
Input restrictions: Pattern11m 24s
-
(Locked)
Buttons7m 15s
-
(Locked)
Autocomplete3m 30s
-
-
-
-
-
-
-
-
-