Reference no: EM131011186
Part I: MCQ: [45 points, 1 point each]
1. Tags and text that do not show directly on the page are placed where?
A- Tables
B- Head
C- Body
D- Forms
2. The <title> tag belongs where in your HTML?
A- Form
B- Body
C- Head
D- Tables
3. What tag tells the browser where the page starts and stops?
A- <head>
B- <body>
C- <link>
D- None of the Above
4. Which of the following will NOT be found in the <head> section?
A- Metatags
B- Title
C- Table
D- <style>
5. Which is the correct tag to make a link that will send an email?
A- <a href="sendmail://[email protected]">
B- <a href="[email protected]">
C- <a href="mailto:[email protected]">
D- <a href="to_:[email protected]">
6. Table cells are represented by:
A- <td></td>
B- <tr></tr>
C- <table></table>
D- <cell></cell>
7. To link your Web page to a style sheet, you must use the _____ tag.
A- <head>
B- <style>
C- <link>
D- <a>
8. To center, right or left justify text or an image, what code would I use?
A- justify
B- align
C- push
D- send
9. What does CSS stand for?
A- Creative Style Sheets
B- Cascading Style Sheets
C- Computer Style Sheets
D- Colorful Style Sheets
10. Where in an HTML document is the correct place to refer to an external style sheet?
A- In the <body> section
B- In the <head> section
C- At the top of the document
D- At the end of the document
11. Which HTML tag is used to define an internal style sheet?
A- <css>
B- <style>
C- <script>
D- <link>
12. Which HTML attribute is used to define inline styles?
A- class
B- font
C- styles
D- none of the above
13. Which is the correct CSS syntax?
A- body {color: black;}
B- body:color=black;
C- {body;color:black;}
D- {body:color=black;}
14. How do you insert a comment in a CSS file?
A- // this is a comment //
B- /* this is a comment */
C- ' this is a comment
D- // this is a comment
15. How do you add a background color for all <h1> elements?
A- all.h1 {background-color:#FFFFFF;}
B- h1.all {background-color:#FFFFFF;}
C- h1 {background-color:#FFFFFF;}
D- {h1 background-color:#FFFFFF;}
16. Which CSS property is used to change the text color of an element?
A- fgcolor
B- text-color
C- color
D- colure
17. Which CSS property controls the text size?
A- text-style
B- text-size
C- font-size
D- font-style
18. How do you display hyperlinks without an underline?
A- a {underline:none;}
B- a {text-decoration:no-underline;}
C- a {text-decoration:none;}
D- a {decoration:no-underline;}
19. What is the correct HTML for creating a hyperlink?
A- <a href="https://www.kckcc.edu">KCKCC</a>
B- <a name="https://www.kckcc.edu ">KCKCC </a>
C- <a url="https://www.kckcc.edu ">KCKCC </a>
D- <a>https://www.kckcc.edu </a>
20. How can you make a numbered list?
A- <dl>
B- <ol>
C- <list>
D- <ul>
21. What is the correct HTML for making a checkbox?
A- <checkbox>
B- <input type="check">
C- <input type="checkbox">
D- <check>
22. What is the correct HTML for inserting an image?
A- <image src="image.gif" alt="My Image">
B- <imgsrc="image.gif" alt="My Image">
C- <img href="image.gif" alt="My Image">
D- <img alt="My Image">image.gif</img>
23. How do you make the text bold?
A- style:bold;
B- font:bold;
C- font-weight:bold;
D- weight:bold;
24. How do you display a border like this:
The top border = 10 pixels
The bottom border = 5 pixels
The left border = 20 pixels
The right border = 1pixels
A- border-width:10px 20px 5px 1px;
B- border-width:10px 1px 5px 20px;
C- border-width:5px 20px 10px 1px;
D- border-width:10px 5px 20px 1px;
25. Which doctype is correct for HTML5?
A- <!DOCTYPE HTML5>
B- <!DOCTYPE html>
C- <!DOCTYPE Xhtml5>
D- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "https://www.w3.org/TR/html5/strict.dtd">
26. Which HTML5 element is used to specify a footer for a document or section?
A- <bottom>
B- <footer>
C- <section>
D- <div id="footer">
27. In HTML5, which attribute is used to specify that an input field must be filled out?
A- placeholder
B- required
C- validate
D- formvalidate
28. If an element is configured with ______, the other content on the page will appear to its right.
A- float: right;
B- position: relative;
C- float: left;
D- position: right
29. The Box Model consists of a content area surrounded by ___________.
A- a border
B- padding, border, and margin
C- border and margin
D- spacing, border, and margin
30. The _______ pseudo-class configures the styles that will apply when the mouse rolls on top of a hyperlink.
A- hover
B- click
C- active
D- over
31. Select the form control below that does not use the <input> tag.
A- Text box
B- Select list
C- Checkbox
D- Radio button
32. When you use the Box Model, the __________________ is always transparent.
A- border
B- content
C- spacing
D- margin
33. A table with a width set to 600 pixels will look ____________ on a monitor with resolution set to 640 x 480 than on a monitor with resolution set to 1024 x 768 )assuming that the physical size is the same for both monitors)
A- larger
B- smaller
C- no different
D- more distorted
34. Select the HTML tag below that configures a button that, when clicked, will automatically reset form fields to their default values.
A- <input type="clear"/>
B- <button type="reset">Reset</button>
C- <input type="reset" value="Reset" />
D- <input type="button" value="clear" />
35. You would like to conduct a survey and ask your Web page visitors to indicate the computer operating systems that they use. Each visitor could use more than one computer operating system. Select the form control that is best to use for this purpose.
A- Check box
B- Radio button
C- Text box
D- Scrolling text box
36. An order form contains an area for Web visitors to select their state or province. You need to limit the amount of space on the form that is used for this feature. Select the form control that is best to use for this purpose.
A- Check box
B- Radio button
C- Text box
D- Select list
37. Select the CSS rules of precedence from outermost to innermost from the choices below.
A- External, inline, embedded
B- External, embedded, inline
C- Inline, embedded, external
D- Embedded, inline, external
38. Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone.
A. Phone: <input type="textbox" name="customerPhone" />
B. <label>Phone: <input type="text" name="customerPhone" /></label>
C. <label for="Pho">Phone: </label><input type="text" name="customerPhone" id="Pho" />
D. Phone: <label></label><input type="textbox" name="customerPhone" />
39. Use the ____ property in the HTML link tag to associate a Web page with a style sheet printing.
A- media="print"
B- out="printer"
C- media="paper"
D- show="screen"
40. Which form control would be appropriate to accept comments about your website?
A. Select list
B. Text box
C. Scrolling text box
D. Label
41. The main site navigation or a section offering navigation choices should contain __________.
A. no more than nine links
B. as many links as you need
C. only the most important pages
D. a link to every page on your website
42. The three most common methods of organizing websites are _____________.
A. horizontal, vertical, and diagonal
B. hierarchical, linear, and random
C. accessible, readable, maintainable
D. chunking, linear, and random
43. Select the best reason to include height and width attributes on an <img /> tag.
A. They are required attributes and must always be included when designing Web pages.
B. They help the browser load the page faster by reserving space for the image.
C. They help the browser display the image in its own browser window.
D. They slow down the overall speed in which the Web page loads
44. Use the _______________ property to configure an image to use as a bullet point in an unordered list.
A. bullet-image
B. image-style
C. list-style-image
D. bullet-style-image
45. To hide the display of the list markers on an ordered list, set list-style-type to the value ______.
A. no display
B. hide
C. invisible
D. none
46. What do you need to do to make content stay below your floats?
A- A. hide
B- B. position
C- C. clear
D- D. overflow
47. Which tag is used to contain your navigation?
A. <nav>
B. <footer>
C. <header>
D. <hgroup>
48. The main site navigation or a section offering navigation choices should contain ________.
A. no more than nine links
B. as many links as you need
C. only the most important pages
D. a link to every page on your website
49. Which tag is used to force the browser to display the next text or element on a new line?
A. <new line />
B. <p>
C. <br />
D. <line />
50. What is wrong with the following code?
<article>
<header> Umbrella Corporation </header>
<p> Article content <p>
<sidebar> Footnotes </sidebar>
</article>