Programming Examples

HTML Code to Design Basic Table


designing of 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>
Output

Check Output

<!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>
Output

Get OUTPUT

CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad