How can you include…
 
Notifications
Clear all

How can you include JavaScript code in an HTML page?

1 Posts
2 Users
0 Likes
444 Views
0
Topic starter

How can you include JavaScript code in an HTML page?

1 Answer
0

JavaScript code can be embedded inline into an HTML document by using the dedicated HTML tag <script>. This HTML tag wraps around the JS code. The <script> tag can be placed either in the <head> section of your HTML or in the <body> section.

Share: