Check out example codes for "is html a programming language". It will help you in understanding the concepts better.

Code Example 1

Since HTML5, HTML is considered a programming language. 
This is because it has the possibility of interacting with the user, so although it is a markup language,
it has scripting so it is tecnically a programming language.

Code Example 2

HTML is a markup language. We don't say HTML as a programming language.

Code Example 3

don't even think about it bruh

Learn ReactJs, React Native from akashmittal.com