+ 1

How is "\n" supposed to look?

I tried "\n" and "\t" and I didn't notice a single difference other than the favt that it didn't have apostophies

27th Jan 2017, 4:27 PM
toney
toney - avatar
1 Answer
+ 2
\n means a new line, \t means tabulation, but they are applied only to html code, which does not show them on a page. You can't see any effect on a page, but if you open a html source code ("Ctrl+U" or "Ctrl+Shift+I"), you will see your new line and tabulation in it. To make a new line show on the page write <br/> instead.
27th Jan 2017, 10:16 PM
Антон Обожин
Антон Обожин - avatar