In today’s post I will tell you about how to create table using
HTML.
Follow the below steps to create the table using HTML :-
- Creating table using HTML is not difficult.
- For table creation we use <table></table> tag and <tr></tr> , <td></td>.
- We also use table’s attribute named as border to give border to the table.
- Write or copy and paste the below given HTML code in notepad or notepad++ to create table.
- Save as anyname.html
- Now open with any browser.
HTML Code:-
<html>
<head>
<title>Table</title>
</head>
<body>
<h1>Creation of Table.</h1>
<br>
<p>Below is table created using HTML.</p>
<table border="2">
<tr>
<td>Serial No.</td>
<td>Courses</td>
</tr>
<tr>
<td>1.</td>
<td>HTML</td>
</tr>
<tr>
<td>2.</td>
<td>CSS</td>
</tr>
<tr>
<td>3.</td>
<td>ASP.NET</td>
</tr>
</table>
</body>
</html>
For more help see the below video :-
If you have any doubt post in the comment box.
For more updates like us on facebook.



0 comments:
Post a Comment