What is the role of javascript in html?



What is the role of javascript in html?..

Answer / Ashish Ku. Singhn

Answer: JavaScript plays a crucial role in HTML by allowing for dynamic content and interactive elements. It can manipulate the Document Object Model (DOM), control page layout, handle events, validate user input, and communicate with servers to update web pages.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What is client side in javascript?

1 Answers  


Should I learn java first or javascript?

1 Answers  


What is closure? Give an example.

1 Answers  


What are the predefined functions in javascript?

1 Answers  


What is the difference between the keywords var and let?

1 Answers  


Which built-in method removes the last element from an array and returns that element?

1 Answers  


How to create 3-dimensional Array in Javascript?

3 Answers   CybAge, Shapia,


Explain unescape() in javascript?

1 Answers  


What are the types of variables in javascript?

1 Answers  


What is "strict mode" and how is it used in JavaScript?

1 Answers  


What is the difference between sessionstate and viewstate?

1 Answers  


What is the difference between java and java script?

9 Answers   IWW, Wipro,


Categories