Many people like to keep their code tidy, even the final HTML that you can see when selecting "Show source" option in your browser. This includes having correct number of indents for all levels.
It would make the code cluttered and messy if we had to define that we wanted so many tabs to be prepended or a new line character appended (like many often do - $text . "\n").
Here are two functions to avoid that - printLn and sprintLn - they print the text and return the text respectively.