Quote (Eoj @ Jul 9 2013 02:30pm)
What is the difference? (Not being a dick, I'm genuinely curious since I want to understand all of this as best as I can!)
Markup languages simply describe the layout and organization of a user interface and is largely static. You cannot describe behavior of a program with it because it contains no operators for logic, control flow, etc.
Quote (0n35 @ Jul 9 2013 06:57pm)
One compiles, one doesn't. You aren't using syntax, logic, or anything for that matter. Simply telling a web browser what you want to display, you can not invoke logic in your code.
Compilation isn't really a requisite for being a programming language. There are purely interpreted languages, byte-code compiled (this gets complicated sometimes) and purely compiled languages.