Official Kerala Board Solutions for Class 12 Computer Science: Chapter 04 Web Technology
Explore reliable textbook solutions for Chapter 04 Web Technology tailored for Class 12 learners. Utilizing these Computer Science answers ensures thorough preparation and strengthens foundational knowledge before final Kerala Board evaluations.
Chapter-wise Solutions for Computer Science: Chapter 04 Web Technology
View or download the dedicated Chapter 04 Web Technology solution resource below. Engaging with these textbook answers under focused study conditions ensures continuous academic progress and mastery of the 2026-27 curriculum for Computer Science.
Question 1: "An HTML document requires a structure". Justify this statement. (March 2007)
Answer:
An HTML page has a well-defined structure. The main sections of an HTML document are:
1. <HTML>...</HTML> - The whole document is enclosed between these tags.
2. <HEAD>...</HEAD> - This defines the head section, which holds information such as the document title and general style definitions.
3. <TITLE>...</TITLE> - This encloses the title, which is given inside the head section. The text inside it is shown in the title bar of the browser.
4. <BODY>...</BODY> - The content of the document is written inside these tags.
Example:
<HTML>
<HEAD>
<TITLE>First Page</TITLE>
</HEAD>
<BODY>
Hello
</BODY>
</HTML>
Exam Tips:
a) Name all four sections (HTML, HEAD, TITLE, BODY) and say what each one holds.
b) Finish with a small example; it shows that you know how the tags are nested.
c) Remember that the title appears in the browser title bar, not in the page body.
Question 2: Write the HTML code required to display the following in a web page (use list tags). (March 2008)
ListBox
A ListBox control displays a list of items from which a user can select one or more items
ComboBox
A ComboBox control combines the features of a textbox and a ListBox.
Frame
A frame provides grouping for controls
Answer:
<html>
<head>
<title>
Definition list
</title>
</head>
<body>
<dl>
<dt>ListBox
<dd>A ListBox control displays a list of items from which a user can select one or more items
<dt>ComboBox
<dd>A ComboBox control combines the features of a textbox and a ListBox.
<dt>Frame
<dd>A frame provides grouping for controls
</dl>
</body>
</html>
Exam Tips:
a) Terms followed by descriptions need a definition list: <DL> for the list, <DT> for each term and <DD> for each description.
b) Close the list with </DL> and keep the html, head and body structure complete.
Question 3: Gopal wants to set the letter type for a paragraph of text in one of his web pages with the following properties: Arial font with size 5 and colour red. (March 2008)
Answer:
<BASEFONT Face="Arial" size=5 color="red">
Exam Tips:
a) <BASEFONT> sets the default font for the whole page; it is an empty tag, so it has no closing tag.
b) Remember its three attributes: Face, Size and Color.
Question 4: Suresh is designing a web page. He wants to display an image on the right side of the text. Write the HTML code for it. (June 2008)
Answer:
<img SRC="home.jpg" Align="Right">
Exam Tips:
a) Use the <IMG> tag with the SRC attribute for the file name and ALIGN="Right" for the position.
Question 5: If you analyse web pages you can see different colours for links, visited links, background etc. Suggest how this can be done in HTML with an example. (June 2008)
Answer:
We can use the attributes of the <BODY> tag.
1) BGCOLOR - specifies the background colour of the document body.
Eg. <BODY BGCOLOR="RED">
2) BACKGROUND - sets an image as the background of the document body.
Eg. <BODY BACKGROUND="C:/page1.jpg">
3) TEXT - specifies the colour of the text content of the page.
Eg. <BODY TEXT="Blue">
4) LINK - specifies the colour of hyperlinks that have not been visited by the viewer.
5) ALINK - specifies the colour of an active hyperlink (the link at the moment it is clicked).
6) VLINK - specifies the colour of hyperlinks that have already been visited by the viewer.
Eg. <BODY ALINK="Blue" VLINK="Cyan">
Exam Tips:
a) List each attribute with one line on what it controls, followed by an example.
b) Do not mix up LINK (not yet visited), VLINK (visited) and ALINK (active).
Question 6: What are the two types of hyperlinks available in HTML? (June 2008)
Answer:
The power of HTML lies in its ability to provide hyperlinks. The <A> tag is used for this. There are two types of linking.
1) External linking - an external link is a hyperlink to another page. By clicking on the hypertext we can go to another web page. The anchor tag <A> is used for external linking.
Eg. <A HREF="c:\main.html">Main</A>
2) Internal linking - an internal link points to a section in the same document.
<HTML>
<HEAD>
<TITLE>Internal linking</TITLE>
</HEAD>
<BODY>
<P><A NAME="Bio">Biology Group</A><BR>
Subject combinations are Physics, Chemistry, Mathematics and Biology.</P>
<P><A NAME="Comp">Computer Group</A><BR>
Subject combinations are Physics, Chemistry, Mathematics and Computer Science.</P>
<P><A NAME="Comm">Commerce Group</A><BR>
The subject combinations are Business Studies, Economics, Accountancy and Computer Application.</P>
<BR><A HREF="#Bio">Go Biology</A>
<BR><A HREF="#Comp">Go Computer</A>
<BR><A HREF="#Comm">Go Commerce</A>
</BODY>
</HTML>
Exam Tips:
a) Define both types first, then give one example of each.
b) In internal linking, the NAME given to a section must match the name used after # in HREF exactly, including capital and small letters.
Question 7: The DIR attribute of the <HTML> tag is used to indicate ________ (June 2009)
Answer:
Direction
Exam Tips:
a) DIR stands for direction: it sets the direction of the text (left-to-right or right-to-left).
Question 8: Differentiate container tag and empty tag. (June 2009)
Answer:
Container tag: It has both an opening tag and a closing tag. Ex: <html>, <head>, <body>, ...
Empty tag: It has only an opening tag and no closing tag. Ex: <br>, <hr>, ...
Exam Tips:
a) Give at least two examples for each type; examples carry marks in a 2-mark question.
Question 9: Which of the following is not a browser program? (February 2009)
a) MOSAIC
b) Windows Explorer
c) Internet Explorer
d) Netscape Navigator
Answer:
b) Windows Explorer
Exam Tips:
a) Windows Explorer manages files and folders on the computer; Internet Explorer is the web browser, so do not confuse the two names.
Question 10: The following code is intended to centre the image mypic.gif in the browser window: <IMG src=mypic.gif align=center>. However, the desired result is not coming. Can you point out the reason for it and a solution for it? (February 2009)
Answer:
The attribute ALIGN does not have the value "center". It can take the values left, right, top, middle and bottom.
The correct code is: <IMG src="mypic.gif" align="middle">
Exam Tips:
a) State the reason (invalid value) first and the corrected code second.
b) List the valid values of ALIGN to show that you know the attribute.
Question 11: Write the HTML code for creating the following web page: (March 2010)
ABC Pvt. Ltd.
HYDERABAD.
1. Health Care
2. Baby Products
a. Toys
b. Dress
3. Men's Wear
* Casuals
* Formals
Answer:
<HTML>
<HEAD>
<TITLE>ABC Pvt. Ltd</TITLE>
</HEAD>
<BODY>
ABC Pvt. Ltd.
<BR>HYDERABAD.
<OL>
<LI>Health Care
<LI>Baby Products
<OL TYPE="a">
<LI>Toys
<LI>Dress
</OL>
<LI>Men's Wear
<UL>
<LI>Casuals
<LI>Formals
</UL>
</OL>
</BODY>
</HTML>
Exam Tips:
a) Use <OL> for numbered lists and <UL> for bulleted lists; <OL TYPE="a"> gives the a, b letters.
b) Nest the inner list inside the outer list and close every list tag.
Question 12: Name the software used to view a web page. (June 2010)
Answer:
Web browser, for example Microsoft Internet Explorer or Netscape Navigator.
Exam Tips:
a) Give the name (web browser) and one or two examples.
Question 13: List the steps for creating a hyperlink with an example. (June 2010)
Answer:
Hyperlinks are created with the anchor tag <A>. There are two types of linking.
1) External linking - a link to another page. Example: <A HREF="c:\main.html">Main</A>
2) Internal linking - a link to a section in the same document.
<HTML>
<HEAD>
<TITLE>Internal linking</TITLE>
</HEAD>
<BODY>
<P><A NAME="Bio">Biology Group</A><BR>
Subject combinations are Physics, Chemistry, Mathematics and Biology.</P>
<P><A NAME="Comp">Computer Group</A><BR>
Subject combinations are Physics, Chemistry, Mathematics and Computer Science.</P>
<P><A NAME="Comm">Commerce Group</A><BR>
The subject combinations are Business Studies, Economics, Accountancy and Computer Application.</P>
<BR><A HREF="#Bio">Go Biology</A>
<BR><A HREF="#Comp">Go Computer</A>
<BR><A HREF="#Comm">Go Commerce</A>
</BODY>
</HTML>
Exam Tips:
a) Explain the anchor tag and the two kinds of links, with an example for each.
b) For internal links, the NAME and the text after # in HREF must match exactly.
Question 14: Suppose you want to place a picture in a web page. Which tag is used for this purpose? (March 2011)
Answer:
<img src="filename">
Exam Tips:
a) Name the tag (IMG) and its SRC attribute; IMG is an empty tag.
Question 15: HTTPS stands for __________ (March 2016)
Answer:
HyperText Transfer Protocol Secure
Exam Tips:
a) Write the full form in full; the word "Secure" at the end is what separates it from HTTP.
Question 16: How will you distinguish a static web page from a dynamic web page? (March 2016)
Answer:
| Static web page | Dynamic web page |
|---|---|
| 1. Content and layout are fixed | 1. Not fixed; may change at run time |
| 2. Never uses databases | 2. Uses databases |
| 3. Runs directly on the browser | 3. Runs on a server-side application program |
| 4. Not interactive | 4. Interactive |
Exam Tips:
a) Answer in a two-column table with at least two points per column for 2 marks.
Question 17: Write HTML code for a web page of an institution with the following features: it should have a marquee welcoming users, a heading in different fonts, and a picture and address of the institution. (3)
Answer:
<html>
<head>
<title>BVM Institute</title>
</head>
<body bgcolor="Cyan">
<MARQUEE height="100" width="100%" bgcolor="red" behavior="scroll">
BVM HSS welcomes you
</MARQUEE>
<H1>BVM HSS</H1>
<FONT size="5" face="Courier New">Kalparamba</FONT>
<IMG src="school.jpg" height="200" width="200" align="top">
</body>
</html>
Exam Tips:
a) Make sure the code has a marquee, a heading with different fonts (H1 and FONT), an image and the address, as the question asks.
b) Close every container tag such as <MARQUEE> and <FONT>.
Question 18: a) Classify the following scripting languages into client-side and server-side: ASP, PHP, JavaScript, VBScript. (2)
b) Write any one use of client-side scripting. (1)
Answer:
a)
| Client-side script | Server-side script |
|---|---|
| JavaScript | ASP |
| VBScript | PHP |
Exam Tips:
a) Place each language in the correct column; ASP and PHP run on the server.
b) For part b, give one clear use with its reason.
Question 19: Fill the following table with appropriate points to distinguish between the <P> tag and the <BR> tag.
| <P> tag | <BR> tag |
|---|---|
| 1) ....................... | 1. Breaks the current line and continues to the next line |
| 2) Container tag | 2) ....................... |
| 3) ALIGN attribute sets the alignment of the text in the paragraph | 3) ....................... |
Answer:
| <P> tag | <BR> tag |
|---|---|
| 1. It indicates a new paragraph and instructs the browser to add a blank line before the paragraph | 1. Breaks the current line and continues to the next line |
| 2. Container tag | 2. Empty tag |
| 3. ALIGN attribute sets the alignment of the text in the paragraph | 3. It has no ALIGN attribute |
Exam Tips:
a) Fill every blank in the table; the answer is built from the points given on the other side.
Question 20: a) Write an HTML code to display a list of hardware and software of a company in the following format: (5)
I) Hardware
1) Cables
i) UTP
ii) Coaxial
iii) Fiberoptic
2) Storage Devices
i) USB
ii) Hard Disk
iii) Tape
II) Software
1) Application Software
i) MS Office
ii) Inventory Management System
2) System Software
i) Compilers
ii) Assemblers
OR
b) Write an HTML code to display a user registration form. (Figure: a form titled "User Registration Form" with the text "Please complete the following form to register with our site"; text box User Name, password box Password; radio buttons Male and Female for Gender; a drop-down list "How did hear about us" showing "Select Answer"; a check box with "Please check this box if you wish to be added in our mailing list"; the text "We will not pass your details to any third part"; and a "Register Now" button.)
Answer:
a)
<html>
<head>
<title>Use of lists</title>
</head>
<body bgcolor="red">
<OL Type="I">
<li>Hardware
<OL Type="1">
<li>Cables
<OL Type="i">
<li>UTP
<li>Coaxial
<li>Fiberoptic
</OL>
<li>Storage Devices
<OL Type="i">
<li>USB
<li>Hard Disk
<li>Tape
</OL>
</OL>
<li>Software
<OL Type="1">
<li>Application Software
<OL Type="i">
<li>MS Office
<li>Inventory Management System
</OL>
<li>System Software
<OL Type="i">
<li>Compilers
<li>Assemblers
</OL>
</OL>
</OL>
</body>
</html>
OR
b)
<html>
<head>
<title>User Regn form</title>
</head>
<body bgcolor="red">
<u><center><H1>User Registration Form</H1></center></u>
<br>Please complete the following form to register with our site
<Form Action="regn.php" method="get">
<br>User name
<input type="text" name="txtname">
Password
<input type="password" name="PW">
<br>Gender:
<input type="radio" name="Sex" value="Male">Male
<input type="radio" name="Sex" value="Female">Female
<br>How did hear about us:
<Select Name="Answer" Size="1">
<option value="Phone">Phone
<option value="Mail">Mail
</select>
<br>Please check this box if you wish to be added in our mailing list
<input type="checkbox" Name="Mail">
<br>We will not pass your details to any third party
<br><input type="button" value="Register now">
</Form>
</Body>
</html>
Exam Tips:
a) Attempt only one part (a or b) as the question says OR; choose the one you know better.
b) For part a, use nested <OL> lists with TYPE "I", "1" and "i" and close each inner list before the next outer item.
c) For part b, use the INPUT types text, password, radio, checkbox and button, and a SELECT with OPTION tags inside a FORM.
d) Give the radio buttons the same NAME so that only one can be selected.
Question 21: Default port number for HTTPS is _______ (1)
Answer:
The default port number for HTTPS is 443.
(Note that 80 is the default port number for HTTP.)
Exam Tips:
a) Remember the pair: HTTP uses port 80 and HTTPS uses port 443.
Question 22: What are the various types of client-side scripting languages? (2)
Answer:
Client-side scripts are executed by the browser (client), so they reduce network traffic and the workload on the server.
JavaScript and VBScript are the two client-side scripting languages.
JavaScript (developed by Brendan Eich for the Netscape browser) is a platform-independent scripting language. That means it does not require a particular browser; it runs on any browser, so it is the most widely accepted scripting language.
VBScript (developed by Microsoft) is a platform-dependent scripting language. That means it needs a particular browser (MS Internet Explorer) to work, which is why it is not widely accepted.
Exam Tips:
a) Name both languages (JavaScript and VBScript) first, then add one line on each.
b) The platform-independent versus platform-dependent contrast is the key point.
Question 23: Develop a web page of an organization with the following features: (3)
a) Has an image as background.
b) Welcomes users with a marquee in attractive fonts.
c) Displays the address of the organization.
Answer:
<html>
<head>
<title>BVM HSS, Kalparamba</title>
</head>
<body background="img.jpg">
<marquee>
<font color="red" size="5" face="courier">
BVM HSS, Kalparamba welcomes You
</font>
</marquee>
<h1>Our Address</h1>
<address>
BVM HSS,
<BR>
KALPARAMBA,
<BR>
THRISSUR DIST.
</address>
</body>
</html>
Exam Tips:
a) Map each code line to a feature: BACKGROUND for the image, MARQUEE with FONT for the welcome, ADDRESS for the address.
b) Keep the tags properly nested: the FONT tag sits inside MARQUEE.
Question 24: Expand the name of the language which is used to develop web pages. (1)
Answer:
HTML - Hyper Text Markup Language
Exam Tips:
a) Write the abbreviation together with its full form.
Free study material for Computer Science
Kerala Board Solutions for Class 12 Computer Science Chapter 04 Web Technology
Chapter Exercise Answers for Class 12 Computer Science
Access structured Kerala Board textbook solutions for Chapter 04 Web Technology. Designed in alignment with the latest academic curriculum for Class 12 Computer Science, these answers cover all end-of-chapter exercises to support daily learning and homework completion.
Detailed Answer Guides for Chapter 04 Web Technology
Clear, methodical explanations accompany every challenging problem within the Class 12 Computer Science text. Engaging with these detailed answers lays a solid foundation for advanced learning and improves foundational clarity for upcoming assessments.
Complete Preparation Kit for Class 12 Exams
Frequent review of these structured answers builds strong analytical capabilities and response efficiency. Maximize your academic readiness by combining these textbook solutions with our curated study materials and mock evaluations for Class 12 Computer Science.
FAQs
The complete and updated Kerala Plus Two Computer Science Previous Questions Chapter 4 Web Technology is available for free on StudiesToday.com. These solutions for Class 12 Computer Science are as per latest Kerala Board curriculum.
Yes, our experts have revised the Kerala Plus Two Computer Science Previous Questions Chapter 4 Web Technology as per 2026 exam pattern. All textbook exercises have been solved and have added explanation about how the Computer Science concepts are applied in case-study and assertion-reasoning questions.
Toppers recommend using Kerala Board language because Kerala Board marking schemes are strictly based on textbook definitions. Our Kerala Plus Two Computer Science Previous Questions Chapter 4 Web Technology will help students to get full marks in the theory paper.
Yes, we provide bilingual support for Class 12 Computer Science. You can access Kerala Plus Two Computer Science Previous Questions Chapter 4 Web Technology in both English and Hindi medium.
Yes, you can download the entire Kerala Plus Two Computer Science Previous Questions Chapter 4 Web Technology in printable PDF format for offline study on any device.