Hannah
Hannah
GENERAL INSTRUCTIONS: Read the instructions before answering. Follow all instructions carefully. When in doubt,
verify with your instructor/proctor. Avoid erasures. Avoid interaction when the exam has started.
Multiple Choice: Identify the letter of the choice that best completes the statement or answers the question. Write
your answers in the answer sheet by shading the circle that corresponds to your letter of choice.
1. It is a collection of platform-independent styles (indicated by mark up tags) that define the various
components of a World Wide Web document
a. HTML c. JavaScript
b. Notepad d. CSS
2. HTML stands for
a. Hypertext mark language c. Hypertext markup language
b. Hypertext media language d. Hypertext markup languages
3. The extension of html files.
a. .html c. .doc
b. .text d. .notepad
4. How can we resize the image?
a. Using size attribute b. Using height and width
c. Using height only d. Using width only
5. An intranet that can be used by outside sources who can access over the Internet is an
a. Intranet c. internet
b. Ultranet d. extranet
6. It is a collection of related Web documents that are made available to the public.
a. Web page c. Home page
b. Index page d. Web site
7. HTML has how many levels of headings?
a. 5 c. 4
b. 7 d. 6
8. It is a fundamental component of the structure of a text document
a. Element c. Tags
b. Paragraph d. Headings
9. What Html tags are used for comments?
a. <!> c. <c>
b. <comment> d. <com>
10. What images attribute is used to define the horizontal space that separates the image from the text?
a. Colspan c. hspace
b. Vspace d. rowspan
11. What is the yellow color in hexadecimal ?
a. FFFF00 c.. FF0000
b. FF00FF d. 00FFFF
12. FF0000 is what color?
a. Yellow c. red
b.. Blue d. maroon
13. The HTML tag for adding an Image is
a. <image="image.jpg" > c. <img src="image.jpg" >
b. <picture ="image.jpg" > d. <img="image.jpg" >
14. In HTML , it is known as a vertical line of information
a. Column c. row
b. Rowspan d. colspan
15. A/An ________ direcst the user to another page.
a. Hypertext c. list
b. Anchor d. link
Page 1 of 4
16. This is the line that encloses the perimeter of the table
a. Table border c. Heading cell
b. Table caption d. Table header
17. What tag is used create an inline frame or sub window within a web page?
a. frame c. frameset
b. noframe d. iframe
18. How can you create an email link?
a. <a href=mailto:xxx@yyy> c. <mail href=”xxx@yyy”>
b. <a href=”xxx@yyy”> d.<mail>xxx@yyy</mail>
19. It defines a long quotation.
a. <longquote> c. <blockquote>
b.. <quotation> d. <quote>
20. It allows you to organize information on the web page using HTML.
a. tags c. table
b. forms d. Frames
21. It is used frequently for Web site navigation.
a. map c. area
b. image maps d. fieldset
22. It is a rectangular area of a web, basically a window, that allows a user to display several
web pages.
a. window b. forms
c. frames d. frameset
23. It is a control that limits of a web page visitor to only one choice from a list of choices.
a. radio c. select
b. checkbox d. input
24. It is a control that creates a selection menu from which the visitor selects one or more choices.
a. Select c. radio
b. Checkbox d. input
25. What is the correct HTML for making a checkbox?
a. <check> c. <checkbox>
b. <input type="checkbox"> d. <input type="check">
26. What is the correct HTML for making a text input field?
a.<textfield> c.<input type="text">
b.<textinput type="text"> d.<input type="textfield">
27. It is a rule that defines the appearance of an element on a web pages
a. style b. embedded
c. inline d. external
28. Stylesheet is used to control the style of a single web page, stylesheet inserted inside the head tag
is known as _______.
a. Inline b. embedded
b. External c. style sheet
29. It is a selector matches all elements
a. universal selector b. name selector
c. class selector d. id selector
30. Which is the correct CSS syntax?
a. body {color: black;} c.{ body;color:black; }
b.{ body:color=black;} d.{body:color=black;}
31. What is the correct CSS syntax for making all the <p> elements bold?
a. <p style="font-size:bold;"> c. p {font-weight:bold;}
b. <p style="text-size:bold;"> d. p {text-size:bold;}
32. How do you display hyperlinks without an underline?
a. a {text-decoration:no-underline;} c. a {decoration:no-underline;}
b. a {text-decoration:none;} d. a {underline:none;}
33. How do you display a border with the following attributes?
The top border = 10 pixels
The bottom border = 5 pixels
The left border = 20 pixels
The right border = 1pixel?
Page 2 of 4
b. In the <body> section d. At the end of the document
35 . What is the border property that specifies the kind of border to display?
a. border style c. border-individual sides
b. border-width d. border color
36. What is the border-style value that defines no border?
a. border-style value: none c. border-style value:10px
b. border-style value:1px d. border-style value: 0
37.Which property specifies an image to use as the background of an element?
a. backg-img c. back-image
b. background-image d. background-img
38. What property is used to specify a table property in CSS?
a. tbl-border c. tb-border
b.table-border d. Border
39.Which of the following is the correct way to set a background image?
a. body {background-image:url(paper.gif);} c. body {background-image:url('paper.gif')}
b. body {background-image:url('paper.gif')}; d. body {background-image:url('paper.gif');}
40. What is the correct CSS syntax for making all the <span> elements bold?
a. <span style="font-size:bold"> c. span {font-weight:bold}
b. span {text-size:bold} d. <span style="text-size:bold">
41. It allows a user to select ZERO or MORE options of a limited number of choices.
a. checkboxes c. text fields
b. radio buttons d. password field
42. What property is used to change the text color of an element?
a. color c. font color
b. textcolor d. fontcolor
43. Which snippet of CSS is commonly used to center a website horizontally?
a. margin: 0 auto; c. margin: center;
b. site-align: center; d. margin: auto 0;
44. In an image map, either a specific area or several areas serve as the ____________?
a. tags c. hotspots
b. metalinks d. all of the above
45. Which of the following is a possible shape for an image map area?
a. rectangle c. cone
b. pyramid d. all of the above
46. If a type attribute is not specified for an unordered list, the list uses the _____ bullet.
a. square c. Circle
b. disc d. Triangle
47. To change the default bullet or number type, the ____ attribute is entered within the <ol> or <ul> tags.
a. type c. Value
b.key d. Format
48. The _____ tags must be at the start and end of a definition list.
a. <li> and </li> c. <ul> and </ul>
b. <ol> and </ol> d. <dl> and </dl>
49. The _____ attribute is used to define the URL of an image to load with the <img> tag.
a. src c. loc
b. url d. load
50. An image’s ____ text should be a brief representation of the purpose of the image.
a. alternative c. standard
b. descriptive d. formula
51. A <____> tag indicates a term in a definition list.
a. dl c. dd
b. dr d. dt
52. Numbered lists are also called _____ lists.
a. browser c. manager
b. ordered d. explorer
53. When the browser finds a(n)_____ tag in an HTML file, it starts a new line and inserts a blank line
above the new paragraph.
a. <br/> c. <li>
b. <p> d. <n>
54. The _____ tags contain the main content of a Web page.
a. <html> and </html> c. <head> and </head>
b . <page> and </page> d. <body> and </body>
55. The _____ should identify the subject or purpose of a Web page.
a. background c. title
Page 3 of 4
b. header d. body
Page 4 of 4