Notepad++ is my number one choice for quick text editing and more. It’s small, fast and has many features, the FREE version that is. Am considering upgrading to the Pro version. I like it.
It’s what I would use if I ran windows but I run linux and there’s no shortage of text editors for coding. Mousepad, leafpad, gedit, kate, kwrite, featherpad and many more. Some are specific to a programming language. I use leafpad and mousepad for general purpose stuff and sublime for code.
It is a very good html editor. I prefer Microsoft’s antique Notepad for plain text and for removing formatting.