Actually, a program is a list of commands intended to perform a specific purpose. The first computer programs were written as a single list of instructions. At one point, they were simple holes punched into cards.
Technically, HTML can be considered a program, as it's a list of instructions given to a browser to perform specific tasks: "Start a table here." "End the row here." "This is the end of the page." The browser is simply the interpreter of those commands.
There are many different types of programs. When it was realized that writing lists of instructions was not reliable, and extremely unproductive, the concept of procedures, or functions, was introduced. Programs that support this concept are called procedural languages.
Another major step in programming came with the advent of objects. This refers to Object Oriented Programming, or OOP.
I personally believe that Markup can be thought of as a style of programming. In the strictest sense, HTML can be thought of as a programming language.
HOWEVER...
When people say "programming" nowadays, it is generally accepted that there is some sort of procedure involved at the least. HTML does NOT supply any sort of procedure, so the general concensus is that HTML is not a programming language.
==================
What is my point? Well, when viewed from a certain perspective, HTML can possibly be viewed as a programming language. Before calling your teacher stupid, approach him and tell him this:
"If HTML is a programming language, how does it differ from other programming languages such as C++ or Visual Basic? I don't understand how a markup language can be considered procedural. There are no functions. So why is it considered a 'programming' language?"
Please don't take this the wrong way -- it is in no way directed at you specifically:
I think one of the problems with our educational system today is not so much the teachers, but the students. More specifically, the fact that students today learn through the media and even their parents that teachers "are just people, and don't deserve any respect." When I went through school, I never thought any of them were stupid. I never questioned their credentials, and as far as I knew, they were the subject matter experts in the areas they were teaching me.
The trend I see today is that kids are told to "question everything." On the surface, it seems like a good thing (there are so many bad people out there taking advantage of children), but I believe that in the long run, it's having a negative effect. Don't question your teacher's ability to teach. TEST it. ASK him questions. Challenge him with intelligent debate. Don't turn your back on him and declare his stupidity. Show him that you are confused by his statement, and perhaps he will take the time to explore the issue with you further. He is a teacher, not a library or computer. His job is to help you learn, even if it means he must learn himself right along with you.