answersLogoWhite

0

Advantages of Java script to HTML?

Updated: 11/18/2022
User Avatar

Wiki User

14y ago

Best Answer

There are no real advantages to JavaSript to HTML but rather JavaScript enhances HTML by making it dynamic. HTML as we know is static and therefore once an HTML document has been created it cannot be changed. JavaScript has two basic functionalities which are: 1. To build HTML dynamically as the web page is loaded and; 2. To monitor as well as react to User events.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Advantages of Java script to HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What does it mean to do HTML submit?

HTML means Hypertext Markup Language. The tag is used for various javascripts and Java programs. HTML submit is a form of a script in Java programming.


Does HTML code work in java script?

Yes it does. That is how client side validation of html control is possible using javascript


How can we use script tag in java?

to implement javascript embed the statements between <script> n </script>,,, and include any scripting language. eg:<script LANGUAGE="javascript"> block of codes </script>


What is embedding java script?

To embed JavaScript code is to include it in the HTML page. For example, this will embed the code to display an alert: <script type="text/javascript"> alert("Embedded alert!"); </script>


What is the difference between script and scriptlet?

"script" is an HTML tag used to include JavaScript on a web page. Example: <HTML> <body> <script type="text/javascript"> document.write("hi there"); // javascript interpreted by the browser </script> </body> </HTML> "Scriptlet" is a JSP construct used to include Java in a JSP page. Example: <HTML> <body> <% // this is a scriptlet response.getWriter().write("hi there"); // Java executed on the server %> </body> </HTML> Here the result (an HTML document with the text "hi there") is the same in both cases, but the mechanisms are different - Javascript runs in the browser (any browser), while the JSP scriptlet is executed on the server and needs a server with JSP support. See related links.

Related questions

What is java script code for password?

There is an html form element for password. Validation script for password doesn't differ from script of html text element


How do you restrict no of characters in text box in HTML?

by using java script


What should you known to study java script?

Xhtml/html & css


What is used to create large program on internet?

Java script


What does it mean to do HTML submit?

HTML means Hypertext Markup Language. The tag is used for various javascripts and Java programs. HTML submit is a form of a script in Java programming.


How does java script ehance the capabilites of HTML?

Javascript can change how HTML will work, alike how CSS makes HTML look flashy.


How can you designing a web?

You can design a websites with the help of HTML,CSS and Java Script.


How can you include imagesw using HTML and java script?

<img src="img.jpg" />


Does HTML code work in java script?

Yes it does. That is how client side validation of html control is possible using javascript


Is HTML and java script the same?

Nope. Not the way I look at it. I would have used java script in web design for some graphic work but java is the king and I also heard that java script really is not all the same now days. But I would say "NO" anyhow. Cheers linny


How do you write javascript codes for website on a mac?

You can write java script code on any platform be it mac, linux, solaris or windows. All you need is a mac version of notepad, some html page where you insert your java script code and a web browser where you view the html page. All major browsers support java script coding and all you need to do is enable the Java Script support in browsers if it is not enabled already.


Advantages of having an animated flash movie embedded to your HTML document?

Advantages over what? not having one? In which case Flash movies can have smoother interaction and can create a better interface for your users however this can be done in Java-Script too.