English

Write the HTML code to design the web page as shown below: Note: The title of the page should be ‘Student Data Entry Form’. The heading ‘Student Data Entry Form’ on the web page should be of largest

Advertisements

Question

Write the HTML code to design the web page as shown below:

Note:

  • The title of the page should be ‘Student Data Entry Form’.
  • The heading ‘Student Data Entry Form’ on the web page should be of largest possible size.
Code Writing
Advertisements

Solution

<html>
<head>
<title> Student Data Entry Form </title>
</head>
<body>
<H1> <center> STUDENT DATA ENTRY FORM </center> </H1>
<br><br>
<form action="mailto:[email protected]” method="post">
<table align="center”
<tr>
<td align="right">Name:</td>
<td colspan="3"><input type="text"name="txtn"size="35px"></td>
</tr>
<tr>
<td align="right">Gender:</td>
<td><input type="radio” name="gender” value=“male”>Male</td>
<td><input type="radio” name="gender” value=“female”>Female</td>
<td><input type="radio” name="gender” value=“other”>Other</td>
</tr>
<tr>
<td align="right"> Languages: </td>
<td><input type="checkbox" name="lang” value="Eng"> English </td>
<td><input type="checkbox” name="lang” value="Hind”> Hindi </td>
</tr>
<tr>
<td align =“right">Stream:</td>
<td colspan ="3">
<select name="dropdown”>
<option value="Science” selected>Science</option>
<option value="Commerce”> Commerce</option>
<option value="Humanities"> Humanities </option>
</select>
<td>
</tr>
<tr>
<td colspan="4"><br></td>
</tr>
<tr>
<td colspan="4"><br></td>
</tr>
<tr>
<td colspan="4"><br></td>
</tr>
<tr>
<td colspan="4"><br></td>
</tr>
<tr>
<td colspan="4">
<input type="submit" value="Submit"></td>
</tr>
</table>
</form>
</html>
shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Set 4

APPEARS IN

Advertisements
Share
Notifications



      Forgot password?
Use app×