Programming Examples
HTML Code to Design Basic Table
<!doctype html>
<html>
<head>
<title>Table Assignment </title>
</head>
<body>
<center><h4>Basic Course</h4></center>
<table border="1" align="center" width="60%" cellpadding="10px" cellspacing="3px" bgcolor="pink" bordercolor="green">
<tr bgcolor="maroon">
<th>Sr. No</th>
<th>Course Name</th>
<th>Fees</th>
<th>Duration</th>
<th>Eligibility</th>
</tr>
<tr>
<td>1</td>
<td>CCC - Course on Computer Concept</td>
<td>2000</td>
<td>3 Months</td>
<td>10<sup>th</sup></td>
</tr>
<tr>
<td>2</td>
<td>CCA - Course on Computer Application</td>
<td>2000</td>
<td>3 Months</td>
<td>10<sup>th</sup></td>
</tr>
<tr>
<td>3</td>
<td>Tally</td>
<td>3000</td>
<td>3 Months</td>
<td>10<sup>th</sup></td>
</tr>
<tr>
<td>4</td>
<td>O Level</td>
<td>15,000</td>
<td>1 Year</td>
<td>12<sup>th</sup></td>
</tr>
</table>
</body>
</html>
<!doctype html>
<html>
<head>
<title>Table Assignment 1 </title>
</head>
<body>
<center><h4>Basic Course</h4></center>
<table border="1" align="center" width="60%" cellpadding="10px" cellspacing="3px" bgcolor="pink" bordercolor="green">
<tr bgcolor="maroon">
<th>Sr. No</th>
<th>Course Name</th>
<th>Fees</th>
<th>Duration</th>
<th>Eligibility</th>
</tr>
<tr>
<td>1</td>
<td>CCC - Course on Computer Concept</td>
<td>2000</td>
<td>3 Months</td>
<td>10<sup>th</sup></td>
</tr>
<tr>
<td>2</td>
<td>CCA - Course on Computer Application</td>
<td>2000</td>
<td>3 Months</td>
<td>10<sup>th</sup></td>
</tr>
<tr>
<td>3</td>
<td>Tally</td>
<td>3000</td>
<td>3 Months</td>
<td>10<sup>th</sup></td>
</tr>
<tr>
<td>4</td>
<td>O Level</td>
<td>15,000</td>
<td>1 Year</td>
<td>12<sup>th</sup></td>
</tr>
</table>
</body>
</html>