Você está na página 1de 1

Name: ______________________________________

1. Which tag will produce what you see in this picture?

a) <head>HTML Quiz </head> b) <title>HTML Quiz </title> c) <H1>HTML Quiz </H1> d) <top>HTML Quiz </top>
2. Which is the correct tag to make a link that will send an email?
a) <a href="sendmail://nicholso_p01@firn.edu"> b) <a href="nicholso_p01@firn.edu"> c) <a href="mailto:nicholso_p01@firn.edu">
3. Which tag makes the largest headline?
a) H1 b) H2 c) H3 d) H4
4. HTML is ___________
a) a company that provides access to the Internet. b) common questions and answers c) the language of the Web d) common graphic format on
the Web.
5. HTTP is a ________________
a) the transfer method used on the Web b) file format used to transfer files from one word processor to another c) a Web Address d) file format
that retains format on the Web.
6. A URL is ________
a) a Web Address b) file format that retains format on the Web c) the transfer method used on the Web d) file format used to transfer
files from one word processor to another.
7. A table is a _____
a) ARPAnet b) input area on a web page c) method used to keep web pages formatted correctly d) an interent activity that involves
synthesis of information.
8. A form is an _____
a) an interent activity that involves synthesis of information b) method used to keep web pages formatted correctly c) input area on a web page.
d) ARPAnet
9. The language used for creating Web pages.
a) DSL b) GUI c) HTML d) FTP
10. Table cells are represented by:
a) <TD></TD> b) <TCELL></TCELL> c) <TC></TC> d) <CELL></CELL>
11. Target=_blank specifies that a
a) the page will shut down b) the page is defined as a target and will be found by the arrow command c) window will open blank.
d) when clicking a link, it will open in a new window.
12. Which part of the HTML document would you find you META tag information?
a) Body b) Title c) Form d) Head
13. To begin a new line without starting a new paragraph, which code would you use?
a) <l> b) <newline> c) <line> d) <br>
14. To insert an image on your Web page, what tag would you use?
a) PICTURE b) PIC SRC c) IMG SRC d) IMAGE
15. To center, right or left justify text or an image, what code would I use?
a) justify b) align c) push d) send
16. To create a drop down list for a form, which syntax would you use?
a) The general <SELECT> and <DROPDOWM> tags b) The general <SELECT> and <OPTION> tags c) The general <OPTION> and <TEXT> tags.
d) The general <DROPDOWM> and <TEXT> tags.
17. To link your Web page to a style sheet, you must use the _____ tag.
a) <STYLESHEET> b) <STYLE> c) <LINK> d) <WEB>
18. When you place a JavaScript on a Web page, which tag would you use?
a) <JS></JS> b) <JSCRIPT></JSCRIPT> c) <JAVA></JAVA> d) <SCRIPT></SCRIPT>
19.onBlur, onClick, and onFocus are all ______ handlers.
a) elements b) properties c) methods d) events
20. Enable, form, name, type, and value are all ________.
a) events b) methods c) properties d) elements

II. Make some corrections in the given PHP Code. Write your correction(s) beside the given code. (10 points each number)
1) <?php >
echo(‘Display 1 to 100’);
for (x=1; x<=100; x++){
echo(x);
echo(‘ ‘);
} <?>
2) switch (&remarks){
case ‘very good’:
echo (‘your grade is between 1.0 and 1.9’);
break;
case ‘good’:
echo (‘your grade is between 2.0 and 2.5’);
break;
case ‘fair’:
echo (‘your grade is between 2.6 and 3.0’);
break;
default:
echo (‘your grade is above 3.0’); }
3) &tax = 0.0;
if ($salary<5000 and $salary>0){
$tax = $salary*0.05;
}elseif($salary>=5000 and $salary<=10000){
$tax = $salary*0.10;
}else
$tax = $salary*.15;

Você também pode gostar