Professional Documents
Culture Documents
2a. Write HTML codes to demonstrate the use of the Anchor tag for the following
i. Creating a web link that opens a different web page called “Profile”
<a href="profile.html">Profile</a>
ii. Reference a link within the same HTML document (web page)
<h1 id="top">Top</h1>
<p><a href="#top">TOP</a></p>
Type B
1. List and explain 4 communication protocols
3. Email Protocol
E-Mail Protocols Two main servers are required for e-mail messages to be sent and delivered
successfully. These are –incoming mail server and an outgoing mail server. Incoming e-mail
messages are sent to an e-mail server that stores messages in the recipient's email box. The user
retrieves the messages with an e-mail client that uses one of a number of e-mail retrieval
protocols.
File Transfer Protocol (FTP) is a set of rules that allows files to be exchanged between
computers on the Internet.
2a. Write HTML code to create the table below
<!DOCTYPE html>
<html>
<head>
<title>Table</title>
<style>
td, th {
border: 1px solid gray;
}
</style>
</head>
<body>
<table>
<tr><th colspan="4">Timetable</th></tr>
<tr>
<td>First</td><td>Second</td><td>Third</td><td>Fourth</td>
</tr>
<tr>
<td rowspan="2">CMP 331</td><td>CMP 411</td><td>CMP 221</td>
<td rowspan="3">371</td>
</tr>
<tr>
<td>CMP 351</td><td>CMP 431</td>
</tr>
<tr>
<td>CMP 111</td><td>CMP 251</td><td>CMP 341</td>
</tr>
</table>
</body>
</html>