Re: Putting default text into a TEXTAREA (fwd)

David Perrell (davidp@earthlink.net)
Mon, 23 Sep 1996 12:54:17 -0700


Message-Id: <199609231957.MAA06160@hungary.it.earthlink.net>
From: "David Perrell" <davidp@earthlink.net>
To: <www-html@w3.org>, "MegaZone" <megazone@livingston.com>
Subject: Re: Putting default text into a TEXTAREA (fwd)
Date: Mon, 23 Sep 1996 12:54:17 -0700

MegaZone wrote:
> Once upon a time Pat Max shaped the electrons to say...
> >one line long?  The TEXTAREA tag does not support VALUE=, and INPUT
> 
> Ah - but it does in a way.  You put the default text between the open
> and closing tags.

And is that text supposed to be treated as PRE?

MSIE doesn't correctly strip a newline after <PRE>, so that given this:

  <TEXTAREA NAME="Comments" COLS=40 ROWS=3>
  Some text here that was added by a CGI script that
  requires data replacement tags to be the only
  element on the line.
  </TEXTAREA>

The text will begin on the second line of the text box.

David