Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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)?

share|improve this question
4  
I suggest that you try a more friendly & functional text editor, such as Notepad++ or Sublime Text 2. –  amiregelz Sep 14 '12 at 23:02
    
Get gVim. All the cool kids use a vi-based editor. –  Zoredache Sep 15 '12 at 0:39
    
If you want something more than just a text editor, you could check out Visual Studio Express 2012. It is free, and has a really decent editor for both HTML and JavaScript with intellisense. More information is available here: msdn.microsoft.com/en-us/library/… You will also probably want to direct your programing related questions over to stackoverflow.com –  Art Sep 15 '12 at 2:21
    
List of HTML editors –  amiregelz Sep 15 '12 at 11:24
    
Notepad++ is the best. I tried Notepad once and about threw a fit! –  L.B. Jul 1 at 21:55
add comment

1 Answer

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):

  • As alternatives, if you'd like it simple but powerful, go with Notepad++. This provides you with basic syntax highlighting (e.g. easier to see tags) and is perfectly fine if a text editor is all you need.

  • If you'd like a (in my opinion) very nice combination of source code highlighting as well as real time preview/wysiwyg editor for free, have a look at Visual Studio Express 2012 for Web. This offers you a text editor and additional controls, for example it's very comfortable to edit stylesheets with a GUI editor (picking settings, colors, etc.).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.