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/ Explanation:


Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad