Programming Examples

Html program to display a table with 5 rows and 4 columns. Provide appropriate heading to the form


Write a HTML program to display a table with 5 rows and 4 columns. Provide appropriate heading to the form.

Solution

<table border="1" width="600px" align="center">
	<tr>
		<th>Sr. No</th>
		<th>Name</th>
		<th>Mobile</th>
		<th>City</th>
	</tr>
	<tr>
		<td>1</td>
		<td></td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>2</td>
		<td></td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>3</td>
		<td></td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>4</td>
		<td></td>
		<td></td>
		<td></td>
	</tr>
</table>
Output


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