How can I write HTML code and save it so that it looks just like what I wrote? I used to use Notepad, but now when you save your code document, it moves all the lines one right after the other. It looks like a run-on sentence and is very hard to read. All of my spaces are gone. It didn't used to do this. Is there any other software that I can use to write my own codes and save so that it looks the same (with all my spaces for easier reading)?
That sounds really odd. Maybe you disabled the word wrapping in Notepad? There might as well be something off with your linebreaks. A screenshot might be very helpful to solve this.
As you didn't name your operating system, I'm assuming you're talking about Windows Notepad. It's enough to write code, but you might want to have a look at one or two more advanced editors (both being freeware):