<textarea name="message" rows="10">

The cat was playing in the garden.

</textarea>

The above example will generate a multi-line input field with 10 lines available for our users to input text into.

<select>

The <select> element is another element that does not utilize the type attribute of the input field for its generation. Instead, the <select> element operates similarly to the text area element. The <select> element is responsible for creating a dropdown box for the user to select. The syntax for a select box is as follows: