Question

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

Was it helpful?

Solution

The HTML 4.01 specification states that line breaks are represented as CR LF pairs.

OTHER TIPS

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"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top