Which input type allows users to enter a single line of text?
A
text B
textarea C
submit D
label
Analysis & Theory
`<input type='text'>` is used for single-line text input.
Which input type masks the user's characters as they type?
A
text B
password C
hidden D
secure
Analysis & Theory
`<input type='password'>` hides the characters for privacy.
What input type should you use to accept a user’s email address?
A
text B
email C
url D
username
Analysis & Theory
`<input type='email'>` checks for a properly formatted email address.
Which input type is used to create a checkbox?
A
radio B
checkbox C
select D
option
Analysis & Theory
`<input type='checkbox'>` allows users to select one or more options independently.
What input type allows users to select a date?
A
calendar B
time C
date D
datetime
Analysis & Theory
`<input type='date'>` shows a calendar for selecting a date.
Which input type allows uploading files?
A
upload B
file C
image D
media
Analysis & Theory
`<input type='file'>` lets users choose and upload files.
Which input type is used for selecting one option from many?
A
checkbox B
dropdown C
radio D
select
Analysis & Theory
`<input type='radio'>` is used to choose one option in a group.
Which input type is used for numeric input?
A
range B
number C
text D
digit
Analysis & Theory
`<input type='number'>` allows numeric input, with optional min/max values.
Which input type is best for entering a website URL?
A
text B
email C
url D
link
Analysis & Theory
`<input type='url'>` checks that the input is a valid website address.
Which input type lets users choose a value using a slider?
A
scroll B
range C
slide D
number
Analysis & Theory
`<input type='range'>` displays a slider to select a numeric value between a min and max.