Web Design Paper 5 Dit
Web Design Paper 5 Dit
a. The first and the last tag in the above html document are <html> and </html>
respectively. Explain the purpose that are served by these tags. (2 marks)
b. Identify where the header information will be displayed if the above html code is
executed and how that header information shall read. (2 marks)
ii) Write an HTML source code that implements the following table. (4 marks)
iii) Describe TWO advantage of Client-side JavaScript program over HTML. (2 marks)
1
iv) Illustrate how Style Sheets work in the Web design and development. (4 marks)
v) Write the HTML code to display the following form elements:
a. A text box (2 marks)
b. Image (2 marks)
c. List (2 marks)
ii) Write html source code that would implement radio button in Web design and
Development . (3 marks)
iii) Recall FOUR methods that can be used to add CSS to HTML. (4 Marks)
iv) Explain what you understand by a table as implied in the Web Design and
Development. (3 Marks)
2
text-align:center;
}
.GFG {
color:#009900;
font-size:50px;
font-weight:bold;
}
.geeks {
font-style:bold;
font-size:20px;
}
</style>
</head>
<body>
<div class = "main">
<div class ="GFG">GeeksForGeeks</div>
a. There are three types of CSS. Categorise above CSS code to its rightful classification by
justification. (3 Marks)
b. Construct the output display when above CSS (Cascading Style Sheet) code is executed.
(2 Marks)
iv) Discuss TWO advantages of Cascading Style Sheets as implied in the Web design
development. (2 marks)
3
i) Write HTML code to implement the below Form output. (4 marks)
iii) Describe what you understand by the links and how they are created by aid of an
example in Web design and Development. (4 Marks)
iv) Explain how Frames Work using a relevant diagrams as implied in Web design and
Development. (3 marks)
iv) Provide web output for the following HTML source code (3 Mark)
<table>
<tr>
<th></th>
<th scope="col">Saturday</th>
4
<th scope="col">Sunday</th>
</tr>
<tr>
<th scope="row">Tickets sold:</th>
<td>120</td>
<td>135</td>
</tr>
<tr>
<th scope="row">Total sales:</th>
<td>$600</td>
<td>$675</td>
</tr>
</table>
5
<td>Current Affairs</td>
</tr>
</table>
Draw the resulting table when the source code is executed. (3 Marks)