sir_pepe, German TIL: <select> hat ein IDL-Attribut "type": https://html.spec.whatwg.org/#dom-select-type
Liefert entweder "select-one" oder "select-multiple", je nachdem.
Textarea hat sowas auch, liefert immer "textarea": https://html.spec.whatwg.org/#dom-textarea-type