Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
218 changes: 218 additions & 0 deletions form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
<html>
<head>
<title> form tag in html</title>
</head>
<body>
<form action="" method="post"> <fieldset>
<legend> enter your details </legend>
<p>
<label>First name: <input name="firstName" /></label>
</p>
<p>
<label>Last name: <input name="lastName" /></label>
</p>
<p>
Gender :
<label><input type="radio" name="gender" value="male" /> Male</label>
<label><input type="radio" name="gender" value="female" />
Female</label>
</p>

<p>
<label>Email:<input type="email" name="email" /></label> </p>
<p>
<label>Date of Birth:<input type="date" name="birthDate"></label>
</p>
<p>
<label>
Address :
<textarea name="address" cols="30" rows="3"></textarea>
</label>
</p>
fav. colour<input type="color">
<p>
<button type="submit">Submit</button>
</p>
<label>hobbies</hobbies><br>
<input type="checkbox" id="hobbie1" name="hobbie1" value="Bike">
<label for="hobbie1"> dancing</label><br>
<input type="checkbox" id="hobbie2" name="hobbie2" value="Car">
<label for="hobbie2"> singing</label><br>
<input type="checkbox" id="hobbie3" name="hobbie3" value="Boat">
<label for="hobbie3"> reading</label><br><br>
<h2>Select Your language</h2>
<ul style="list-style-type:none;">
<li><input type="checkbox" name="language" value="hindi" />Hindi</li>
<li><input type="checkbox" name="language" value="english" />English</li>
<li><input type="checkbox" name="language" value="sanskrite" />Sanskrit</li>
</ul>
<h2>Select Your Nationality</h2>
<select name="language">
<option value="indian">Indian</option>
<option value="nepali">Nepali</option>
<option value="bangaladesi">bangaladesi</option>
<option value="pakistani">pakistani</option>
<option value="others">Others</option>
</select> <br><br>
upload any personal ceridential file <input type="file" accept="image/.*"<br><br>
<INPUT type="submit" value="Send"> <INPUT type="reset">
<input type="button" value="click here">
</form>
</body>
</html>














Creating Table 1
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Web Development Assignment - 4</title>
</head> <style> td
{
text-align: center;
}
</style>
<body>
<table border="1" cellpadding = "25" background="wdbackimage.jpg">
<thead>
<tr>
<th> Days </th>
<th> 1 </th>
<th> 2 </th>
<th> 3 </th>
<th> 4 </th>
<th> </th>
<th> 5 </th>
<th> 6 </th>
</tr>
</thead>
<tbody>
<tr>
<td> </td>
<td><strong> 09:00 - 10:00 </strong></td>
<td><strong> 10:00 - 11:00 </strong></td>
<td><strong> 11:00 - 12:00 </strong></td> <td><strong> 12:00 - 01:00 </strong></td>
<td> </td>
<td><strong> 01:45 - 02:45 </strong></td> <td><strong> 02:45 - 03:45 </strong></td>
</tr>
<tr>
<td><strong> Monday </strong></td>
<td> WD </td>
<td> DS </td> <td> DE </td>
<td> MATHS </td>
<td><strong> L </strong></td>
<td colspan = "2"> DE LAB </td>
</tr>
<tr>
<td><strong> Tuesday </strong></td>
<td> CS </td>
<td> MATHS </td>
<td> AP </td> <td> DS </td>
<td><strong> U </strong></td>
<td colspan = "2"> DS LAB </td>
</tr>
<tr>
<td><strong> Wednesday </strong></td>
<td> CS </td>
<td> AP </td>
<td> MATHS </td>
<td> DS </td>
<td><strong> N </strong></td>
<td colspan = "2"> AP LAB </td>
</tr>
<tr>
<td><strong> Thursday </strong></td>
<td> MATHS </td>
<td> AP </td>
<td> WD </td>
<td> DE </td>
<td><strong> C </strong></td>
<td colspan = "2"> CS LAB </td>
</tr>
<tr>
<td><strong> Friday </strong></td>
<td> WD </td>
<td> DE </td>
<td colspan = "2"> WD LAB </td>
<td><strong> H </strong></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><strong> Saturday </strong></td>
<td> WD </td>
<td> MATHS </td>
<td> DE </td>
<td> CS </td>
<td> </td>
<td> DS </td> <td> AP </td>
</tr>
</tbody>
</table>
</body>
</html>












Creating Table 2
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Web Development Assignment - 5</title>
</head> <style> td
{
text-align: center;
}
</style>
<body>
<table border="1" cellpadding = "25" border="solid">
<thead>
<tr>
<th bgcolor="orange"> Name</th>
<th bgcolor="DodgerBlue"> Branch</th>
<th bgcolor="MediumSeaGreen"> Roll Number</th>
</tr>
</thead>
<tbody>
<tr>
<td bgcolor="MediumSeaGreen"> Nisha</td>
<td bgcolor="orange"> Electronics</td>
<td bgcolor="DodgerBlue"> 123458</td>
</tr>
<tr>
<td bgcolor="DodgerBlue">Vishu</td>
<td bgcolor="MediumSeaGreen">Mechl</td>
<td bgcolor="orange" >876321</td>
</tr>
<tr>
<td bgcolor="orange">Maya</td>
<td bgcolor="DodgerBlue">CSE</td>
<td bgcolor="MediumSeaGreen">234589</td>
</tr>
</tbody>
</table>
</body>
</html>