Essentials
Accenture PrimermediumEssentialsWeb Technologies

If the phone number should accept only 10 digit numbers, which of the following options will suit?

Answer options

A
<input type="text" pattern="[0-9]{10}"/>
B
Incorrect HTML/JavaScript syntax
C
Valid syntax but does not satisfy the requirement
D
Unrelated markup or method

Correct answer: <input type="text" pattern="[0-9]{10}"/>

Explanation

The correct answer is: <input type="text" pattern="[0-9]{10}"/>.

Related Accenture Essentials questions

Practice more Accenture Essentials questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.