: Line Feed or Carriage Return - What to use? In javascript, Line Feed and Carriage Return behaves similarly. Which one to use and when? OR Can it be used alternatively? Unicode Characters:
In javascript, Line Feed and Carriage Return behaves similarly.
Which one to use and when?
OR
Can it be used alternatively?
Unicode Characters:
Line Feed: u000A
Carriage Return: u000D
Code:
<script>
alert("Hello u000A World - <LF>");
alert("Hello u000D World - <CR>");
</script>
More posts by @Vandalay111
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.