HTML Part – 7|HTML code | Table 12th TPS Computer Science

Scope of the Syllabus
Probable marks : 14

Above probable marks means : In board exam questions asked form this chapter are nearly for 14 marks out of 50 Marks.

Scope of the Syllabus

1. Introduction to HTML.

2. Why HTML ? Its advantages and drawbacks.

3. Study of tags : <HTML>, <HEAD>, <TITLE>,<BODY>, <P>, <BR>, <UL>, <OL>, <PRE>, <MARQUEE>

4. Font styles : <B>, <I>, <U>, <BIG>, <SMALL>, <SUB>, <SUP>, <FONT>

6. Image : HREF, HR, <IMG>, SRC, ALT, HEIGHT, WIDTH, ALIGN

7. Tables: <TABLE>, <CAPTIONS>, <TR>, <TH>, <TD>

8. Use of scripting as a language support.
Note : Only VBscript using for….next, If … then, MsgBox, InBox, DIM, SET.

HTML Part - 3|TPS Computer Science 12th Class

Q. 39 Write the exact output for the following code with font specifications in brackets.

<html>

<head>
    <title>Introduction</title>
</head>

<body>
    <h2><b>Terms in Computer</b></h2>
    <dl>
        <dt>Software</dt>
        <dd><b>Software</b> is a set of programs which are required to run the system.</dd>
        <dt>Hardware</dt>
        <dd>The electronic components used in the computer system are called <b>Hardware</b></dd>
    </dl>
</body>

</html>

Ans : Output is as follows with font specifications in bracket :

Introduction ← Title of the page is Introduction

Terms in Computer : ← (Text size in h2, bold, default font is used)

Software :

Software is a set of programs which is required to run the system. ← (Text size default regular font is used)

Hardware :

The Electronic component used in the computer used in the computer system is called as Hardware.


Q.40 Write the exact output of the following HTML code with font specification in brackets:

  Asked in Board Exam  (October 2003)  Important
<html>
<title>Introduction</title> 

<body>
   <h1> <b> COMPUTER SCIENCE </b> </h1> 
        <hr>
        <u> SCHAUM'S OUTLINE SERIE iS</u>
        <hr>
        <h5> SEYMOUR LIPSCHUTZ </h5>
</body>

</html>

Ans: Introduction ← (Title of the page)

COMPUTER SCIENCE ← (text size h1 in bold, Default font is used)


SCHAUM’S OUTLINE SERIES ← (text size is default, Regular, Default font is used)


SEYMOUR LIPSCHUTZ ← (text size h5, Regular, Default font is used)


Q 41. HTML code for the following :

  Asked in Board Exam  (Mar.07, Oct. 2003)  Important
HTML code for Science Arts Commerce 12th tps html table

Ans : HTML code is as follows :

<!DOCTYPE html>
<html>

<body>
    <table border="1" cellpadding="20" cellspacing="10">
        <tr>
            <th colspan="3" align="center">SCIENCE</th>
        </tr>
        <tr>
            <td>FY BSc</td>
            <td>SY BSc</td>
            <td>TY BSc</td>
        </tr>
        <tr>
            <td align="center">300</td>
            <td align="center">100</td>
            <td align="center">25</td>
        </tr>
        <tr>
            <th colspan="3">ARTS</th>
        </tr>
        <tr>
            <th>FY BA</th>
            <th>SY BA</th>
            <th>TY BA</th>
        </tr>
        <tr>
            <td align="center">200</td>
            <td align="center">150</td>
            <td align="center">40</td>
        </tr>
        <tr>
            <th colspan="3">COMMERCE</th>
        </tr>
        <tr>
            <th>FY BCom</th>
            <th>SY BCom</th>
            <th>TY BCom</th>
        </tr>
        <tr>
            <td align="center">100</td>
            <td align="center">70</td>
            <td align="center">50</td>
        </tr>
    </table>
</body>

</html>

Q.42 Write the HTML code for the following table :

  Asked in Board Exam  (March 2004)   Important
 Write the HTML code for the following table year unit sales of 12th tps book

Ans.: The HTML code are as follows :

<!DOCTYPE html>
<html>

<head>
    <title>Sales and Income Data</title>
</head>

<body>
    <table  border="1" cellpadding="20">
        <tr>
            <th rowspan="2" colspan="2"></th>
            <th colspan="3">Year</th>
        </tr>
        <tr>
            <th>1999</th>
            <th>2000</th>
            <th>2001</th>
        </tr>
        <tr>
            <th rowspan="2">Sales</th>
            <th>Units</th>
            <td>300</td>
            <td>750</td>
            <td>1,200</td>
        </tr>
        <tr>
            <th>Income</th>
            <td>Rs. 3,000</td>
            <td>Rs. 7,500</td>
            <td>Rs. 12,000</td>
        </tr>
    </table>
</body>

</html>

Q.44 Write the exact output for the following code

  Asked in Board Exam  (Oct. 2004)  Important
<html> 
<head> 
<title> computer shop </title>
</head>

<body>
<h3>   <b> Title : XYZ Computers Ltd, </b>   </h3>
<p> Address ; Shakti Complex, Aurangabad </p>
<h1>  <i> Dealers in : all types of peripherals </i>  </h1>
</body>

</html> 

Ans: Output is as follows with font and RGB colors specification in bracket :

COMPUTER SHOP ← (Title of the page)

Title : XYZ Computers Ltd. ← (Text size in h3, bold. Default font is used default text color)

Address : Shakti Complex, Aurgangabad. ← (Text size is default, regular, Default font is used. Default text color)

Dealers in : all types of peripherals. ← (Text size in h1, italic, Default font is used, Default text colour)


Q.45 Write HTML code for displaying a Web Page containing a six-celled table as shown below

  Asked in Board Exam  (Oct. 2004)  Important
Sachin , Sourav , Laxman , HTML table tps 12th

Ans.: HTML code is as follows :

<HTML>

<HEAD>
    <TITLE> Celled Table </TITLE>
</HEAD> 

<BODY>
    <TABLE BORDER=2 CELLSPACING=50>
        <TR> 
            <TD> Sachine </TD>
            <TD> Saurav </TD>
            <TD> Laxman </TD>
        </TR>
        <TR>
            <TD> First </TD>
            <TD> Second </TD>
            <TD> Third </TD>
        </TR>
    </TABLE>
</BODY>

</HTML>

Q.46 Write the exact output of the following HTML code with font specifications in bracket

  Asked in Board Exam  (March 2005)  Important
<html>

<body>
    <hl align=“center”> LIST OF TOPICS </h1> <hr>
        <ol>
            <li>
                <p align=“left”> Operating systems </p>
            <li>
                <p align=“left”> Data structures </p>
            <li>
                <p align=“left”> C++ programming </p>
            <li>
                <p align=“left”> HTML </p>

       </ol>
        <hr noshade>
        <ol>
            <li>
                <p align=“center”> COMPUTER SCIENCE </p>
        </ol>

        <hr>

</body>
</html>

Ans :

LIST OF TOPICS ← (Text size in H1, regular, default font is used)


↑ (Horizontal line with default width)

1. Operating systems
2. Data Structurs ← (Textsize regular, default font is used)
3. C++ programming
4. HTML


↑ (Horizontal line with default width)

  1. COMPUTER SCIENCE ← (Textsize regular, default font is used)

↑ (Horizontal line with default width)


Q.47 Write HTML code for the following :

  Asked in Board Exam  (March 2005, 2011)  Important
Write HTML code for the following : Computer Science Paper -1 Paper - 11 Total
<!DOCTYPE html>
<html>

<head>
    <title>COMPUTER PAPER ANALYSIS</title>
</head>

<body>
    <table border="2" width="100%" cellspacing="15">
        <tr>
            <td width="25%" rowspan="2" align="center">
                COMPUTER <br> SCIENCE
            </td>
            <td width="25%" align="center">
                PAPER - I
            </td>
            <td width="25%" align="center">
                PAPER - II
            </td>
            <td width="25%" align="center">
                TOTAL
            </td>
        </tr>
        <tr>
            <td width="25%" align="center">
                100
            </td>
            <td width="25%" align="center">
                100
            </td>
            <td width="25%" align="center">
                200
            </td>
        </tr>
    </table>
</body>

</html>

Sharing Is Caring:

Leave a Comment