16.
In the following code, what attribute should be added to specify that the <button> is disabled?
<button onclick="myFunction()" _________>Click me</button>
hidden
disabled
clicked
enable
Correct: B
To specify that a <button> is disabled, the "disabled" attribute should be added to the <button> tag. This attribute prevents the button from being clicked or interacted with by the user. In the given code, the onclick attribute is used to call the "myFunction()" function when the button is clicked, but to make the button initially disabled, the "disabled" attribute needs to be added.