Which tag is used to add JavaScript code inside a web page?

javascript

style

script

src

script

The tag used to add JavaScript code inside a web page is the <script> tag.

The correct answer is the `<script>` tag. It is used to add JavaScript code inside a web page. To include JavaScript code within an HTML document, you can use the `<script>` tag. Here is an example of how to use it:

```html
<!DOCTYPE html>
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<!-- Your HTML content here -->

<script>
// Your JavaScript code here
console.log("Hello, JavaScript!");
</script>
</body>
</html>
```

In this example, the JavaScript code is placed between the opening `<script>` tag and the closing `</script>` tag. You can write any JavaScript code between these tags, and it will be executed when the web page loads in a browser.