NEW
Font size
WorksheetsJavascript Events
Total questions: 10
Worksheet time: 2mins
What is Javascript?
programming language
HTML tags
CSS
A web page
Where do the <script></script> tags go in your document
Within <img> tags
In the <p></p> tags
In the <title>
In the <head> or <body>
Choose the right Javascript event
inmouseout
anmouseout
enmouseout
onmouseout
You can change an image's size using Javascript?
True
False
Which function is being called:
onmouseover="changeText('param')";
function changeText(id) {
document.getElementById(id).innerHTML="This is the new information"; }
function changeText() {
document.getElementById("newParagraph").style.text="This is the new information"; }
function changeText() { document.getElementById("newParagraph").style ="This is the new information"; }
Javascript can:
Interact with HTML
Check or validate user input
Can make your web pages dynamic
All of the above
A Javascript function must be preceded with the word function?
True
False
Choose the correct Javascript mouse event
inmouseover
andmouseover
enmouseover
onmouseover
"onmouseover=normalImage(this)"
will call the normalImage() function
True
False
A Javascript block is used to
Perform specific task
Call an event
Invoke a function
All of the above
