G
13

Back in 2012 I tried to make a simple website with just Notepad

I typed out my HTML and saved it as index.html, then opened it in my browser. The page showed up, but all the text was just one big block with no spaces or line breaks. I spent an hour checking my tags before I realized I had written everything in one line without pressing enter. I learned that browsers ignore the white space you type in the code file. Anyone else run into weird formatting issues when they first started?
2 comments

Log in to join the discussion

Log In
2 Comments
jennifercooper
Oh man, that exact thing happened to me. I wrote a whole paragraph in one line and couldn't figure out why my page looked so cramped. It took forever to notice I needed actual paragraph tags, not just line breaks in the code.
2
wright.finley
Actually I think line breaks in the code are way cleaner! All those extra paragraph tags just make the whole thing messy and harder to read later.
6