How is a Web markup language different from a programming language?

Markup languages tell the browser how to display something. Programming languages tell a markup language what to tell the browser dynamically.