HTML ignores words on different lines. Try this to see:
- write this in the code:
line 1 some space
line 2 more space
line 3 lots of space
- save the code and open the page in a browser
you'll see this:
line 1 some space
line 2 more space
line 3 lots of space
we're going to use the pre tag (<pre>) to keep the lines as you typed them in the code
- open the code and write this round it:
<pre>
line 1 some space
line 2 more space
line 3 lots of space
<\pre>
- save the code and open the page in a browser
you'll see this:
line 1 some space
line 2 more space
line 3 lots of space
more tutorials to try
you might like to try these tutorials too: