Just another Perl shrine | |
PerlMonks |
Re: The Mysteries Of LineBreaksby Tardis (Pilgrim) |
on Mar 12, 2002 at 11:06 UTC ( [id://151083]=note: print w/replies, xml ) | Need Help?? |
Something worth mentioning on this issue is the sort of TEXTAREA used in your forms. In many cases, where the TEXTAREA is used for some sort of textual description entry by the user, the HTML attribute 'WRAP' should be set to 'VIRTUAL'. When this is done, entered lines will word wrap at the TEXTAREA boundary, without the user pressing return. With this, provided your users are well trained, you can be sure that EOL markers represent the end of paragraphs, in other words each paragraph is a single line of text. This is very useful for clean formatting later, if it inserted back into a HTML document, or used in some other package. Note that this attribute is browser dependant, and is not in any of the HTML specifications. http://www.utexas.edu/learn/forms/boxes.html provides more information on this feature.
In Section
Seekers of Perl Wisdom
|
|