It's interpreted by the web browser, rather than compiled. HTML is not considered as a programming language, but rather as a markup language, that is, a HTML file is kind of interpreted by the browser like Word would interpret a Word document. Kind of same for Javascript, but that's indeed a programming language. The Javascript engine shipped with your browser would interpret and execute each line, line by line, or something like that.