=========================preview======================
(comp101)[2003](f)final~masze^_10083.pdf
Back to COMP101 Login to download
======================================================
For questions 1 to 30, please tick all boxes that are correct (2 points for each question).
1.
In a valid HTML file, which of the following tags must be present? . <SCRIPT> . <HEAD> . <TITLE>
. <FRAME>
. <BODY>
2.
What does the browser do for the text between the <TITLE> and the </TITLE> tags?
. As part of the <HEAD> element, it uses the text forinternal identification which is not visible to the user.
. It places the text on top of the browser window.
. It places the text inside the browser window as a big title for the Web page.
. It places the text at the bottom of the browser windowfor identification.
3.
Which of the following tags creates the largest headingin the webpage?
. <H1>
. <H6>
. <STRONG>
. <EM>
4.
Which of the following tags creates a list of bullet items?
. <B>
. <OL>
. <UL>
. <LI>
5.
What does the browser do when it encounters the tag<BODY BGCOLOR=*FFFF00>?
. It changes the background color of the window to blue. . It changes the background color of the window toyellow.
. It changes the background color of the window to
purple.
. It does nothing since there is an error.
6.
One must use an absolute URL to link to material . inside the same HTML file. . inside the same folder where the HTML file resides. . at another website within the same domain where the
HTML file resides.
. at another website outside the domain where the HTML
file resides.
7.
One should try to use relative URL links to
. include material containing images.
. make the webpage portable.
. protect the copyright of precious contents.
. make the webpage permanent.
8.
It is always a good idea to specify width and height attributes for images because:
. smaller width and height would reduce load time.
. correct width and height are needed to preserve theoriginal aspect ratio of the image.
. text can be displayed around the space specified whilethe image is loading.
. the image will be automatically scaled to fill the browser window without width and height specifications.
9. It is always a good idea to use the ALT attribute when including images because:
. the browser can use the attribute to display a captionfor the image.
. the browser can display the attribute instead of the image if it does not support graphics.
. the browser needs the attribute to find where the image is.
. the webpage will be accessible to the vision-impaired if a page reader is used.
10.To make a webpage appear identical on different
computers or operating systems, one should . use Notepad to create the webpage, instead of editors such as Frontpage or Dreamweaver.
. follow HTML standards as published by the W3C.
. not use frames or tables.
. not include multimedia contents.
11.Creating webpages with Dreamweaver is easy and doesn't require real knowledge of HTML. Why can it be useful tohave a good knowledge of HTML nonetheless?
. Sometimes Dreamweaver generates