Dojo Dijit and HTML5 in Real world applications/Dijit/dijit.form.Button

How to use
This section show how to declare a dijit.form.Button in two ways: Programmatic implementation and Declarative mark-up.

Programmatic implementation:

The same thing performed in HTML5 Declarative mark-up: See the demo of: dijit.form.Button and dijit.Tooltip

Tips and tricks
The HTML onclick format is not supported in earlier dijit versions (before 1.7). The three buttons may be tested here: Real world examples..

Verified in
IE 8, Firefox 3.6.22, Dojo 1.6.1, Dojo 1.7.2