button type= button disabled code example
Example 1: html button disabled
<button type="button" disabled>This button is disabled</button>
Example 2: button disabled
.disabled {
opacity: 0.6;
cursor: not-allowed;
}
<button type="button" disabled>This button is disabled</button>
.disabled {
opacity: 0.6;
cursor: not-allowed;
}