HTML CSS examples for HTML Tag:button
The disabled attribute is a boolean attribute to set if the button should be disabled.
In XHTML, the disabled attribute must be defined as <button disabled="disabled">.
A disabled button:
<!DOCTYPE html> <html> <body> <button type="button" disabled>Click Me!</button> </body><!-- w w w .j av a2s .co m--> </html>