Federal Government2080 BSQuestion 15 of 16
Define Web page and Content Management System (CMS). Write a code in HTML to create a web-page containing at least: title text, body background, a table having one row and two columns, an image and a text with hyperlink.
10 marks
Question source
- Exam year
- 2080 BS / 2023 AD
- Level
- Gazetted First Class (Computer Operator – Prabidhik)
- Paper
- Paper II – Sewa Sambandhit Karya Gyan
- Section
- Section B
Model answer
A web page is a single document on the web (HTML) opened by URL in a browser. A website is a collection of linked pages. A CMS (Content Management System) is software to create and manage website content without coding — e.g. WordPress, Joomla, Drupal. Government notices uploaded via CMS instead of hand-coding each page.
Required HTML code:
<!DOCTYPE html>
<html>
<head>
<title>My First Page - NITC Nepal</title>
</head>
<body bgcolor="lightyellow">
<h1>Welcome to E-Governance Nepal</h1>
<table border="1">
<tr>
<td>Service</td>
<td>Citizenship</td>
</tr>
</table>
<br>
<img src="nepal.jpg" alt="Nepal" width="300" height="200">
<br><br>
<a href="https://www.nitc.gov.np">Visit NITC website</a>
</body>
</html>
What it covers: <title> = tab text; bgcolor = body background; <table><tr><td> = one row two columns; <img src> = image; <a href> = hyperlink text. In exam, keep tags balanced and attribute quotes correct.