<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Disabled Button</title>
</head>
<body>
<button>Normal Button</button>
<button disabled="true">Disabled Button</button>
</body>
</html>
Used of:-
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Disabled Button</title>
</head>
<body>
<button>Normal Button</button>
<button disabled="true">Disabled Button</button>
</body>
</html>
Used of:-
Disable Button
- Button is used to do some action when a user clicks it.
- To make it disable, we can define disable attribute as true. No clicking is allowed in disabled button.
HTML:-Button disable button
Reviewed by Network security
on
April 30, 2019
Rating:
No comments: