Saturday, 5 May 2012


Part 1 of 1 -     100.0 Points

Question 1 of 10    10.0 Points
Which of the following sequences of HTML tags is correct?

    A. <html><head></head><body><title></<title></body></html>  

    B. <html><head><title></<title><body></body></head></html>  

    C. <html><title></<title><head></head><body></body></html>  

    D. <html><head><title></<title></head><body></body></html>  
Answer Key: D
Feedback: <html><head><title></<title></head><body></body></html>

Question 2 of 10    10.0 Points
What does CSS stand for?

    A. Control Style Sheets    
   B. Cascading Style Sheets  
    C. Central Style Sheets  
    D. Common Style Sheets  

Answer Key: B

Question 3 of 10    10.0 Points
How would you define id selector?

    A. id selector as @  
     B. id selector as #  
    C. None of the above  
    D. id selector as $  

Answer Key: B

Question 4 of 10    10.0 Points
In an HTML document, which is the correct place to refer to an external style sheet?   

    A. In the <body> section  
    B. At the beginning of the document  
    C. In the <head> section  
    D. At the end of the document  

Answer Key: C

Question 5 of 10    10.0 Points
Which of the following tags would you use to insert JavaScript in an HTML page?

    A. <HTMLScript type="text/javascript"></HTMLScript>  
    B. <script type="text/javascript"></script>  
    C. <JavaScript type="text/javascript"></JavaScript>  
    D. <JScript type="text/javascript"></JScript>
Answer Key: B

Question 6 of 10    10.0 Points
The -------- JavaScript is also known as server-side JavaScript.

    A. Microsoft  
    B. Navigator  
    C. LiveWire  
    D. Native  

Answer Key: C

Question 7 of 10    10.0 Points
The following code would allow you to set background with CSS:
<style type="text/css">
body {background-color: yellow}



Answer Key: True

Question 8 of 10    10.0 Points
If para1 is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph?

    A. para1.nodeValue="New Text";    

    B. para1.value="New Text";    

    C. "New Text"?    

    D. para1.firstChild.nodeValue= "New Text";  

Answer Key: B

Question 9 of 10    10.0 Points
How does JavaScript store date in a date object?

    A. The number of days since January 1st, 1900    
    B. The number of seconds since Netscape's public stock offering.    
    C. The number of milliseconds since January 1st, 1970    
    D. None of the above    

Answer Key: C

Question 10 of 10    10.0 Points
How would you define First-line pseudo-element in CSS?

    A. selector:pseudo-elements {property: values}  
    B. selector:pseudo-element {property: value}  
    C. None of the above  
     D. select:pseudo-element {property: value}  

Answer Key: B

No comments: