Wrichik Basu said:
I really recommend anyone learning programming to have [Notepad++] installed in their computer.
pbuk said:
What if they have a Mac or Linux?
MacOS comes with TextEdit. For a long time, I used it for all my coding on a Mac: C++, HTML+CSS, Perl. Then I switched to
BBEdit, mainly for its syntax highlighting. The free version is fine for that. You just have to put up with occasional popups suggesting that you really ought to upgrade to the paid version.
The free version was originally a separate program called TextWrangler, which is what I actually used. When I bought a new Mac recently I found out that TextWrangler would not run on the then-latest version of MacOS [10.15 Catalina], so I switched to BBEdit and paid for it to thank them for all my years of using the free version.
I agree with V50 that you should consider what you want to do with HTML etc. If you just want to be able to put up a functional, good-looking website or blog, go straight to WordPress. You can get your feet wet with the free hosting at wordpress.com.
If you want to get some idea of what's "under the hood" of a web site, that's fine. But keep in mind it will take a while to learn enough to make something that's halfway professional-looking.
The path I took, starting almost 25 years ago, was to begin with plain old HTML (no CSS or Javascript). It's basically all about organizing the information on your page into paragraphs, lists, headings, etc., with no formatting beyond what a browser does by default.
Then, several years later, I added some CSS to convert my pages to a two-column format and change the text font from the browser's default. Still later, I converted from .html files to .php files so I could use some inline PHP code. But the .php files are still mostly plain old HTML+CSS.
The result is still very plain and functional, but that's enough for my purposes. I'm not trying to sell anything.

See this
example page. To see what it looks like without the CSS formatting (i.e. the result of the HTML coding only), use your browser to turn the styling off. In Firefox (MacOS), it's
View --> Page Style --> No Style.