The rows attribute specifies the visible height of a text area, in lines. <textarea rows="4" cols="50"> 4 rows and 50 cols </textarea>