Professional Documents
Culture Documents
Answer All Questions
Answer All Questions
Semester: Two
Duration: 1 Hour
Time: 2:00 Pm 3:00 Pm
Instructions:
Answer all Questions
1. A webpage displays a picture. What tag was used to display that picture?
A. picture
B. image
C. img
D. src
2. <b> tag makes the enclosed text bold. What is other tag to make text bold?
A. <strong>
B. <dar>
C. <black>
D. <emp>
3. Tags and test that are not directly displayed on the page are written in _____ section.
A. <html>
B. <head>
C. <title>
D.<body>
4. Which tag inserts a line horizontally on your web page?
A. <hr>
B.<line>
C. <line direction=horizontal>
D. <tr>
D.<document>
C.<ul>
D.<ol>
C. <list>
D. <ul>
B. <mail href=xxx@yyy>
D. <a href=mailto:xxx@yyy>
D. <i>
D. <bld>
14. Which attribute youll use with TD tag to merge two cells horizontally?
A. merge=colspan2
B. rowspan=2
C. colspan=2
D. merge=row2
15. Which tag creates a check box for a form in HTML?
A. <checkbox>
B. <input type=checkbox>
D. <input checkbox>
C. <input=checkbox>
C. A Browser
C. 1.888.234.3456
C. .int
D. The Internet
D .com
B. Designing a website
D. None of the above
D. BOLD
31. Which of the following attribute can hold the JavaScript version?
A. LANGUAGE
B. SCRIPT
C. VERSION
D. None of the above
32. What is the correct JavaScript syntax to write "Hello World"?
A. System.out.println("Hello World")
B. println ("Hello World")
C. document.write("Hello World")
D. response.write("Hello World")
33. Which of the following way can be used to indicate the LANGUAGE attribute?
A. <LANGUAGE="JavaScriptVersion">
B. <SCRIPT LANGUAGE="JavaScriptVersion">
C. <SCRIPT LANGUAGE="JavaScriptVersion"> JavaScript statements</SCRIPT>
D. <SCRIPT LANGUAGE="JavaScriptVersion"!> JavaScript statements</SCRIPT>
34. Inside which HTML element do we put the JavaScript?
A. <js>
B. <scripting>
C. <script>
D. <javascript>
35. What is the correct syntax for referring to an external script called " abc.js"?
A. <script href=" abc.js">
B. <script name=" abc.js">
C. <script src=" abc.js">
D. None of the above
36. JavaScript entities start with _______ and end with _________.
A. Semicolon, colon
B. Semicolon, Ampersand
C. Ampersand, colon
D. Ampersand, semicolon
37. JavaScript is interpreted by _________
A. Client
B. Server
C. Object
END