0% found this document useful (0 votes)
2 views4 pages

HTML Solution

The document contains code-based programming questions focusing on HTML and C++. It includes examples of creating a table for cricket analysis, a nested list, and predicting the output of given HTML code. Additionally, it features various HTML structures such as tables and ordered lists with different types.

Uploaded by

swarajlohote
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views4 pages

HTML Solution

The document contains code-based programming questions focusing on HTML and C++. It includes examples of creating a table for cricket analysis, a nested list, and predicting the output of given HTML code. Additionally, it features various HTML structures such as tables and ordered lists with different types.

Uploaded by

swarajlohote
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CS 1

Q.5 ) Code based Programs : (HTML / C++)


I) HTML (Types of Questions) - 1) create Nested List
2) Create Table
3) Predict the output of given HTML code

Que. 1)

Ans. 1)
<HTML>
<HEAD> <TITLE> MY PAGE </TITLE> </HEAD>
<BODY>
<TABLE BORDER=”1”>
<CAPTION> <B> Cricket Analysis </B> </CAPTION>
<TR>
<TH> Country </TH>
<TH> Played </TH>
<TH> Won </TH>
<TH> Lose </TH>
</TR>
<TR>
<TD>INDIA</TD>
<TD> 30 </TD>
<TD> 27 </TD>
<TD> 03 </TD>
</TR>
<TR>
<TD> PAKISTAN </TD>
<TD> 30 </TD>
<TD> 03 </TD>
<TD> 27 </TD>
</TR>
</TABLE>
</BODY>
</HTML>
Que. 2)

Ans. 2)

Que. 3)

Ans. 3)
<HTML>
<HEAD> <TITLE> MY PAGE </TITLE> </HEAD>
<BODY>
<table border="1" cellspacing="15" cellpadding="10">
<tr align="center">
<td rowspan="2"> Computer Science</td>
<td> Paper I </th>
<td> Paper II </th>
<td> Total </th>
</tr>
<tr align="center">
<td> 100 </td>
<td> 100 </td>
<td>200 </td>
</tr>
</BODY>
</HTML>
Que.4)

Text on Title bar


Ans. 4)
Introduction

Heading 1 text

Que. 5)

Ans. 5)
Que. 6)

Ans. 6)
<HTML>
<HEAD> <TITLE> abc </TITLE> </HEAD>
<BODY>
<OL type="i">
<LI> Arts </LI>
<OL type="A">
<LI> History </LI>
<LI> Geography </LI>
</OL>
<LI> Science </LI>
<OL type="I">
<LI> Computer Science </LI>
<LI> Physics </LI>
</OL>
<LI> Commerce </LI>
<UL type="circle">
<LI> English </LI>
<LI> Accounts </LI>
</UL>
</OL>
</BODY>
</HTML>

You might also like