Page no: 126 Q4
INPUT:-
<html>
<body>
<table border="1">
<tr>
<td>A</td>
<td ROWSPAN=2> C </td>
</tr>
<tr>
<td>B</td>
</tr>
<tr>
<td>C</td>
<td>E</td>
</tr>
</table>
</body>
</html>
PAGE NO 127 Q5(d)
INPUT:-
<html>
<head><title>formatting tables</title></head>
<body>
<table border="2">
<tr align="center">
<td ROWSPAN=2> ONE </TD>
<TH COLSPAN=2> TWO </th>
</tr>
<td> THREE </td>
<td> four </td>
</tr>
</table>
</body>
</html>
INPUT:
Write the program to create a registration form which
should have the following :-
Name of candidate
Class/sec
Mobile no
E-mail
Subject to be opted
Submit
Reset button
<html>
<head>
<title>Registration Form</title>
</head>
<body>
<h1>Registration Form</h1>
<form>
<BR>
<label for="name">Name of Candidate:</label>
<input type="text" id="name" name="name" required>
<BR>
<label for="class-sec">Class & Section:</label>
<input type="text" id="class-sec" name="class-sec"
required>
<BR>
<label for="mobile">Mobile No:</label>
<input type="tel" id="mobile" name="mobile" pattern="[0-
9]{10}" required>
<BR>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<BR>
<p>Subjects to be Opened:</p>
<label><input type="checkbox" name="subject"
value="Math"> Math</label><BR>
<label><input type="checkbox" name="subject"
value="Science"> Science</label><BR>
<label><input type="checkbox" name="subject"
value="English"> English</label><BR>
<label><input type="checkbox" name="subject"
value="GEOGRAPHY"> GEOGRAPHY</label>
<BR>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</form>
</body>
</html>
Output:-