Buttons
The button
element defines a custom “button” that functions similarly to buttons
created with the input
tag. The button
element may contain images (but not image maps) and any other content with the exception of a
, form
, and form control elements. Buttons may be rendered as shaded “3D” buttons
with up/down motion when clicked (like submit and reset buttons), unlike the image
input type, which is just a flat image.
Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.