Question
1 Which of these is NOT an area of web page development? Select one: a. HTML b. DOM c. BUM d. CSS e. JavaScript 2
1 Which of these is NOT an area of web page development?
Select one: a. HTML b. DOM c. BUM d. CSS e. JavaScript
2 Which of these is a valid DOM property that refers to the value of an input text field?
Select one: a. value b. data c. size d. text e. contents
3 Which of these is a DOM MouseEvent object property that contains the horizontal coordinate of the mouse pointer, relative to the current window?
Select one: a. clientX b. clientY c. windowX d. screenY e. screenX
4 If e is a reference to an event object, which of these is a reference to the element that triggered the event? Select one: a. eventSource b. e.target c. e d. e.source e. e.trigger
5 Which of these is a valid DOM property that refers to an element's HTML contents?
Select one: a. contents b. value c. HTML d. innerHTML e. span
6 Which of these is a popup box that allows the user to click OK or Cancel?
Select one: a. alert box b. choice box c. prompt box d. confirm box e. acknowledgment box
Which of these is at the top of the HTML DOM tree of objects?
Select one: a. href b.
c. d. e. documentWhich of these BOM objects contains information about the URL of the current page?
Select one: a. Cookies b. Window c. Navigator d. History e. Location
Which of these BOM objects contains information about the browser?
Select one: a. Cookies b. Location c. History d. Window e. Navigator
Which of these is true of JavaScript?
Select one: a. JavaScript can change any CSS style in the page. b. JavaScript can add new HTML elements and attributes to the page. c. JavaScript can change any HTML element in the page. d. all of these e. JavaScript can change any HTML attribute in the page.
If myTable is a reference to a HTML table that has the same number of columns in every row, which of these is the DOM syntax for referencing its number of columns? Select one: a. myTable.cells[length] b. myTable.columns c. myTable.cols d. myTable.rows[0].cells.length e. myTable.cells.length
Which of these refers to the name:value pairs in JavaScript objects?
Select one: a. elements b. properties c. attributes d. methods e. variables
Which of these is a valid DOM method that can be used to get a reference to an element via its ID attribute?
Select one: a. getElementById() b. getElement() c. attribute() d. element() e. getAttribute()
Which of these CANNOT be accessed using BOM objects?
Select one: a. browser cookies b. information about the URL of the current page c. information about the user's screen d. information about the user's mouse e. the user's history of visited URLs
Which of these is used to register an event handler for clicking the mouse?
Select one: a. click b. onMouseClick c. onclick d. onmouse e. mouse
Which of these is NOT true of the DOM?
Select one: a. Each HTML element has a corrsponding DOM object. b. Each DOM object has properties and methods (functions). c. The DOM is an object-oriented data model for a page. d. The DOM maintains information about the user's history of visited URLs. e. The DOM enables JavaScript to see and change the page.
Which of these is used to register an event handler that is triggered when the user enters a page?
Select one: a. onunload b. onchange c. onload d. onenter e. onclick
Which of these is a popup box that allows the user to enter input?
Select one: a. text box b. prompt box c. choice box d. confirm box e. alert box
Which of these are examples of HTML events?
Select one: a. When a user clicks the mouse b. When an input field is changed c. When the mouse moves over an element d. all of these e. When a web page has loaded
Each DOM collection is which of these? Select one: a. an array b. a table c. a string d. a stack e. a list
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started