I want to know what is the terminal command for compiling and executing Javascript/HTML.
Is it the same as that of compilation of C program or is it different?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
||||
|
HTML is a markup language which is interpreted by a web browser. There is no such thing as compiling HTML. JavaScript is a dynamic programming language that is executed at runtime by a JavaScript engine. That means JavaScript is not compiled. As you're mentioning both JavaScript and HTML, read this : JavaScript use in web pages.
I don't really understand what you're trying to do but assuming you've got some .js and .html files, just open the html ones with your browser, like this:
|
|||||||||
|
apache. – Rinzwind Dec 18 '11 at 21:47