[go: up one dir, main page]

100% found this document useful (1 vote)
266 views14 pages

HTML Programs With Solutions

Uploaded by

cyrax3172007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
266 views14 pages

HTML Programs With Solutions

Uploaded by

cyrax3172007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

(c) Write a code in HTML for following table: (Ch. 4/Q. 50/Pg.

4-36) (2017)

<html>
<body>
<table border="1" cellspacing="10" cellpadding="10">
<tr>
<td rowspan="2">Computer Science</td>
<td>Paper I</td>
<td>Paper II</td>
<td>Total</td>
</tr>
<tr>
<td>100</td>
<td>100</td>
<td>200</td>
</tr>
</table>
</body>
</html>

(c) Write the exact output of the following HTML code with font specification. (Ch. 4/Q. 69/Pg. No.
4-51) (2017)
<html>
<head>
<title>Introduction</title>
</head>
<body>
<h1><b>Computer Science</b><h1>
<hr>
<u>Paper-I</u>
<hr>
<u>Paper-II</u>
</bod>
</html>
(c) Write HTML code for following output: (Ch. 4/Q. 89/ Pg. 4-65) (2017 july)

<html>
<body>
<table border="1" cellspacing="0" width="40%" cellpadding="5">
<tr align="center">
<th colspan="3">World Cup T20</th>
</tr>
<tr align="center">
<td rowspan="2">
Group A
</td>
<td>IND</td>
<td>PAK</td>
</tr>
<tr align="center">
<td>AUS</td>
<td>ENG</td>
</tr>
<tr align="center">
<td rowspan="2">
Group B
</td>
<td>WI</td>
<td>NZ</td>
</tr>
<tr align="center">
<td>SA</td>
<td>SL</td>
</tr>
</table>
</body>
</html>

(c) Write HTML code for the following output: (2017 July)

Computer Science

● Paper - I

(i) C++ language

(ii) HTML

(iii)OS

(iv) DS

o Paper -II
(1) Microprocessor
(2) Microprocessor
(3) X86 Processor
(4) Networking
(chp 4 / Q.90 / pg .4-66)

Ans:-

<HTML>
<HEAD>
<TITLE>LIST</TITLE>
</HEAD>
<BODY>
<UL TYPE="SQUARE">
<LI> Computer Science</LI>
</UL>
<UL TYPE="DISC">
<LI> Paper-I</LI>
<OL TYPE="1">
<LI>C++ language<N>
<LI>HTML</LI>
<LI>OS</LI>
<LI>DS</LI>
</OL>
</UL>
><UL TYPE="CIRCLE">
<LI>Paper-II</LI>
<OL TYPE="1">
<1.1>Microprocessor</U>
<LI>Microcontroller</LI>
<LI>X86 Processors<N>
<LI>Networking<N>
</OL>
</UL>
</BODY>
</HTML>

<html>
<body>
<ul type="square">
<li>Compouter Science</li>
</ul>
<ul>
<li>Paper I</li>
<ol type="i">
<li>HTML</li>
<li>OS</li>
<li>DS</li>
</ol>
</ul>
<ul>
<li>Paper II</li>
<ol>
<li>Microprocessor</li>
<li>Microprocessor</li>
<li>X86 Processor</li>
<li>Networking</li>
</ol>
</ul>
</body>
</html>

(c) Write HTML code for following output: (Ch. 4/Q. 91 / Pg. 4-67) (March - 2018)

<html>
<body>
<table border="1" cellspacing="0" cellpadding="5">
<caption>
Cricket Analysis
</caption>
<tr align="center">
<th>Country</th>
<th>Played</th>
<th>WON</th>
<th>Lose</th>
</tr>
<tr align="center">
<td>India</td>
<td>20</td>
<td>30</td>
<td>5</td>
</tr>
<tr align="center">
<td>Pakistan</td>
<td>20</td>
<td>30</td>
<td>5</td>
</tr>
</table>
</body>
</html>

Write the output of the following HTML code: (March - 2018)

<html>.
<body>
<UL type = "circle">
<Li> One </Li>
<Li> Two </Li>
<Li> Three </Li>
<UL type = “square’>
<Li> Monday </Li>
<Li> Tuesday </Li>
<Li> Wednesday</Li>
</UL>
</UL>
</body>
</html>

Ans:- o One
o Two
o Three

Monay
Tuesday
Wednesday

(Ch. 4/Q. 92/Pg. 4-68)


(c) Write exact output of the following HTML code: (Ch. 4/Q. 98/Pg. No. 4-71) (July 2018)
<HTML>
<BODY>
<h1><U>Services of Operating System</U></h1>
<UL type="square">
<LI>Information Management</LI>
<UL type="circle">
<LI>File System</LI>
<OL>
<LI>Tape based system</LI>
<LI>Disk based system</aLI>
</OL>
</UL>
<LI>Process Management</LI>
<LI>Memory Management</LI>
</UL>
</BODY>
</HTML>

(c) Write HTML code for following output: (Ch. 4/Q. 91 / Pg. 4-67) (July - 2018)

<html>
<body>
<table border="1" cellspacing="0" width="25%"
align="center">
<tr align="center">
<td colspan="2">Result</td>
</tr>
<tr align="center">
<td><a href="JsResult.html">JEE</a></a></td>
<td><a href="CResult.html">CET</a></td>
</tr>
</table>
<p>If any enquery <a href="www.jeemain.nic.ic">click
here</a></p>
</body>
</html>

(c) Write exact output of the following HTML code: (Ch. 4/Q. 98/Pg. No. 4-71) (2019 - march)
<html>
<body>
<ol start="10">
<li>English
<li>Second Language
</ol>
<ol type="a">
<li>Compulsory</li>
<li>Optional</li>
</ol>
<ul type="Square">
<li>Science</li>
<li>Arts</li>
<li>Commerce</li>
</ul>
</body>
</html>
( c ) Write HTML code for the following output: (Ch. 4/Q. 99/Pg. No. 4-72) (2019-march)

<html>
<head>
<title>My Page</title>
</head>
<body>
<p>HTML is hypertext</p>
<p>Markup Language.The basic language of HTML is ASCII code.</p>
<p>This is only text oriented language</p>
<hr />
<ul type="square">
<li>
<b><u>One</u></b>
</li>
<li>
<b><u>Two</u></b>
</li>
</ul>
<hr />
<ol>
<li>One</li>
<li>Two</li>
</ol>
</body>
</html>

(c) Write exact output of the following HTML code: (Ch. 4/Q. 100/Pg. No. 7-73) (2019 -July)

html>
<head>
<title>Match summary</title>
</head>
<body>
<table bo="^" prime prime 1^ prime prime cellspacing="15"
cellpadding="15">
<tr>
<th rowspan="2">
IND <br />
underline 35/4
</th>
<td>Virat</td>
<td>185</td>
</tr>
<tr>
<td>Sharma</td>
<td>90</td>
</tr>
<tr>
<th rowspan="2">AUS <br />280</th>
<td>angle TD>Wamer</td>
<td>90</td>
</tr>
<tr>
<td>Smith</td>
<td>70</td>
</tr>
<tr>
<td colspan="3">IND win by 055 Runs</td>
</tr>
</table>
</body>
</html>

Ans :-

(c) Write the HTML Code for following output:(2019 -July)

(1) Computer Science Theory

(i) Paper 1-50 Marks


(ii) Paper 2-50 Marks

(2) Computer Science Practicals

(i) Paper 1-50 Marks

(ii) Paper 2-50 Marks (Ch. 4/Q. 101/Pg. No. 4-174)

<html>
<body>
<ol>
<li>Computer science theory</li>
<ol type="i">
<li>Paper 1-50 marks</li>
<li>Paper 2-50 marks</li>
</ol>
<li>Computer science practical</li>
<ol type="i">
<li>Paper 1-50 marks</li>
<li>Paper 2-50 marks</li>
</ol>
</ol>
</body>
</html>

(c) Write HTML code for following output: (Ch. 3/Q. 124 / Pg. 3-101) (March - 2020)

<html>
<body>
<table border="1" cellspacing="0" width="300"">
<tr align="center">
<th colspan="2">Subject</th>
<th>Paper I</th>
<th>Paper II</td>
</tr>
<tr align="center">
<td>Computer</td>
<td>Theroy</td>
<td>50</td>
<td>50</td>
</tr>
<tr align="center">
<td>Science</td>
<td>Theroy</td>
<td>50</td>
<td>50</td>
</tr>
</table>
</body>
</html>

( c ) Write the exact output of the following HTML code with font specification. (Ch. 4/Q. 69/Pg. No.
4-51) (March - 2020)

(Note: here code is given for which output is required along with link details as
mentioned)

<HTML>
</BODY>
<h1>XII RESULT</h1>
<TABLE border="3" Cellspacing="10">
<TR>
<TH colspan="3"> STREAM</TH>
</TR>
<TR>
<TD> <A href= "Science.html" > SCIENCE </A> </TD>
<TD> <A href= "Commerce.html" > COMMERCE </A> </TD>
<TD> <A href="Arts.html" > ARTS </A> </TD>
</TR>
</TABLE>
</BODY>
</HTML>

You might also like