Home » Microsoft » 70-480 v.2 » Which CSS selectors should you use?
You are developing a web page that includes the following HTML.
You need to ensure that the email element is enabled only if the user selects the IT Support check box.
Which CSS selectors should you use? (To answer, drag the appropriate selector to the correct location. Each selector may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:
Correct Answer:
Explanation/Reference:
The disabled property sets or returns whether an email field should be disabled, or not.
A disabled element is unusable and un-clickable. Disabled elements are usually rendered in gray by default in browsers.
Example
Disable an email field:
document.getElementById("myEmail").disabled = true;
Reference: Input Email disabled Property