Interview Questions

How do I make a form so it can be submitted by hitting ENTER?

HTML Interview Questions and Answers


(Continued from previous question...)

16. How do I make a form so it can be submitted by hitting ENTER?

The short answer is that the form should just have one <INPUT TYPE=TEXT> and no TEXTAREA, though it can have other form elements like checkboxes and radio buttons.

(Continued on next question...)

Other Interview Questions