A long time ago I had a friend who was trying to get into programming, and stoked to be learning HTML. I wanted to say that HTML isn’t a programming language, but I think I bit my tongue. I don’t think that’s the right attitude toward someone trying to learn a new skill. Besides, I think some of the arguments against HTML being a programming are flawed. For example, you can think of each tag or element as a variable all its own. Especially once you start using CSS and start assigning IDs or Classes to each one. I’m technically stretching the definition by academic standards, but I don’t really care. The only difference between ID and Class in CSS is semantics and a single character anyway. Anyway, I thought it might be fun to go through the basic anatomy of a webpage.
The body of the document is what appears when the page loads. I recommend visiting W3School for a comprehensive breakdown of what you can do, and examples in the body of the document. However, you’ll likely use <h> and <p> tags no matter what you’re doing. That is because the h in <h> stands for header, and the number tells the browser the size of that header. On the other hand, the p in <p> stands for paragraph. You can also use numbered or ordered lists (ol), unordered or bulleted lists (ul), tables, forms, and so on. One quick thing to note about tables is that they are usually for displaying information in an organized manner. At the end of the day though W3Schools has an HTML validator tool, so I sincerely recommend checking them out as a resource.
At the end of the day I think HTML can work as an introduction to programming. It may not be dynamic on its own, but a lot of the underlying grammar is in place. You could use like three tags and technically create your own HTML page as long as it’s saved as “.html” file type. It might seem overwhelming at first, but there’s nothing wrong with having a cheatsheet. I built my first website back in 2003 or 2004 or something, and it was horrible; I still use W3Schools myself from time to time because it’s convenient.