Programming vs. Markup


A programming language gives instructions to a machine so that it can process data and make decisions. Like "if the user clicks the switch, turn the lights on". JavaScript is a programming language.


A markup language provides structure and controls the presentation of content. Like "represent these user names as a bullet list or as a table". HTML and CSS are markup languages.

Updated on July 10, 2016