Is writing HTML code programming?
No, it isn’t. Computer programs describe computations. They give step-by-step instructions on exactly how to do something, exactly describe a result by specifying some of its properties, or do something similar. HTML is a markup language; it describes how something should look, not how to make it look that way. Explaining in a water-proof way what the exact difference is can be tricky, but we think you’ll understand if you know both HTML and a traditional programming language.