Search Header Logo

HTML L19 Quiz

Authored by Christina Bright

Computers

11th Grade

Used 14+ times

HTML L19 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

JavaScript is a scripting language that runs

in the JavaScript compiler of the browser

in the JavaScript compiler of the web server

in the JavaScript engine of the browser

in the JavaScript engine of the web server

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

JavaScript is commonly used to modify the contents of a web page

when the page is loaded

in response to a user action

when the images of a page are loaded

in response to web server actions

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a way to include JavaScript in the HTML for a web page?

use a script element to load an external JavaScript file

use an embed element to load an external JavaScript file

embed JavaScript in a script element in the head section

embed JavaScript in a script element in the body section

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The DOM for a web page provides a hierarchy of nodes that represent

the elements, contents, and attributes in the HTML

the elements, attributes, and comments in the HTML

the contents, attributes, and comments in the HTML

the elements, contents, attributes, and comments in the HTML

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The DOM for a web page is built

before the page is loaded

after the page is loaded

as the page is loaded

when the DOM is needed

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When the DOM is changed by JavaScript, the changes

are immediately shown in the browser window

are shown the next time the page is loaded

are shown when the page is refreshed

are shown when the user takes the next action

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When scripting the DOM with JavaScript, the $ sign is commonly used

for the name of a function that gets the element with the specified id.

for the name of the event handler that is triggered when a page is loaded

to refer to the document object

to refer to the current node in the DOM

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?