12
บรรทัดใหม่ในพื้นที่ข้อความ
<textarea cols='60' rows='8'>This is my statement one.\n This is my statement2</textarea> <textarea cols='60' rows='8'>This is my statement one.<br/> This is my statement2</textarea> ฉันลองทั้งคู่ แต่บรรทัดใหม่ไม่ได้สะท้อนขณะทำการเรนเดอร์ไฟล์ html ฉันจะทำสิ่งนั้นได้อย่างไร
281
html
textarea
line-breaks