Last Updated : Apr 9, 2023
- The browser is informed of the HTML version we are using in our first line, which is <HTML>. Tags are the foundation of HTML documents.
- Next comes the body tag, which defines the body of the webpage. You can create this same content for your site in one specific location.
- Then we create a button for clicking the object.
- Finally, after closing all tags, /script>/body>/html> but also code should be executed.
Using the use of the <script> tag, this lesson shows where to add JS to either a Web page.
We also discover the components of the <script> tag, which can be utilized to hasten speed loading of your website.