Stupid question, and probably very easy answer. Basically, in XP, if I create a Notepad file on the Desktop, and name it something like 'index.html', the file shows up on the desktop as 'index.html'.
Notepad on Windows 11 is no longer the lightweight utility it once was. Learn how to replace Notepad with Microsoft Edit on Windows 11.