HTML Assignmet Prsu Dca Pgdca
HTML Assignmet Prsu Dca Pgdca
13 Name Rahul
Roll No. 101
Subject Max Min Obtain
Java 100 33 75
Multimedia 100 33 70
Write an HTML program to create a form as the following:
Enter Name:
14 Enter Roll No:
Enter Age:
Enter DOB:
16
17
18
<body>
<table align="center" border="1" cellspacing="0">
<tr>
<th width="100">Class</th>
<th width="100">Subject2</th>
<th width="100">Subject1</th>
<th width="100">Subject3</th>
</tr>
<tr>
<th>BCA I</td>
<td align="center">Visual Basic</td>
<td align="center">PC Software</td>
<td align="center">Electronics</td>
</tr>
<tr>
<th>BCA II</td>
<td align="center">C++</td>
<td align="center">DBMS</td>
<td align="center">English</td>
</tr>
<tr>
<th>BCA III</td>
<td align="center">Java</td>
<td align="center">Multimedia</td>
<td align="center">CSA</td>
</tr>
</table>
</body>
</html>
Output:
<head>
<title>Programming Languages</title>
</head>
<body>
<ul>
<li>C</li>
<li>C++</li>
<li>Fortran</li>
<li>COBOL</li>
</ul>
</body>
</html>
Output:
<head>
<title>Programming Languages List</title>
</head>
<body>
<ol>
<li>Java</li>
<li>Visual Basic</li>
<li>BASIC</li>
<li>COBOL</li>
</ol>
</body>
</html>
Output:
Coding:
<!DOCTYPE html>
<html>
<head>
<title>Three Column Frame</title>
</head>
<frameset cols="30%, 30%, 40%">
<frame src="ASSIGNMENT 14.html">
<frame src="ASSIGNMENT 17.html">
<frame src="ASSIGNMENT 18.html">
</frameset>
</html>
Output:
Coding:
<!DOCTYPE html>
<html>
<head>
<title>New Delhi</title>
</head>
</html>
Output:
Coding:
<!DOCTYPE html>
<html>
<head>
<title>Admission</title>
</head>
<body>
<table border="1" cellspacing="0">
<caption>
<strong><u>Admission</u></strong>
</caption>
<tr>
<th width="140" align="left">Course</th>
<th width="70">OC</th>
<th width="70">BC</th>
<th width="70">MBC</th>
<th width="70">SC/ST</th>
<th width="70">TOTAL</th>
</tr>
<tr>
<th align="left">Computer-science</td>
<td align="center">9</td>
<td align="center">18</td>
<td align="center">5</td>
<td align="center">5</td>
<td align="center">37</td>
</tr>
<tr>
<th align="left">Commerce</td>
<td align="center">14</td>
<td align="center">25</td>
<td align="center">6</td>
<td align="center">5</td>
<td align="center">50</td>
</tr>
<tr>
<th colspan="5" align="left">Grand-total</th>
<td align="center">87</td>
</tr>
</table>
</body>
</html>
Coding:
<!DOCTYPE html>
<html>
<head>
<title>Car Price List</title>
</head>
<body>
<table border="1" cellspacing="0">
<caption>
<strong><u>Car Price List</u></strong>
</caption>
<tr>
<th colspan="2" width="190">Maruti</th>
<th colspan="2" width="190">Tata</th>
<th colspan="2" width="190">Ford</th>
</tr>
<tr>
<th>Model</th>
<th>Price</th>
<th>Model</th>
<th>Price</th>
<th>Model</th>
<th>Price</th>
</tr>
<tr>
<td>Maruti 800</td>
<td>2 Lac</td>
<td>Sumo</td>
<td>2 Lac</td>
<td>Ikon</td>
<td>5 Lac</td>
</tr>
<tr>
<td>Omini</td>
<td>3 Lac</td>
<td>Scropio</td>
<td>3 Lac</td>
<td>Gen</td>
<td>2 Lac</td>
</tr>
</table>
</body>
</html>
Coding:
<!DOCTYPE html>
<html>
<head>
<title>STUDENT REPORT</title>
</head>
<body bgcolor="PINK">
<h1 align="center">
<u>STUDENT REPORT</u>
</h1>
<table border="1" align="center">
<tr>
<th colspan="3">Pandit Ravishankar Shukla University</th>
</tr>
<tr>
<td align="center">NAME</td>
<td align="center">ROLL NO</td>
<td align="center">CLASS</td>
</tr>
<tr>
<td align="center">Rahul</td>
<td align="center">40</td>
<td align="center">BCA-1</td>
</tr>
<tr>
<td align="center">Preeti</td>
<td align="center">85</td>
<td align="center">BCA-1</td>
</tr>
<tr>
<td align="center">Priya</td>
<td align="center">75</td>
<td align="center">BCA-1</td>
</tr>
<tr>
<td align="center">Richa</td>
<td align="center">35</td>
<td align="center">BCA-1</td>
</tr>
</table>
</body>
</html>
<body>
<tr>
<td rowspan="2" align="center" valign="top">Arun</td>
<td align="center">Java</td>
<td align="center">70</td>
</tr>
<tr>
<td align="center">C</td>
<td align="center">80</td>
</tr>
<tr>
<td rowspan="2" align="center" valign="top">Ashish</td>
<td align="center">Java</td>
<td align="center">75</td>
</tr>
<tr>
<td align="center">C</td>
<td align="center">69</td>
</tr>
</table>
</body>
</html>
Coding:
Output:
<head>
<title>ASSIGNMENT 12</title>
</head>
<body>
<br>
<center>
<img src="pl.jpg" alt="Programming Languages" width="400" />
</center>
</body>
</html>
Coding:
<!DOCTYPE html>
<html>
<head>
<title>ASSIGNMENT 13</title>
</head>
<body>
<table align="center" border="1" cellspacing="0" >
<tr>
<th width="115" colspan="2">Name</th>
<td width="115" colspan="2">Rahul</td>
</tr>
<tr>
<th width="115" colspan="2">Roll No.</th>
<td width="115" colspan="2">101</td>
</tr>
<tr>
<th width="115">Subject</th>
<th width="115">Max</th>
<th width="115">Min</th>
<th width="115">Obtain</th>
</tr>
<tr>
<td width="115">Java</td>
<td width="115">100</td>
<td width="115">33</td>
<td width="115">75</td>
</tr>
<tr>
<td width="115">Multimedia</td>
<td width="115">100</td>
<td width="115">33</td>
<td width="115">70</td>
</tr>
</table>
</body>
</html>
Coding:
<!DOCTYPE html>
<html>
<head>
<title>ASSIGNMENT 14</title>
</head>
<body>
<table>
<tr>
<td>Enter Name:</td>
<td><input type="text" name="name"></td>
</tr>
<tr>
<td>Enter Roll No.:</td>
<td><input type="text" name="roll"></td>
</tr>
<tr>
<td>Enter Age:</td>
<td><input type="number" name="age"></td>
</tr>
<tr>
<td>Enter DOB:</td>
<td><input type="date" name="dob"></td>
</tr>
</table>
</body>
</html>
Output:
<head>
<title>ASSIGNMENT 15</title>
</head>
Coding:
<!DOCTYPE html>
<html>
<head>
<title>ASSIGNMENT 16</title>
</head>
<body>
<form>
<label for="username">USERNAME :</label>
<input type="text" id="username"><br><br>
<label for="password">PASSWORD :</label>
<input type="password" id="password"><br><br>
<p>
When user type characters in the password field, the browser
displays asterisks or bullets instead of characters.
</p>
<input type="submit" value="Submit Query">
</form>
</body>
</html>
Output:
Coding:
<!DOCTYPE html>
<html>
<head>
<title>ASSIGNMENT_17</title>
</head>
<body>
<form>
<label>FIRSTNAME:</label>
<input type="text"><br><br>
<label>LASTNAME:</label>
<input type="text"><br><br>
<label>GENDER:</label><br>
<label for="male">Male</label>
<input type="radio" id="male" name="gender">
<label for="female">Female</label>
<input type="radio" id="female" name="gender"><br><br>
<label>SUBJECT:</label>
<select>
<option>Mathematics</option>
<option>Operating System</option>
<option>CSA</option>
</select><br><br>
</body>
</html>
Coding:
<!DOCTYPE html>
<html>
<head>
<title>ASSIGNMENT_18</title>
</head>
<body>
<form>
<label for="name">Enter your name:</label>
<input type="text" id="name"><br><br>
<label for="roll">Enter your Roll No.:</label>
<input type="text" id="roll"><br><br>
<label for="subject">Subject:</label><br>
<input type="checkbox" id="java">
<label for="java">Java</label><br>
<input type="checkbox" id="c">
<label for="c">C</label><br>
<input type="checkbox" id="vb">
<label for="vb">Visual Basic</label><br>
<input type="checkbox" id="cpp">
<label for="cpp">C++</label><br><br>
<label for="class">Class:</label>
<select id="class" name="class">
<option value="BCA I">BCA I</option>
<option value="BCA II">BCA II</option>
<option value="BCA III">BCA III</option>
</select><br><br>
<input type="submit" value="Submit Query">
</form></body>
</html>
Output:
Coding:
<!DOCTYPE html>
<html>
<head>
<title>ASSIGNMENT_19</title>
</head>
<body>
<p>
C<sub>2</sub>H<sub>5</sub>OH + PCl<sub>3</sub> = C<sub>2</sub>HCl +
POCl<sub>3</sub> + HCl
<br>
4H<sub>3</sub>PO<sub>3</sub> = 3H<sub>3</sub>PO<sub>4</sub> +
PH<sub>3</sub>
<br>
PCl<sub>3</sub> + Cl<sub>2</sub> = PCl<sub>5</sub>
</p>
</body>
</html>Output:
Coding:
<!DOCTYPE html>
<html>
<head>
<title>ASSIGNMENT_20</title>
</head>
<body>
<ul>
<li>Actors</li>
<ul>
<li>Bruce Wills</li>
<li>Gerard Butler</li>
<li>Vin Diesel</li>
<li>Bradd Pitt</li>
</ul>
<li>Actress</li>
<ul>
<li>Julie Roberts</li>
<li>Angelina Jolie</li>
<li>Kate Winslet</li>
<li>Cameron Diaz</li>
</ul>
</ul>
</body>
</html>
Output:
Coding:
<!DOCTYPE html>
<html>
<head>
<title> ASSIGNMENT_21</title>
</head>
<body>
<ol>
<li>
Cricket Playesr
<ol type="A">
<li>Batsman</li>
<ol type="i">
<li>Sachin Tendulkar</li>
<li>Rahul Dravid</li>
<li>Virendra Sehwag</li>
</ol>
<li>Bowler</li>
<ol type="i">
<li>Kumble</li>
<li>Zaheer Khan</li>
<li>Balaji</li>
</ol>
<li>Spinner</li>
<ol type="i">
<li>Harbhajan</li>
<li>Kumble</li>
<li>kartik</li>
</ol>
</ol>
</li>
</ol>
</body>
</html>