PrepAway - Latest Free Exam Questions & Answers

Which CSS selectors should you use?

DRAG DROP
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:

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
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;
Input Email disabled Property


Leave a Reply