Test 2 Study Guide Flashcards
How do you create an image that is also a link?
<a><img></img></a>
How do you create an image that is also a link?
<a><img></img></a>
How you you create a table in HTML?
**
This is the header
The tr is the table row, and the td is cell data
What is colspan?
*****
this means that the header will span across two columns AKA the top
What is rowspan?
***
this means that the row will span two rows
Name the elements needed in an image map?
<img></img>
How do you make a textbox in HTML?
How do you make a textbox in HTML?
How you you create a table in HTML?
**
This is the header
The tr is the table row, and the td is cell data
What is colspan?
*****
this means that the header will span across two columns AKA the top
What is rowspan?
***
this means that the row will span two rows
Name the elements needed in an image map?
<img></img>
How do you make a button in HTML?
*****
How do you make a textbox in HTML?
Where can alerts and prompts go?
in the script or in an event handler
How do you code for an alert?
alert(“What you want to say here”)
How do you code for a prompt?
Name=prompt(“Enter your name here”)
What are the javaScript comments?
/* */ or //
Give an example of a concatenation?
alert (x+”Hello!”)
What is parseFloat?
Parses a string and returns a number
What are the relational operators and what do they mean?
== equals > < >= <= != not equals
What are the logical operators and what do they mean?
&& and
II or
Where do you put a .toLowerCase?
right behind the value
What is a function?
A group of statements that can be invoked anywhere in your code