Question
Question 1 (0.5 points) An HTML form does not have to define the value for its action attribute or the method attribute. Question 1 options:
Question 1 (0.5 points)
An HTML form does not have to define the value for its action attribute or the method attribute.
Question 1 options:
True | |
False |
Save
Question 2 (0.5 points)
Which of the following statement about HTML DOM is NOT correct?
Question 2 options:
The root element is "html". | |
The root element is "document". | |
HTML DOM can be manipulated by JavaScript. | |
HTML DOM is a tree (hierarchy) of objects (elements). |
Save
Question 3 (0.5 points)
Which of the following statement about HTML DOM events is correct?
Question 3 options:
The "click" event is only for buttons | |
Statements used to handle events have to be organized into functions. | |
DOM events are handled at the client side. | |
Events are just users' keyboard and mouse actions. |
Save
Question 4 (1 point)
Which of the following web applications CAN be developed using client side technology (HTML/CSS/JavaScript) only?
Question 4 options:
A quiz | |
A web search engine | |
A social networking site | |
A virtual meeting room |
Save
Question 5 (1 point)
Which of the following is incorrect about form processing using JavaScript at the client side?
Question 5 options:
JavaScript can access form elements by their name attributes. | |
The data is not sent to the server side if processed by JavaScript. | |
JavaScript can access form elements by their id attributes. | |
JavaScript needs to be defined in the action attribute of the form tag. |
Save
Question 6 (1 point)
Which of the following about DHTML is incorrect?
Question 6 options:
DHTML is a client side technology. | |
DHTML relies on HTML DOM and JavaScript. | |
DHTML is the new version of HTML5. | |
Short for Dynamic HTML. |
Save
Question 7 (0.5 points)
Which document method is used to get a unique element?
Question 7 options:
getUniqueElement | |
getElementById | |
getElement | |
getAttributes |
Save
Question 8 (1 point)
Which of the following is the correct way to set up a group of related radio buttons?
Question 8 options:
TN FL GA | |
| |
TN FL GA | |
Tennessee Florida Georgia |
Save
Question 9 (1 point)
Question 9 options:
a. Write the name of the attribute in the form tag that defines the HTTP method used to transmit data:
b. Write the name of the application/file that processes form data at the server side:
Save
Question 10 (0.5 points)
What is the attribute of a button element that is used to trigger a click event handler (JavaScript function)?
Question 10 options:
onclick | |
checked | |
click | |
clicked |
Save
Question 11 (0.5 points)
Which of the following tag is not an HTML form element?
Question 11 options:
|
Save
Question 12 (2 points)
Refer to the following HTML snippet. Write JavaScript to change the text displayed in the p tag to "high five". Please directly write relevant scripts, skipping the script tag (D2L is likely to remove the script tag and mess up with your answer).
************
hello
Question 13 (0.5 points)
[Bonus] In the following HTML snippet, what is the DOM term to describe the "hello" part?
hello
Question 13 options:
element node | |
attribute node | |
text node | |
element value |
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