+ 1

Can all Javascript reserved words be used in HTML and / or C++.

A Javascript is embedded in HTML. Words like Goto, Continue & Integer. Again, <div> in HTML 4 & <Header> in HTML 5, do they both have the same attributes?

13th Oct 2017, 4:36 PM
Miss Rashmi Lulla
1 Answer
+ 3
You can use anything in html. To start JavaScript code, you need to write <script> and close the tag when you are done. Outside this, all JavaScript keywords are just a static string.
20th Oct 2017, 7:31 PM
Kunal Khanna
Kunal Khanna - avatar