0% found this document useful (0 votes)
3 views3 pages

HTML Practice

The document contains two HTML code snippets: one for a college time table for TY B.Tech Computer Science, and another for a student registration form. The time table outlines the schedule for each day of the week with subjects and a lunch break. The registration form includes fields for name, email, password, gender, skills, address, and country selection.

Uploaded by

adityakamblevk18
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
0% found this document useful (0 votes)
3 views3 pages

HTML Practice

The document contains two HTML code snippets: one for a college time table for TY B.Tech Computer Science, and another for a student registration form. The time table outlines the schedule for each day of the week with subjects and a lunch break. The registration form includes fields for name, email, password, gender, skills, address, and country selection.

Uploaded by

adityakamblevk18
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

Design a College Time Table using HTML Table

Code
<!DOCTYPE html>
<html>
<head>
<title>Time Table</title>
</head>
<body>

<center>
<table border="1" cellpadding="10" cellspacing="0">
<caption><b>TY [Link] Computer Science – Time Table</b></caption>

<tr>
<th>Day</th>
<th>9:00 - 10:00</th>
<th>10:00 - 11:00</th>
<th>11:00 - 12:00</th>
<th>12:00 - 1:00</th>
<th>1:00 - 2:00</th>
<th>2:00 - 3:00</th>
</tr>

<tr>
<th>Monday</th>
<td>DS</td>
<td>OS</td>
<td>CN</td>
<td rowspan="5"><b>LUNCH</b></td>
<td>DBMS</td>
<td>Lab</td>
</tr>

<tr>
<th>Tuesday</th>
<td>CN</td>
<td>DBMS</td>
<td>OS</td>
<td>DS</td>
<td>Library</td>
</tr>

<tr>
<th>Wednesday</th>
<td>OS</td>
<td>DS</td>
<td>DBMS</td>
<td>CN</td>
<td>Lab</td>
</tr>

<tr>
<th>Thursday</th>
<td>DBMS</td>
<td>CN</td>
<td>DS</td>
<td>OS</td>
<td>Seminar</td>
</tr>

<tr>
<th>Friday</th>
<td>DS</td>
<td>OS</td>
<td>CN</td>
<td>DBMS</td>
<td>Sports</td>
</tr>
</table>
</center>

</body>
</html>
Design a Student Registration Form using HTML

Code
<!DOCTYPE html>
<html>
<head>
<title>Student Registration Form</title>
</head>
<body>

<h2>Student Registration Form</h2>

<form action="[Link]" method="post">

<label>Name:</label><br>
<input type="text" name="name"><br><br>

<label>Email:</label><br>
<input type="email" name="email"><br><br>

<label>Password:</label><br>
<input type="password" name="password"><br><br>

<label>Gender:</label><br>
<input type="radio" name="gender"> Male
<input type="radio" name="gender"> Female<br><br>

<label>Skills:</label><br>
<input type="checkbox"> HTML
<input type="checkbox"> CSS
<input type="checkbox"> JavaScript<br><br>

<label>Address:</label><br>
<textarea rows="4" cols="30"></textarea><br><br>

<label>Country:</label><br>
<select>
<option>India</option>
<option>USA</option>
</select><br><br>

<input type="submit" value="Submit">


<input type="reset" value="Reset">

</form>

</body>
</html>

You might also like