JSFiddle - React, Tailwind, and code Playground
HTML
<button>A button</button>
<a href="#" class="a-attr">A anchor button attr</a>
<a href="#" class="a-prop">A anchor button prop</a>
<input type="button" value="Input button">
CSS
a[disabled="disabled"] {
color:green;
}
JavaScript
$('button').prop('disabled', true);
$('input').prop('disabled', true);
$('a.a-attr').attr('disabled', true);
$('a.a-prop').prop('disabled', true);