Reputation: 26051
Can I expect line breaks in text boxes to be one of the common line break conventions or does it depend on the user's OS?
i.e.: CR or CR+LF or LF
Upvotes: 3
Views: 2656
Reputation: 16065
it depends on the language. usually in .NET you would use
Environment.NewLine
in JavaScript it would be "/n"
in VbScript you could use "vbNewLine"
Upvotes: 0
Reputation: 13791
The HTML 4.01 specification states that line breaks are represented as CR LF pairs.
Upvotes: 4