Which attribute makes input numeric-only?
-
A
pattern
-
B
number
Correct answer
-
C
inputmode
-
D
min
17 views
Explanation
type="number" triggers numeric keypad.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ