is html a programming language code example

Example 1: is html a programming language

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

Example 2: html not a language

html has a <script> tag, so it's a superset of javascript

Example 3: is html a programming language

HTML on its own is not a programming language. 
Why? Because it's not Turing complete. 
What? Read about Turing completeness and the universal Turing machine to understand this.

But... CSS + HTML + user interactivity = a programming language.
CSS has functions (for example, the url function), variables, import statements, conditions (media queries and selectors) and even loops (animations).
But CSS is nothing without HTML, you can't "execute" CSS code without HTML.
That's why if you think about them separetly, they are not programming languages.
But if you add interactivity (like input tags, buttons, etc), CSS and HTML, they make a Turing Complete programming language.

Example 4: is html a programming language

print('''

It all depends on what you think. It is a markup language, but can
also interact with the user and can therefore technically be considered
a programming language

''')

Example 5: is html a programming language

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.