1.
a)Write the HTML code that produces the form below: (15 marks)
[Figure: a "Student Registration Form" with a horizontal rule under the title and two columns of labelled inputs — First name (placeholder "First name"), Last name, Phone number, Email address, Gender (radio buttons: Female (selected), Male), Address, Faculty (drop-down showing "Faculty of Computing") — and a "Register" button.]
b)Use any of the styling methods to apply CSS to the form elements as they are above. (10 marks)
2.
a)List and explain the available methods through which CSS is added to HTML elements. (6 marks)
b)State the advantages and disadvantages of the methods mentioned in 2(a) above. (6 marks)
c)State the most preferred of the methods discussed in 2(a) above and explain why it is the most preferred. (3 marks)
3.
a)Write the skeleton of a typical HTML page and briefly explain the purpose of each line. (5 marks)
b)Write the syntax of a CSS rule and explain briefly the purpose of each line. (5.5 marks)
c)Explain the functions of each of the following in web design/development: (4.5 marks)
i. HTML
ii. CSS
iii. JavaScript
4.
a)What is the difference between frontend and backend web development? (4 marks)
b)Write the markup that produces the following: (5 marks)
₦100, ₦200, ₦500 & ₦1000 notes would be redesigned in January 2023.
Dell™
© 2022, Bayero University, Kano.
c)Differentiate between an unordered list and a description list. Give an example in each case. (6 marks)
5.
a)Write the output produced by the HTML code below: (7 marks)
<table border="1">
<caption>Courses Table</caption>
<thead>
<th>Programs</th>
<th>BSc. Computer Science</th>
<th>BSc. Information Technology</th>
<th>BSc. Software Engineering</th>
<th>BSc. Information and Media Studies</th>
</head>
<tbody style="text-align:center">
<tr>
<td rowspan="3"><strong>Courses</strong></td>
<td colspan="3">MTH1301</td>
<td></td>
</tr>
<tr>
<td></td>
<td colspan="2">ITC2201</td>
<td>IMS2212</td>
</tr>
</tbody>
</table>
b)Explain each of the following with an example in each case: (3 marks)
i. tag
ii. element
iii. empty element
c)Explain how the web works. (5 marks)
6.
a)Write the output of the HTML code below. (7 marks)
<p>
Programs in the Department of Computer Science, BUK.
<ol>
<li>Department of Computer Science. </li>
<ol type="i">
<li>BSc. Computer Science</li>
<li>MSc. Computer Science</li>
<li>Postgraduate Diploma in Computer Science</li>
<li>Masters in Computer Application</li>
</ol>
</ol>
</p>
b)Assume that you have a picture saved with the name "profile_picture.PNG" in a folder named "images". Write the HTML code that uploads that picture on a web page. (3 marks)
c)Write the HTML code that uploads a video with name "event.mp4" stored in the same folder as the picture in 6(b) above. (5 marks)

