Saving a file as HTML



  • Hello everyone,
    First of all thank you for reading.

    I was just using Notepad++ for the first time, and I do really like it, however I’ve been having only one issue. I save my code as HTML, but whenever I open my file after I close it, it opens as .txt instead of .html. I’d love if anyone could help me out with this!

    Thanks in advance!



  • @Dylan-van-Eeden

    When you save it do you actually put .html on the filename in the SaveAs box? Or are you just setting the type of file and expecting Notepad++ to automatically put the extension on?



  • Hey there! Thanks for your quick reply,

    I only select the .html in the SaveAs box!



  • @Dylan-van-Eeden

    I only select the .html in the SaveAs box!

    Well, as I tried to hint, that isn’t going to do it. All that does is to filter out anything but .html files from your view of already existing files. Here’s your bigger hint: If you are working on a file and you want it to be named abc.html then in the SaveAs box you will want to actually type abc.html.


Log in to reply