Making a table using HTML Example 2

Another example on how to make a table in html.

 

<html>
<head>
<title> CUN130101342 </title>
</head>
<body>
<table border="2">
<tr>
<th>SNO</td>
<th>Particular</td>
<th> No. of items </td>
<th> Price </td>
</tr>
<tr>
<td>1</td>
<td>Hard Disks</td>
<td>2</td>
<td>4000.00</td>
</tr>
<tr>
<td>2</td>
<td>Monitors</td>
<td>3</td>
<td>15000.00</td>
</tr>
<tr>
<td>3</td>
<td>CD ROM</td>
<td>2</td>
<td>1000.00</td>
</tr>
<tr>
<td>4</td>
<td>DVD Writers</td>
<td>4</td>
<td>6000.00</td>
</tr>
</body>
</html>

 

Making a form using HTML Example 2

Another example on making a form using HTML.

 

<html>
<head>
<title> BloggingSimplified </title>
</head>
<body bgcolor="green">
<form>

<table>
<tr>First Name:<input type="text"> <br></tr>
<tr>Last Name:<input type="text"> <br></tr>
<tr>Email Address:<input type="text"> <br></tr>
<tr>Gender:<br></tr>     
<input type="radio" name="g" value="off">Male<br>
<input type="radio" name="g" value="off">Female
<br>
Check the option:<br>
<tr>I have a bike <input type="checkbox"><br></tr>
<tr>I have a car <input type="checkbox"><br></tr>
<tr>I have a airplane <input type="checkbox"><br></tr>
<tr>Upload File: <input type="file"></tr><br>
<tr>Write Comment <br><textarea cols="20" rows="5"></textarea></tr><br>
<br>
<tr><input type="reset" name="s"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <input type="submit" name="s"><br></tr>
</table>
</form>
</body>
</html>