Tutor Marked Assignment TMA-09
CIW Website Design Manager Course Section 1
Note: This tutor marked assignment may not be the latest version. I am aware that a more recent version of the course manual has been released which may include different assignments.
TMA-09 - CD Access Code: 20439
Q1. Which of the HTML codes will produce this result? Several might apply.
HELLO WORLD
- a) <EM>HELLO WORLD</EM>
- b) <B>HELLO WORLD</B>
- c) <STRONG>HELLO WORLD</STRONG>
- d) <I>HELLO WORLD</I>
Q2. Which of the HTML codes will produce this result? Several might apply.
HELLO WORLD
- a) <EM>HELLO WORLD</EM>
- b) <B>HELLO WORLD</B>
- c) <STRONG>HELLO WORLD</STRONG>
- d) <I>HELLO WORLD</I>
Q3. Which of the HTML codes will produce this result? Several might apply.
- Line 1
- Line 2
- a) <UL><LI>Line 1</LI><LI>Line 2<UL></LI></UL>
- b) <OL><LI>Line 1</LI><LI>Line 2<UL></LI></OL>
- c) <LI><UL>Line 1</UL><UL>Line 2</UL></LI>
- d) <OL><H1>Line 1</H1><H2>Line 2</H1></LU><OL>
Hint: More than a hint really. The answer is a) but I believe it is inaccurate. Yes a) works, and produces the result but there appears to be a superfluous <UL> in there. The second occurrence looks to be out of place. It works, with or without this.
Q4. Which of the HTML codes will produce this result? Several might apply.
| Table 1 |
|---|
- a) <TABLE BORDER="2"><TR><TH>Table 1</TH></TR></TABLE>
- b) <TABLE BORDER="0"><TR><TH>Table 1</TH></TR></TABLE>
- c) <TABLE><TR><TH>Table 1</TH></TR></TABLE>
- d) <TABLE BORDER="2"><TR><TR>Table1</TR></TR></TABLE>
Hint: I got this wrong! I found it difficult to judge, from the printed images, the font sizes and table border widths.
Q5. Which of the HTML codes will produce this result? Several might apply.
- a) <INPUT TYPE="CHECKBOX" VALUE="1" CHECKED>Select this
- b) <INPUT TYPE="RADIO" VALUE="1">Select this
- c) <INPUT TYPE="CHECKBOX" VALUE="0" CHECKED>Select this
- d) <INPUT TYPE="RADIO" VALUE="0" CHECKED>Select this
Q6. Which of the HTML codes will produce this result? Several might apply.
- a) <INPUT TYPE="CHECKBOX" VALUE="1" CHECKED>Select this
- b) <INPUT TYPE="RADIO" VALUE="1">Select this
- c) <INPUT TYPE="CHECKBOX" VALUE="0" CHECKED>Select this
- d) <INPUT TYPE="RADIO" VALUE="0" CHECKED>Select this
Q7. Which of the HTML codes will produce this result? Several might apply.
- a) <SELECT><OPTION>1</SELECT>
- b) <SELECT><OPTION>1<OPTION>2</SELECT>
- c) <SELECT><OPTION>2</SELECT>
- d) <SELECT><OPTION>2<OPTION>1</SELECT>
Q8. Which of the HTML codes will produce this result? Several might apply.
<FORM>
one of the following
</FORM>
- a) <INPUT TYPE="Button" VALUE="Reset">
- b) <INPUT TYPE="Button" VALUE="Submit">
- c) <INPUT TYPE="Reset">
- d) <INPUT TYPE="Submit">
Q9. Which of the HTML codes will produce this result? Several might apply.
| Line 1 |
|---|
- a) <TABLE WIDTH="90" BORDER="2"><TH
HEIGHT=60
VALIGN="BOTTOM">Line 1</TH></TABLE> - b) <TABLE WIDTH="90"><TH HEIGHT=60 VALIGN="MIDDLE">Line
1</TH></TH></TABLE> - c) <TABLE WIDTH="90" BORDER="0"><TH HEIGHT=80
- valign="MIDDLE">Line 1</TH></TABLE>
- d) <TABLE WIDTH="90" BORDER="2"><TH
HEIGHT=60
VALIGN="MIDDLE">Line 1</TH></TABLE>
While the correct answer does work, I don't believe it is syntactically correct. There should be <TR> and </TR> tags in there somewhere.
Q10. Which of the HTML codes will produce this result? Several might apply.
- a) <TEXTAREA ROWS="5">Enter your text here...</TEXTAREA>
- b) <TEXTAREA">Enter your text here...</TEXTAREA>
- c) <TEXTAREA ROWS="3">Enter your text here...</TEXTAREA>
- d) <INPUT TYPE="text" VALUE="Enter your text here...">

