Free learning recommendation: javascript video tutorial
##What isJavaScript
##JavaScript is a scripting language that is object- and event-driven and has security features. It has been widely used in Web application development. It is often used to add various dynamic functions to web pages and provide users with Smoother and more beautiful browsing effect. Usually JavaScript scripts realize their functions by embedding them in HTML. JavaScript
Features is an interpretive script Language (the code is not precompiled).
is mainly used to add interactive behaviors to HTML (an application under Standard Universal Markup Language) pages.
can be directly embedded in HTML pages, but writing it as a separate js file is beneficial to the separation of structure and behavior.
Cross-platform features, with the support of most browsers, can run on multiple platforms (such as Windows, Linux, Mac, Android, iOS, etc.).
Composed
Daily uses of JavaScript
Embed dynamic text into HTML pages.
Respond to browser events.
Read and write HTML elements.
Validate data before it is submitted to the server.
Detect the visitor’s browser information.
Control cookies, including creation and modification.
Server-side programming based on Node.js technology.
<script type="text/javascript">
<!—
JavaScript 语句;
—>
</script >
……
<title>初学JavaScript</title>
</head>
<body>
<script type="text/javascript">
document.write("初学JavaScript");
document.write("<h1>Hello,JavaScript</h1>");
</script>
</body>
</html>
JavaScript
Execution principle
## Method1.Use