Web Design EOPA Practice Test

Access More Questions
What is the correct HTML for making a text input field?
Correct Answer:
Explanation:
HTML input elements create form controls, and the type attribute determines what kind of control you get. If you omit the type attribute, the input element defaults to a text field, so becomes a single-line text input. That’s why it’s considered correct in this context. Using the explicit form achieves the same result and is clearer to readers. The other options don’t fit: