Which program should I use to edit files?

Hello everyone,

I'm a novice with smartftp, and I'm wondering if somebody could help me. I am trying to open page files of a webpage to edit the html code. When I right click the file, then choose edit, it automatically opens the code in notepad, but it is all horizontal. I switched the default program to be Microsoft word, but that wouldn't display the html code either.

Could anyone tell me what program .exe I should use to view and edit the html code? I want to display the code like it is displayed when you choose "view source" on a website.

Thanks in advance for any tips or advice