Web Design B Unit 2 Lesson 2
In the following script, what is the value? table.border="2"
2
What is a variable in JavaScript?
Anything that is assigned a value
In the following script, what is the variable? table.border="2"
Border
What part of the following will not show up on the web page? <script> //First JavaScript page document.write("Great Job!");</script>
First JavaScript page
Which of the following is an inappropriate JavaScript variable name?
Font size
In the following script, what is "click()"? button.click()
Method
In the following script, what is "image"? image.name="blue_arrow.gif"
Object
Which of the following is an example of a JavaScript method?
Open
In the following script, what is "blue_arrow.gif"? image.name="blue_arrow.gif"
Value
In the following script, what is the variable? img.src="/images/house.jpg"
src