The compiler converts the code to an intermediate file format first and then runs the code as a .class (byte code) file is created in the java programming language while no intermediate file is created in the interpreter programming language at the same time execute the line by line. Or run.
The language which has the capability of decision making is called Programming language, html and css is not programming language to be used in web development, create the structure of website from html while decorate, design etc .. from css.
Programming language has conditions such as which condition, action, event or code to run when it comes, it has the capability of taking desion in programming language.
1 Adding a function to a webpage like - run timer in webpage, add event
2. Validate form in client machine (computer / laptop)
3. Communicating with server
4 Controlling the text, image, color etc. displayed in the web page