Step-by-Step Textbook Solutions for Class 12 Computer Science Chapter 05 Web Designing Using HTML
Review structured textbook solutions for Class 12 Computer Science Chapter 05 Web Designing Using HTML. Built according to Kerala Board guidelines for the 2026-27 academic year, these downloadable answers support daily revision and problem-solving accuracy.
Download Chapter 05 Web Designing Using HTML Textbook Solutions PDF
View or download the dedicated Chapter 05 Web Designing Using HTML 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: Consider the following HTML statement. (March 2007)
<TABLE>
<TR>
<TH>Mark</TH>
<TD>90</TD>
</TR>
</TABLE>
What is the difference between the content displayed in the cells of the table?
Answer:
<TH> means table heading and <TD> means table data.
'Mark' is inside <TH></TH>, so it is displayed as a table heading, in bold and centred letters.
90 is inside <TD></TD>, so it is displayed as ordinary data in normal letters.
Exam Tips:
a) Mention both the tag meaning and how the text looks (bold heading versus normal data).
b) Remember that <TH> is bold and centred by default; <TD> is plain and left aligned.
Question 2: While designing a web page, Raju wants to display a table which occupies the full browser window. Name the attribute that helps him to do so. (March 2007)
Answer:
The attribute is WIDTH. It can be given as a percentage of the browser window width.
Example: <TABLE BORDER="1" WIDTH="100%">
Exam Tips:
a) Give an example tag along with the attribute name; it makes the answer complete.
b) Percentage values adjust to the window size, whereas pixel values stay fixed.
Question 3: Complete the following table. (March 2007)
| HTML Tag | Use |
|---|---|
| 1. <B> | .......... |
| 2. <HR> | .......... |
| 3. .......... | Unordered list |
| 4. <DL> | .......... |
| 5. .......... | It is the line break tag |
| 6. .......... | To display a heading in the biggest size |
Answer:
| HTML Tag | Use |
|---|---|
| 1. <B> | To display content in bold |
| 2. <HR> | To draw a horizontal rule (line) |
| 3. <UL> | Unordered list |
| 4. <DL> | To define a definition list |
| 5. <BR> | It is the line break tag |
| 6. <H1> | To display a heading in the biggest size |
Exam Tips:
a) Write the full tag with angle brackets for each blank.
b) Learn the heading tags: H1 is the biggest and H6 the smallest.
Question 4: Abhijith wishes to submit the data entered by him using a form. The amount of data is small and security of data is not a prime factor. Which method may he select to submit the data? Justify your answer. (March 2008)
Answer:
He may select the GET method.
Justification: In the GET method the form data is attached to the URL, so only a small amount of data can be sent, and it is visible in the address bar, which makes it less secure. Since the data is small and security is not important, GET is suitable (and it is also fast).
Exam Tips:
a) Always give the justification; the method name alone will not fetch full marks.
b) Contrast it with POST: POST sends data in the body of the request, so it is better for large or secret data such as passwords.
Question 5: Match the following. (March 2008)
| Tag | Attribute |
|---|---|
| <HTML> | HREF |
| <A> | SIZE |
| <BODY> | SRC |
| <BASEFONT> | START |
| <OL> | DIR |
| <IMG> | TOPMARGIN |
Answer:
| Tag | Attribute |
|---|---|
| <HTML> | DIR |
| <A> | HREF |
| <BODY> | TOPMARGIN |
| <BASEFONT> | SIZE |
| <OL> | START |
| <IMG> | SRC |
Exam Tips:
a) Learn tag and attribute pairs together: A-HREF, IMG-SRC, OL-START, BASEFONT-SIZE.
Question 6: Some browsers do not support frameset. In such a situation, which alternative is used? Explain. Mention how the <NOFRAMES> tag can help us. (February 2008)
Answer:
Some browsers cannot display frames. In such a case, the container tag <NOFRAMES> is used as the alternative to <FRAMESET>.
It specifies the content to be shown if the browser cannot load the frames. This content is given in a <BODY> section placed inside the <NOFRAMES> tag pair, so that visitors still see a usable page (for example, links to the pages) instead of a blank screen.
Exam Tips:
a) Mention that the content is placed inside a body section within the noframes pair.
b) The browser that supports frames ignores the noframes content.
Question 7: Classify the HTML related words: Align, Frame, Href, Font. (February 2008)
Answer:
Attributes: Align, Href
Tags: Frame, Font
Exam Tips:
a) A tag is written inside angle brackets, while an attribute gives extra information inside a tag, e.g. <A HREF="...">.
Question 8: Aji wants to create a form in HTML to do the following. Write the HTML program for it. (June 2008)
1) Input name using a text box.
2) Two radio buttons to select Male or Female.
3) Input address.
4) Submit button with caption 'OK'.
Answer:
<HTML>
<HEAD>
<TITLE>Form</TITLE>
</HEAD>
<BODY>
<FORM>
Name: <INPUT TYPE="text" NAME="name"><BR>
Sex: <INPUT TYPE="radio" NAME="sex" VALUE="male"> Male
<INPUT TYPE="radio" NAME="sex" VALUE="female"> Female<BR>
Address: <TEXTAREA NAME="address" ROWS="3" COLS="25"></TEXTAREA><BR>
<INPUT TYPE="submit" VALUE="OK">
</FORM>
</BODY>
</HTML>
Exam Tips:
a) Give both radio buttons the same NAME so that only one can be selected at a time.
b) Use <TEXTAREA> for a multi-line address; <INPUT TYPE="textarea"> is not a valid type.
c) The VALUE attribute of the submit button sets its caption.
Question 9: Midhun wants to create a web page for passing information from the user to the web server. Name the HTML tag which provides this facility. (March 2009)
Answer:
<FORM> tag
Exam Tips:
a) The FORM tag has attributes ACTION (the URL of the server program) and METHOD (GET or POST).
Question 10: Which tag can be used to provide hyperlinks in HTML? (March 2009)
Answer:
<A> (anchor) tag, with the HREF attribute.
Exam Tips:
a) Write the tag with its HREF attribute; the target address is given in HREF.
Question 11: Write an HTML code to create a form with controls to accept the register number of a student and to submit it. (March 2009)
Answer:
<FORM METHOD="GET" ACTION="http://www.example.com/det.asp">
Reg No: <INPUT TYPE="text" NAME="regno"><BR>
<INPUT TYPE="submit" VALUE="Submit">
</FORM>
Exam Tips:
a) A form needs a text box (to accept the number), a submit button and the ACTION and METHOD attributes.
b) Close the form with </FORM>.
Question 12: Varun is creating a web page. He wants to create a link on the text 'sample' to a file named sample.htm which resides in a subdirectory named Exam of the D drive. Write the HTML command for this purpose. (March 2009)
Answer:
<A HREF="D:\Exam\sample.htm">Sample</A>
Exam Tips:
a) The path inside HREF gives the drive, folder and file name; the text between the tags is the clickable link.
Question 13: The default align value for a table is _________ (February 2009)
(a) left
(b) right
(c) top
Answer:
(a) left
Exam Tips:
a) If no ALIGN attribute is given, the table is placed at the left side of the window.
Question 14: Shabeer wants to divide the browser window into two sections. Which option of HTML can be used for this? (June 2009)
Answer:
The <FRAMESET> tag (with two <FRAME> tags inside it) is used.
Exam Tips:
a) Use the COLS attribute to divide the window into columns, and ROWS to divide it into rows.
Question 15: Write an HTML code to create a select box with three list options low, medium and high, with medium as the default item. (June 2009)
Answer:
<HTML>
<HEAD>
<TITLE>Select box</TITLE>
</HEAD>
<BODY>
<SELECT>
<OPTION>Low
<OPTION SELECTED>Medium
<OPTION>High
</SELECT>
</BODY>
</HTML>
Exam Tips:
a) The SELECTED attribute in an OPTION tag makes it the default item.
b) Each list item is given with its own OPTION tag inside SELECT.
Question 16: Find out the output for the following HTML statements and describe the tags used. (March 2010)
<HTML>
<BODY>
<TABLE BORDER=1>
<TR>
<TD COLSPAN=2>College</TD>
</TR>
<TR>
<TD ROWSPAN=3>Departments</TD>
<TD>Department 1</TD>
</TR>
<TR>
<TD>Department 2</TD>
</TR>
<TR>
<TD>Department 3</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Answer:
<HTML> tag is used to start the HTML document.
<BODY> holds the contents that are displayed on the page.
<TABLE> is used to create a table, and BORDER=1 gives it a border.
<TR> is used to create a table row.
<TD> is used to give table data (a cell). COLSPAN=2 makes the cell 'College' span two columns, and ROWSPAN=3 makes the cell 'Departments' span three rows.
Output:
| College | |
| Departments | Department 1 |
| Department 2 | |
| Department 3 | |
Exam Tips:
a) Explain COLSPAN and ROWSPAN in your own words along with the output table.
b) Draw the output table with the merged cells to show the spanning clearly.
Question 17: 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>
<H1>ABC Pvt. Ltd.<BR>HYDERABAD</H1>
<OL>
<LI>Health Care</LI>
<LI>Baby Products
<OL TYPE="a">
<LI>Toys</LI>
<LI>Dress</LI>
</OL>
</LI>
<LI>Men's Wear
<UL>
<LI>Casuals</LI>
<LI>Formals</LI>
</UL>
</LI>
</OL>
</BODY>
</HTML>
Exam Tips:
a) Put a nested list inside the <LI> of its parent item; here the sub-lists are inside Baby Products and Men's Wear.
b) TYPE="a" gives lower-case letters; an unordered list gives bullets.
Question 18: Write the HTML code for the following table. (June 2010)
| Subject | Mark | |
|---|---|---|
| Science | Physics | 40 |
| Chemistry | 35 | |
| Biology | 48 | |
Answer:
<HTML>
<HEAD>
<TITLE>Marks</TITLE>
</HEAD>
<BODY>
<TABLE BORDER="1">
<TR ALIGN="center">
<TD COLSPAN="2">Subject</TD>
<TD>Mark</TD>
</TR>
<TR ALIGN="center">
<TD ROWSPAN="3">Science</TD>
<TD>Physics</TD>
<TD>40</TD>
</TR>
<TR ALIGN="center">
<TD>Chemistry</TD>
<TD>35</TD>
</TR>
<TR ALIGN="center">
<TD>Biology</TD>
<TD>48</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Exam Tips:
a) COLSPAN merges cells across columns and ROWSPAN merges them across rows; the first row's Subject cell spans two columns.
b) The next two rows have only two cells because 'Science' already occupies the first column.
Question 19: The tag used to create a menu in HTML is ............ (June 2010)
Answer:
<SELECT>
Exam Tips:
a) Individual items of the menu are given with <OPTION> tags.
Question 20: Write HTML tags to create a form with a text box and a submit button. (June 2010)
Answer:
<HTML>
<HEAD>
<TITLE>Form</TITLE>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="text">
<INPUT TYPE="submit">
</FORM>
</BODY>
</HTML>
Exam Tips:
a) Both controls are created with the INPUT tag; the TYPE attribute decides the control.
Question 21: List the steps for creating a hyperlink with an example. (June 2010)
Answer:
The power of HTML lies in its ability to provide hyperlinks. The <A> (anchor) tag is used for this. There are two types of linking.
1) External linking: a hyperlink to another page. When the user clicks on the hypertext, the browser goes to the other web page. The anchor tag with the HREF attribute is used.
Example:
<A HREF="main.html">Main</A>
2) Internal linking: a link to a section within the same document. First name the section with the NAME attribute, then link to it using # and the name in HREF.
Example:
<HTML>
<HEAD>
<TITLE>Internal linking</TITLE>
</HEAD>
<BODY>
<P><A NAME="Bio">Biology Group</A><BR>
Subject combination: Physics, Chemistry, Mathematics and Biology.</P>
<P><A NAME="Comp">Computer Science Group</A><BR>
Subject combination: Physics, Chemistry, Mathematics and Computer Science.</P>
<P><A NAME="Comm">Commerce Group</A><BR>
Subject combination: Business Studies, Economics, Accountancy and Computer Application.</P>
<A HREF="#Bio">Go to Biology</A><BR>
<A HREF="#Comp">Go to Computer Science</A><BR>
<A HREF="#Comm">Go to Commerce</A>
</BODY>
</HTML>
Exam Tips:
a) Show both the tag (A) and its attribute (HREF for the link target, NAME for the section).
b) Write # before the name in an internal link; the NAME itself has no #.
Question 22: Write HTML code for displaying the following table. (March 2011)
| Object | Property | Value |
|---|---|---|
| Form1 | Caption | First Form |
| Command1 | Caption | Show Next |
| Command2 | Caption | Exit |
Answer:
<HTML>
<HEAD>
<TITLE>Table</TITLE>
</HEAD>
<BODY BGCOLOR="cyan">
<TABLE BORDER=1>
<TR>
<TH>Object</TH>
<TH>Property</TH>
<TH>Value</TH>
</TR>
<TR>
<TD>Form1</TD>
<TD>Caption</TD>
<TD>First Form</TD>
</TR>
<TR>
<TD>Command1</TD>
<TD>Caption</TD>
<TD>Show Next</TD>
</TR>
<TR>
<TD>Command2</TD>
<TD>Caption</TD>
<TD>Exit</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Exam Tips:
a) Use <TH> for the heading row and <TD> for the data cells.
b) Do not forget to close the table with </TABLE>; the source version missed it.
Question 23: In HTML, the FORM tag can accept user input and communicate it to a server program. (March 2011)
(a) Write the general format of the FORM tag.
(b) How will you construct a 'SUBMIT' button and a 'RESET' button within the FORM tag?
Answer:
a) General format:
<FORM ACTION="url or mailto:address" METHOD="GET or POST">
...
</FORM>
b) The buttons are created with the INPUT tag:
<INPUT TYPE="submit">
<INPUT TYPE="reset">
Exam Tips:
a) Mention that ACTION gives where the data is sent and METHOD gives how it is sent.
b) The submit button sends the form data; the reset button clears all the fields.
Question 24: HTML has the facility to provide external links as well as internal links. (March 2011)
a) Which tag is used to include an external link?
b) How will you construct an internal link?
Answer:
a) The anchor tag, <A HREF="filename">.
b) An internal link connects two places in the same web page. The target place is named with the NAME attribute and the link uses # followed by that name:
<HTML>
<HEAD>
<TITLE>Internal link</TITLE>
</HEAD>
<BODY>
<A NAME="top" HREF="#bottom">Go to Bottom</A>
<UL TYPE="circle">
<LI>Form</LI>
<LI>TextBox</LI>
<LI>Label</LI>
<LI>CommandButton</LI>
</UL>
<A NAME="bottom" HREF="#top">Go to Top</A>
</BODY>
</HTML>
Exam Tips:
a) Write a small working example for part (b); it is where the marks are.
b) Remember that # in HREF refers to a NAME in the same page.
Question 25: Write the HTML code for creating the following table. (March 2012)
| Item | Price | Qty |
|---|---|---|
| Soap | 15 | 10 |
| Book | 23 | 12 |
| Pen | 10 | 14 |
Answer:
<HTML>
<HEAD>
<TITLE>Table</TITLE>
</HEAD>
<BODY>
<TABLE BORDER=1>
<TR>
<TH>Item</TH>
<TH>Price</TH>
<TH>Qty</TH>
</TR>
<TR>
<TD>Soap</TD>
<TD>15</TD>
<TD>10</TD>
</TR>
<TR>
<TD>Book</TD>
<TD>23</TD>
<TD>12</TD>
</TR>
<TR>
<TD>Pen</TD>
<TD>10</TD>
<TD>14</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Exam Tips:
a) The attribute name is BORDER (not bonder); without it the table has no visible lines.
b) Use one TR for each row and one TH or TD for each cell.
Question 26: Suggest an alternate tag for browsers which do not support the frames tag. (March 2012)
Answer:
<NOFRAMES>
Exam Tips:
a) The content of noframes is displayed only by browsers that cannot show frames.
Question 27: What is the importance of .NET technology? (March 2012)
Answer:
.NET is a technology introduced by Microsoft Corporation. With the help of .NET, a developer can use a programming language of his choice to develop distributed applications quickly and easily. In a distributed application, the processing can take place on any processor in the network. The .NET framework is similar in idea to the Java Virtual Machine, because programs written in different languages are compiled to a common intermediate code and run by a common runtime.
Examples: ASP.NET, VB.NET
Exam Tips:
a) Mention language independence and distributed applications as the two main points.
b) Give examples such as ASP.NET and VB.NET.
Question 28: The <DD> tag gives _________ (March 2016)
Answer:
The data description (definition) of a term in a definition list. It is used inside <DL> after the term given with <DT>.
Exam Tips:
a) Remember the trio: DL (list), DT (term), DD (description).
Question 29: Create a table with 5 types of fruit names, using the headings serial number, name and cost. Also create an ordered list of five fruits numbered using small Roman numerals.
Answer:
Table:
<HTML>
<HEAD>
<TITLE>Table creation</TITLE>
</HEAD>
<BODY>
<TABLE BORDER="1">
<TR>
<TH>Serial No</TH>
<TH>Name</TH>
<TH>Cost</TH>
</TR>
<TR>
<TD>1</TD>
<TD>Banana</TD>
<TD>Rs. 49</TD>
</TR>
<TR>
<TD>2</TD>
<TD>Grapes</TD>
<TD>Rs. 110</TD>
</TR>
<TR>
<TD>3</TD>
<TD>Apple</TD>
<TD>Rs. 180</TD>
</TR>
<TR>
<TD>4</TD>
<TD>Orange</TD>
<TD>Rs. 60</TD>
</TR>
<TR>
<TD>5</TD>
<TD>Mango</TD>
<TD>Rs. 40</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Ordered list with small Roman numerals:
<HTML>
<HEAD>
<TITLE>Ordered list demonstration</TITLE>
</HEAD>
<BODY>
<H1>Fruits</H1>
<OL TYPE="i">
<LI>Apple</LI>
<LI>Grapes</LI>
<LI>Orange</LI>
<LI>Mango</LI>
<LI>Banana</LI>
</OL>
</BODY>
</HTML>
Exam Tips:
a) TYPE="i" gives small Roman numerals (i, ii, iii...) and TYPE="I" gives capital ones.
b) Use <TH> for the three headings and <TD> for the five data rows.
Question 30: Rahim wants to connect his web page to www.yahoo.com. Write the tag and attributes required for this. (May 2016)
Answer:
The <A> tag with the HREF attribute is used.
Example:
<A HREF="http://www.yahoo.com">Yahoo</A>
Exam Tips:
a) Write the complete URL including http:// in HREF.
b) The text between the tags is what the user clicks.
Question 31: a) What are the differences between the GET and POST methods in form submission? (May 2016)
b) Study the following steps and determine the correct order:
(1) Open a connection to the MySQL server
(2) Execute the SQL query
(3) Fetch the data from the query
(4) Select the database
(5) Close the connection
(a) 4, 1, 2, 3, 5
(b) 1, 4, 2, 3, 5
(c) 1, 5, 4, 2, 3
(d) 4, 1, 3, 2, 5
Answer:
a) Differences between GET and POST:
| GET | POST |
|---|---|
| The form data is appended to the URL and is visible in the address bar. | The form data is sent inside the body of the request and is not visible in the URL. |
| Only a limited amount of data can be sent. | A large amount of data can be sent. |
| Less secure. | More secure; suitable for passwords. |
| The result page can be bookmarked. | The result page cannot be bookmarked. |
b) (b) 1, 4, 2, 3, 5
Exam Tips:
a) Give at least two clear differences, such as data visibility and the amount of data.
b) The MySQL order is: connect, select database, run query, fetch results, close the connection.
Question 32: A link to a particular section of the same document is called ............ (March 2017)
Answer:
Internal linking.
Exam Tips:
a) It uses the NAME attribute to mark the section and #name in HREF to jump to it.
Question 33: Create a web page using frames for the Tourism department showing a list of tourist places in Kerala. When a place is selected, a detailed description should be available in a separate window. Also create a form that accepts information regarding a student. The fields necessary are name, age, class, sex, roll number, hobbies and date of birth. Use appropriate form controls. (March 2017)
Answer:
Part 1: Frames. We use the TARGET attribute of the anchor tag. Consider the following five files.
Step 1. Type the following and save it as main.html:
<HTML>
<HEAD>
<TITLE>Tourist places in Kerala</TITLE>
</HEAD>
<BODY BGCOLOR="cyan">
<H1><U><B><CENTER>Tourist Places in Kerala</CENTER></B></U></H1>
<OL>
<LI><A HREF="tvm.html" TARGET="f2">Thiruvananthapuram</A></LI>
<LI><A HREF="ekm.html" TARGET="f2">Ernakulam</A></LI>
<LI><A HREF="clt.html" TARGET="f2">Calicut</A></LI>
</OL>
</BODY>
</HTML>
Step 2. Save the following as tvm.html:
<HTML>
<HEAD>
<TITLE>Tourist places in Kerala</TITLE>
</HEAD>
<BODY BGCOLOR="cyan">
<H1><U><B><CENTER>Thiruvananthapuram</CENTER></B></U></H1>
<UL>
<LI>Kovalam</LI>
<LI>Zoo</LI>
<LI>Padmanabhaswamy Temple</LI>
</UL>
</BODY>
</HTML>
Step 3. Save the following as ekm.html:
<HTML>
<HEAD>
<TITLE>Tourist places in Kerala</TITLE>
</HEAD>
<BODY BGCOLOR="cyan">
<H1><U><B><CENTER>Ernakulam</CENTER></B></U></H1>
<UL>
<LI>Bolgatty Palace</LI>
<LI>Shipyard</LI>
<LI>Marine Drive</LI>
</UL>
</BODY>
</HTML>
Step 4. Save the following as clt.html:
<HTML>
<HEAD>
<TITLE>Tourist places in Kerala</TITLE>
</HEAD>
<BODY BGCOLOR="cyan">
<H1><U><B><CENTER>Calicut</CENTER></B></U></H1>
<UL>
<LI>Kappad Beach</LI>
<LI>Planetarium</LI>
<LI>Mananchira</LI>
</UL>
</BODY>
</HTML>
Step 5. Save the following as frame.html:
<HTML>
<HEAD>
<TITLE>Frame</TITLE>
</HEAD>
<FRAMESET COLS="33%,*">
<FRAME SRC="main.html">
<FRAME SRC="tvm.html" NAME="f2">
</FRAMESET>
</HTML>
Step 6. Open frame.html in the browser. The list of places appears in the left frame, and the description of the selected place appears in the right frame named f2.
Part 2: Student information form:
<HTML>
<HEAD>
<TITLE>Form</TITLE>
</HEAD>
<BODY BGCOLOR="cyan">
<FORM METHOD="post" ACTION="fa.php">
<H1><U><CENTER><B>Application Form</B></CENTER></U></H1>
Name <INPUT TYPE="text" NAME="txtname"><BR>
Age <INPUT TYPE="text" NAME="txtage" SIZE="3"><BR>
Class <INPUT TYPE="text" NAME="txtclass"><BR>
Sex
Male <INPUT TYPE="radio" NAME="optsex" VALUE="Male">
Female <INPUT TYPE="radio" NAME="optsex" VALUE="Female"><BR>
Roll No <INPUT TYPE="text" NAME="txtroll" SIZE="3"><BR>
Hobbies
Reading <INPUT TYPE="checkbox" NAME="cbread">
Singing <INPUT TYPE="checkbox" NAME="cbsing">
Playing <INPUT TYPE="checkbox" NAME="cbplay"><BR>
Date of Birth <INPUT TYPE="text" NAME="txtdob" SIZE="10"><BR><BR>
<INPUT TYPE="submit" VALUE="Submit">
<INPUT TYPE="reset" VALUE="Reset">
</FORM>
</BODY>
</HTML>
Exam Tips:
a) Use the same TARGET name as the NAME of the frame in which the page should open (here f2).
b) Use radio buttons for sex (one choice) and check boxes for hobbies (many choices).
c) The ACTION file (fa.php here) is the server program that receives the data.
Question 34: Which HTML tag is used to create an ordered list? (May 2017)
Answer:
<OL>
Exam Tips:
a) Items of the list are given with <LI> tags; TYPE and START change the numbering style and the starting number.
Question 35: Write an HTML code for a web page to show the following details in a blue background. (May 2017)
Components of a Computer
* Hardware
1. RAM
2. ROM
3. Hard Disk
* Software
1. System Program
2. Application Program
Answer:
<HTML>
<HEAD>
<TITLE>List demo</TITLE>
</HEAD>
<BODY BGCOLOR="blue" TEXT="white">
Components of a Computer
<UL TYPE="disc">
<LI>Hardware
<OL>
<LI>RAM</LI>
<LI>ROM</LI>
<LI>Hard Disk</LI>
</OL>
</LI>
<LI>Software
<OL>
<LI>System Program</LI>
<LI>Application Program</LI>
</OL>
</LI>
</UL>
</BODY>
</HTML>
Exam Tips:
a) BGCOLOR in the BODY tag sets the background colour; the TEXT attribute makes the text readable on a dark background.
b) Nest the OL lists inside the LI of Hardware and Software.
Question 36: The <FORM> tag contains some other tags to facilitate interaction between the user and the web page. Write any two control tags and explain their mode of interaction. (May 2017)
Answer:
1) <INPUT>: It is used to create input controls. Its TYPE attribute decides the control type. The main values of TYPE are:
Text: to create a text box
Password: to create a password text box
Checkbox: to create a check box
Radio: to create a radio button
Reset: to create a reset button
Submit: to create a submit button
Button: to create a push button
2) <TEXTAREA>: It creates a multi-line text box in which the user can enter a large amount of text. The ROWS and COLS attributes give its size.
(Another control tag is <SELECT>, which creates a drop-down list of options from which the user selects.)
Exam Tips:
a) Name two tags and explain how the user interacts with each; the INPUT tag with its types is the safest first answer.
b) Mention one attribute for each tag (TYPE for INPUT, ROWS and COLS for TEXTAREA).
Question 37: a) Write an HTML code for a web page for your supermarket named 'HELPLINE SUPER MARKET' with the following details and features. (May 2017)
1) A heading followed by a paragraph of 2 sentences about the district, using text formatting tags and attributes.
2) The postal address of the supermarket with phone number and email id.
3) Include a marquee that says 'Hurry up, 50% off for all purchase'.
b) Explain and compare the features of any four scripting languages.
Answer:
a)
<HTML>
<HEAD>
<TITLE>Helpline Super Market</TITLE>
</HEAD>
<BODY BGCOLOR="cyan">
<MARQUEE BGCOLOR="red" HEIGHT="40">Hurry up, 50% off for all purchase</MARQUEE>
<H1 ALIGN="center">HELPLINE<BR>SUPER MARKET</H1>
<H2 ALIGN="left"><U><I>Thrissur</I></U></H2>
<P>Our district is Thrissur. It is situated in the central part of Kerala.</P>
<B>Postal Address</B><BR>
HELPLINE SUPER MARKET,<BR>
Main Road,<BR>
Irinjalakuda.<BR>
Phone No.: [Phone number]<BR>
Email Id: [Email id]
</BODY>
</HTML>
b) Scripting languages:
1) JavaScript: It was developed by Brendan Eich for the Netscape browser. It is a platform-independent scripting language that runs on any browser, so it is the most widely accepted scripting language.
2) VBScript: It was developed by Microsoft. It works in Microsoft Internet Explorer only, so it is browser (platform) dependent and is not widely accepted.
3) Active Server Pages (ASP):
- It was introduced by Microsoft.
- ASP stands for Active Server Pages; these are web pages that contain dynamic content with text, HTML tags and scripts.
- An ASP file uses the .asp extension.
- The script is executed on the server, and only the result is sent back to the client computer.
- It runs only on the Microsoft Internet Information Server (IIS), so it is platform dependent.
4) Java Server Pages (JSP):
- It was introduced by Sun Microsystems.
- JSP stands for Java Server Pages, and a JSP file uses the .jsp extension.
- It is platform independent and uses the Apache Tomcat web server.
- JSP works along with servlets (Java programs that run on the server to serve client requests).
Exam Tips:
a) Use the MARQUEE tag for the scrolling message and H1 with the ALIGN attribute for the heading.
b) For the comparison, contrast client-side languages (JavaScript, VBScript) with server-side ones (ASP, JSP), and platform dependent with platform independent.
Free study material for Computer Science
Free Kerala Board Textbook Explanations: Class 12 Computer Science Chapter 05 Web Designing Using HTML
Accessing Chapter 05 Web Designing Using HTML Solutions
Review comprehensive exercise answers for Class 12 Computer Science Chapter 05 Web Designing Using HTML. Fully updated to match current Kerala Board syllabus guidelines, these textbook solutions help students verify their work and maintain accurate study notes.
Concept-Driven Answers for Class 12 Computer Science
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.
Maximizing Study Efficiency
Consistent practice with these solution guides cultivates faster problem-solving habits and clearer logical structuring. For a complete preparation experience, pair these textbook answers with our dedicated revision notes and sample papers for Class 12 Computer Science.
FAQs
The complete and updated Kerala Plus Two Computer Science Chapter 5 Web Designing Using HTML Chapter Wise Previous Questions and Answers 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 Chapter 5 Web Designing Using HTML Chapter Wise Previous Questions and Answers 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 Chapter 5 Web Designing Using HTML Chapter Wise Previous Questions and Answers 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 Chapter 5 Web Designing Using HTML Chapter Wise Previous Questions and Answers in both English and Hindi medium.
Yes, you can download the entire Kerala Plus Two Computer Science Chapter 5 Web Designing Using HTML Chapter Wise Previous Questions and Answers in printable PDF format for offline study on any device.