

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Name: ________________________________
CSCI 2910 JavaScript Syntax Quiz Spring 2007
a.) In the head of an XHTML file b.) In a separate text file c.) In the body of an XHTML file d.) As an attribute of an XHTML tag e.) After the tag of an XHTML file
a.) / b.) > c.) # d.) < e.) ~ f.). g.) ; h.) :
for (i = 0; i < 10; i = i +3) document.writeln("i = " + i + "\n"); If inserted into an XHTML file, the above code will output the following text: i = 0 i = 3 i = 6 i = 9
Escape character: ______________ Expected output: ____________ The following is from the PowerPoint lecture slides from last Thursday: \n newline \t tab \r carriage return \ backslash " double quote ' single quote
history.length;
[ onClick ] ="window.alert('You found it!');"