HTML q2 Exam
HTML q2 Exam
PREMIERE COMPUTER
LEARNING CENTER
Quarter 2 Exam
(HTML)
STUDENT’S NAME
Section: DATE
NOTE: Read, understand and answer the questions carefully. Write legibly and avoid erasures. No superimpositions please.
Wrong spelling is wrong.
I. MULTIPLE CHOICE
Directions: Encircle the letter of the correct answer.
1. What does HTML stand for?
a. Hyperlinks Text Markup Language c. Home Tool Markup Language
b. Hyper Text Markup Language
2. Who is making the Web Standards?
a. The World Wide Web Consortium c. Google
b. Mozilla d. Microsoft
3. The following are preliminary tags except for
a. <body> c. <html>
b. <title> d. <b>
4.
5. Address of a given unique resource on the Web.
a. link c. url
b. http d. website
6. Choose the correct HTML element for the largest heading
a. <heading> c. <head>
b. <h6> d. <h1>
7. What is the correct HTML element for inserting line break?
a. <b4> c. <br>
b. <break> d. <lb>
8. What is the correct HTML for adding a background color?
a. <body style=”background-color:yellow;’> c. <body bg = “yellow”>
b. <background>yellow</background> d. None of the above
9. Choose the correct HTML element to define important text
a. <strong> c. <b>
b. <i> d. <important>
10. Choose the correct HTML element to define emphasized text
a. <em> c. <italic>
b. <emp> d. <b>
11. What is the correct HTML for creating a hyperlink
a. <a c. <a
url=http://www.youtube.com>YouTube</a href=”http://www.youtube.com>Youtube</
> a>
b. <a>http://www.youtube.com</a> d. <a
web==”http://www.youtube.com>Youtube
</a>
12. Which is character is used to indicate an end tag?
a. * c. |
b. / d. >
13. How can you open a link in a new tab/browser window?
a. Which is character is used to indicate an c. <a href=”url” tab =”new”>
end tag d. <a href=”url”target=”_blank”>
b. <a href=”url”target=”new”>
14. Which of these elements are all <table> elements?
a. <thead><body<tr> c. <tbale><tr><td>
b. <table><head><tfoot> d. <table><tr><tt>
15. What is the correct HTML for inserting an image?
a. <img src=”image.gif” alt “MyImage”> c. <img href = “image.gif” alt=”myimage”>
b. <img alt = “myimage”>image.gif</img> d. <img src = “image.gif’ alt=”myimage”>
16. How can you make a list that lists the item with numbers?
a. <oi> c. <ui>
b. <di> d. List
17. How can you make a list that lists the items with bullets?
a. <di> c. <oi>
b. <ui> d. List
18. What is the correct HTML for inserting background image?
a. <background img = “picture.jpg”> c. <body background = “background.gif”>
b. <img src = “picture.jpg”> d. All of these
19. What is the correct HTML for making a checkbox?
a. <check> c. <checkbox>
b. <input type = “check”> d. <input type = “checkbox”>
20. What is the correct html for making a text input field?
a. <textinput type = “text”> c. <input type = “text”>
b. <input type = “textfield”> d. <textfield>
21. What is the correct HTML for drop down list?
a. <list> c. <input type = “dropdown”>
b. <input type = “list”> d. <textfield>
22. What is the correct HTML for drop down list
a. <list> c. <input type = “dropdown”>
b. <input type = “list”> d. <select>
23. What is the correct HTML for making a text area?
a. <input type = “textarea”> c. <input type = “textbox”>
b. <textarea> d. None of the above
24. Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
a. title c. alter
b. src d. None of the above
25. Which HTML defines a section in a document?
a. <class> c. <sec>
b. <div> d. <obj>
26. text displayed on a computer display or other electronic devices with references to other text that the reader
can immediately access
a. Hypertext c. Link
b. Hyperlink d. Markuptext
27. Electronic link providing direct access from one distinctively marked place in a hypertext or hypermedia
document to another in the same or a different document.
a. Metalink c. Hypertext
b. Hyperlink d. Markuptext
28. Use the correct HTML to make the text below into a link to "home.html".
a. <a href = “home.html”> home </a> c. <a link = “home.htm”l>home</a>
b. <href = “Home”>home.html</a> d.<href a = “home”>home.html</a>
29. Use the HTML image attributes to set the size of the image to 250 pixels wide and 400 pixels tall.
a. <image src = “scream.png” width=”250” height=”400”>
b. <img src = “scream.png” width=”250” height=”400”>
c. <image src = “scream.png” width=”250” height=”400”>
d. < img src = “scream” width=”250” height=”400”>
30. Add a list item with the text “coffee” inside the <ul>.
a. <ul> c. <ul>
<li>Coffee</li> <ul>Coffee</ul>
</ul> </ul>
b. <li> d. <li>
<ul>Coffee</ul> <li>Coffee</li>
</li> </li>
31. Which CSS is use to set the font of the paragraph to "courier".
a. <p style=”font-family:courier;”>This is a paragraph.</p>
b. <p style=”courier:font;”>This is a paragraph.</p>
c. <p style=”courier:font-family;”>This is a paragraph.</p>
d. <p style=”font:courier;”>This is a paragraph.</p>