For your information, this icon is visible in the top-right corner ... If you cannot find this option even in Windows 11, you must update the Notepad app. For that, open the Microsoft Store ...