Share via

HTML in Notepad

Anonymous
2022-03-15T12:17:55+00:00

I was instructed to use Notepad as my text editor. How do I stop it from adding the .txt extension when I save the file index.html, even with "All Files (*.*) and UTYF-8u are selected?

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Paulo GM 63,705 Reputation points Independent Advisor
    2022-03-15T13:36:12+00:00

    Hi Dachshund_Decals, I am Paulo and I'd like to help.

    Try to save the file with quotation marks and see if it works as a workaround. Let's say you press Ctrl + Shift + S to Save As, enter the file name as "index.html" with the quotation marks. When you include the quotes, Notepad will save the file with the index.html name literally, without adding any additional extensions. The file will still be saved as .HTML even without changing the Save as type to All files.

    9 people found this answer helpful.
    0 comments No comments