Home  • Programming • JavaScript

How to quick start JavaScirpt?

You can write JavaScript language within <script></script> tag any where in the html document.
Ideally we can use <script> </script> tag within <head></head> and <body></body> tag.
Example
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Quick start javascript</title>
<script type="text/javascript">
 //Here you can write javascript
</script>
</head>
<body>
<script type="text/javascript">
//Here you can write javascript too
</script>
</body>
</html>

Comments 0


Copyright © 2024. Powered by Intellect Software Ltd