COMP 1950 | Week 3 Quiz

1.                  What does HTML stand for?

a.      Hyperlinks and Text Markup Language

b.      Hyper Text Markup Language

c.       Home Tool Markup Language

 

2.                  What does X in XHTML stand for?

a.      eXtended

b.      eXtensible

c.       eXpanded

 

3.                  What does CSS stand for?

a.      Complete Style Sheet

b.      Computing Style System

c.       Cascading Style Sheets

 

4.                  What does DTD stand for?

a.      Document Term Declaration

b.      Document Type Definition

c.       Defined Text Document

 

5.                  Choose the correct HTML tag for the largest heading

a.      <h6>

b.      <h1>

c.       <head>

d.      <heading>

 

6.                  What is the correct HTML tag for inserting a line break?

a.      <lb>

b.      <break>

c.       <br>

 

7.                  What is the correct HTML for adding a background color?

a.      <background>yellow</background>

b.      <body bgcolor="yellow">

c.       <body color="yellow">

 

8.                  What is the correct HTML for making a hyperlink?

a.      <a url="http://www.bcit.ca">BCIT</a>

b.      <a href="http://www.bcit.ca">BCIT</a>

c.       <a>http://www.bcit.ca</a>

d.      <a name="http://www.bcit.ca">BCIT</a>

 

9.                  How can you make an e-mail link?

a.      <a href="mailto:acalder@my.bcit.ca">

b.      <mail href="acalder@my.bcit.ca">

c.       <a href="acalder@my.bcit.ca">

d.      <mail>acalder@my.bcit.ca</mail>

 

10.             How can you open a link in a new browser window?

a.      <a href="url" target="new">

b.      <a href="url" target="_blank">

c.       <a href="url" new>

 

 


11.             How can you make a list that lists the items with 1, 2, 3...?

a.      <list>

b.      <dl>

c.       <ol>

d.      <ul>

 

12.             What is the correct HTML for inserting an image?

a.      <img>image.gif</img>

b.      <image src="image.gif">

c.       <img href="image.gif>

d.      <img src="image.gif">

 

13.             XHTML is a Web standard

a.      False

b.      True

 

14.             HTML will be replaced by XHTML

a.      False

b.      True

 

15.             What is a correct XHTML tag for a line break?

a.      <br>

b.      <br />

c.       <break/>

 

16.             What is the correct XHTML for an attribute and its value?

a.      width=80

b.      WIDTH="80"

c.       width="80"

d.      WIDTH=80

 

17.             Complete the sentence: A 'valid' XHTML is said to be…?

a.      well-formed.

b.      uploaded in binary format

c.       not past it's due date

 

18.             What is the correct HTML for referring to an external style sheet?

a.      <stylesheet>mystyle.css</stylesheet>

b.      <style src="mystyle.css">

c.       <link rel="stylesheet" type="text/css" href="mystyle.css">

 

19.             Which is the correct CSS syntax?

a.      {body;color:black}

b.      body:color=black

c.       {body:color=black(body}

d.      body {color: black}

 

20.             Using CSS, how do you display hyperlinks without an underline?

a.      a {text-decoration:no underline}

b.      a {text-decoration:none}

c.       a {underline:none}

d.      a {decoration:no underline}