Re: Putting default text into a TEXTAREA

Peter Flynn (
23 Sep 1996 15:01:29 +0100

Date: 23 Sep 1996 15:01:29 +0100
From: Peter Flynn <>
Subject: Re: Putting default text into a TEXTAREA
In-reply-to: <> (message from Pat Max
Message-id: <>

   Is there any way to give a browser user a way to edit text that is more than
   one line long?  The TEXTAREA tag does not support VALUE=, and INPUT
   with TYPE=TEXT is limited to 1 line.

Yes, but I guess it has to be generated dynamically from script:

	echo \<textarea name=\"file\" rows=\"10\" cols=\"40\"\>
	echo \</textarea\>

or something. Nottalottagood if you want to give someone lots of text,
but I suppose you could try <img src="foo.doc"> and make your server
emit Content-Type: application/msword and rely on users having their
browser configured to pop up Word :-)

Netscape Gold already has an "editor" enclosed. Surely it could have
a "Save back to browser" option under File?

Others: why not ship a copy of something small and light but good at
editing plaintext, like PFE, and preconfigure content type
application/x-plaintext to pop it up, and fix it to write back to the