<?xml version="1.0" encoding="utf-8"?>

Multi-line text field

Multi-line text field Bad Practice
Multi-line text field Best Practice

Sometimes we need users to enter a larger text — for example, when asking for comments or reviews. <input type="text"> isn't a good choice as it automatically removes line breaks — also, it's not possible to see a long text at once. In these cases, use the <textarea> element to allow users to enter more than one line of text.

Improve your UX & Product skills with interactive courses that actually work