textarea example honours newlines, but section 9.1 says not

Section 9.1 says:
For all HTML elements except PRE <text.html>, sequences of white space
separate "words" (we use the term "word" here to mean "sequences of
non-white space characters"). When formatting text, user agents should
identify these words and lay them out according to the conventions of the
particular written language (script) and target medium.

But the example for textarea says that newlines are significant for
that element..

This example creates a TEXTAREA <forms.html> control that is 20
 rows by 80 columns and contains two lines of text initially. The
 TEXTAREA <forms.html> is followed by submit and reset buttons.
<FORM action="http://somesite.com/prog/text-read" method="post">
   <P>
   <TEXTAREA name="thetext" rows="20" cols="80">
   First line of initial text.
   Second line of initial text.
   </TEXTAREA>
   <INPUT type="submit" value="Send"><INPUT type="reset">
   </P>
</FORM>

Note the "contains two lines".

Received on Tuesday, 23 November 1999 09:19:45 UTC