In website development, we will be met with a condition to display alerts that contain messages.
From such conditions we must use New Line or "Enter" mode to make a new writing to the bottom line As shown below:
The command is "\n". Yes, it is very simple code.
Example Program Code
For example is the following code:
Run the above program code in your browser, then click the Try button.
You will see neater data using New Line. If this article is useful, please share it with your friends using the share button below this article