exam questions

Exam 70-480 All Questions

View all questions & answers for the 70-480 exam

Exam 70-480 topic 3 question 36 discussion

Actual exam question from Microsoft's 70-480
Question #: 36
Topic #: 3
[All 70-480 Questions]

DRAG DROP -
You create a webpage that includes the following HTML markup: (Line numbers are included for reference only.)

You need to ensure that a form cannot be submitted unless the INPUT element contains the word OK.
Which five actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
:first
Selects the first matched element.
Reference: :first Selector

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
UrviAmin
4 years, 5 months ago
it shouldn't be like this? like first return false and then return true?
upvoted 1 times
...
Sanfour
5 years, 1 month ago
there is no else we can't write return false;}
upvoted 2 times
rich14au
5 years, 1 month ago
That's not true. If the check for "OK" fails then execution falls through to the return false statement and thereby cancels submission of the form. Without the return false every submission would succeed.
upvoted 6 times
...
...
Etnic
5 years, 5 months ago
First-child is also correct in this example : All elements that are the first child of their parent
upvoted 1 times
superhands
5 years ago
there is no first-child in the options. there is however a first_child which won't work.
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago