<button> - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:button

Introduction

The button element is the most commonly way to trigger actions.

The button Element summary

Item Value
Element: button
Local Attributes:name, disabled, form, type, value, autofocus, plus other attributes based on the value of the type attribute
Contents:Phrasing Content
Tag Style: Start and end tags
New in HTML5?No
Changes in HTML5 There are new attributes added depending on the value of the type attribute.
Style Convention None

Demo Code

ResultView the demo in separate window

<html>
   <head></head>
   <body></body>
</html><!--  ww  w.  j a v a  2  s.  c  o  m-->

Related Tutorials