Skip to content

Instantly share code, notes, and snippets.

@soham2008xyz
Created September 29, 2015 05:44
Show Gist options
  • Save soham2008xyz/ef114a9f679e657fac63 to your computer and use it in GitHub Desktop.
Save soham2008xyz/ef114a9f679e657fac63 to your computer and use it in GitHub Desktop.
HTML Lab Assignment
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Assignment 1</title>
</head>
<body background="http://cookusart.com/images/1/light-background/light-background-04.jpg" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif">
<center>
<h1>Welcome to Internet Technology Lab</h1>
<b>This is bold text</b><br>
<font size="0.8em">This is smalller text.</font><br>
<span>5 Line Breaks</span><br>
<br>
<br>
<br>
<br>
<p>This&nbsp;&nbsp;is&nbsp;&nbsp;spaced&nbsp;&nbsp;text.</p><br>
<P>HELLO WORLD</P>
<SPAN>By Soham Banerjee</SPAN>
</center>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Assignment 2</title>
</head>
<body style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif">
<h2>Search Engines</h2>
<ul>
<li><a href="http://google.com" target="_blank">Google</a></li>
<li><a href="http://yahoo.com" target="_blank">Yahoo</a></li>
<li><a href="http://bing.com" target="_blank">Bing</a></li>
<li><a href="http://rediff.com" target="_blank">Rediff</a></li>
<li><a href="http://duckduckgo.com" target="_blank">DuckDuckGo</a></li>
</ul>
<h2>Cricket Scorecard</h2>
<table border="1">
<tr>
<td><b>Name</b></td>
<td><b>Score</b></td>
<td><b>Out</b></td>
</tr>
<tr>
<td>Batsman 1</td>
<td>45</td>
<td>Out</td>
</tr>
<tr>
<td>Batsman 2</td>
<td>92</td>
<td>Out</td>
</tr>
<tr>
<td>Batsman 3</td>
<td>67</td>
<td>Out</td>
</tr>
<tr>
<td>Batsman 4</td>
<td>52</td>
<td>Out</td>
</tr>
<tr>
<td>Batsman 5</td>
<td>12</td>
<td>Out</td>
</tr>
<tr>
<td>Batsman 6</td>
<td>61</td>
<td>Not Out</td>
</tr>
<tr>
<td>Batsman 7</td>
<td>23</td>
<td>Out</td>
</tr>
<tr>
<td>Batsman 8</td>
<td>84</td>
<td>Out</td>
</tr>
<tr>
<td>Batsman 9</td>
<td>31</td>
<td>Out</td>
</tr>
<tr>
<td>Batsman 10</td>
<td>74</td>
<td>Not Out</td>
</tr>
</table>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Assignment 3</title>
</head>
<body style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif">
<h2>Sign Up Form</h2>
<form>
<label for="name">Name</label><br>
<input type="text" name="name" id="name" placeholder="Enter Name"><br>
<label for="surname">Surname</label><br>
<input type="text" name="surname" id="surname" placeholder="Enter Surname"><br>
<label for="gender">Gender</label><br>
<input type="radio" name="gender" id="male"> Male
<input type="radio" name="gender" id="female"> Female<br>
<label for="country">Country</label><br>
<select name="country" id="country">
<option>USA</option>
<option>UK</option>
<option>Russia</option>
<option>Canada</option>
<option>Australia</option>
<option>India</option>
<option>Pakistan</option>
<option>England</option>
</select><br>
<label for="interests">Areas of Interests</label><br>
<input type="checkbox" name="interest1" id="interest1"> Interest 1
<input type="checkbox" name="interest2" id="interest2"> Interest 2
<input type="checkbox" name="interest3" id="interest3"> Interest 3<br>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</form>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Assignment 4</title>
<style type="text/css">
body {
background-color: #d8da3d;
font-family: "Georgia", "Times New Roman", serif;
}
</style>
</head>
<body>
<h2>Sign Up Form</h2>
<form>
<label for="name">Name</label><br>
<input type="text" name="name" id="name" placeholder="Enter Name"><br>
<label for="surname">Surname</label><br>
<input type="text" name="surname" id="surname" placeholder="Enter Surname"><br>
<label for="gender">Gender</label><br>
<input type="radio" name="gender" id="male"> Male
<input type="radio" name="gender" id="female"> Female<br>
<label for="country">Country</label><br>
<select name="country" id="country">
<option>USA</option>
<option>UK</option>
<option>Russia</option>
<option>Canada</option>
<option>Australia</option>
<option>India</option>
<option>Pakistan</option>
<option>England</option>
</select><br>
<label for="interests">Areas of Interests</label><br>
<input type="checkbox" name="interest1" id="interest1"> Interest 1
<input type="checkbox" name="interest2" id="interest2"> Interest 2
<input type="checkbox" name="interest3" id="interest3"> Interest 3<br>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</form>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Assignment 5</title>
</head>
<body style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif">
<h2>Audio Tag</h2>
<audio controls="controls">
<source src=" Kalimba.ogg" type="audio/ogg" />
<source src=" Kalimba.mp3" type="audio/mpeg" />
</audio>
<h2>SVG Tag</h2>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="190">
<polygon points="100,10 40,180 190,60 10,60 160,180" style="fill:lime;stroke:purple;"></polygon>
</svg>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment