HTML creating table

 HTML Creating Table


Here is the totally new thing for the beginner. Actually Making a table in html is little bit tricky so here is the code. You cannot understand this unless you try this table by yourself. You should add your own way for making a table. 

In the code below there are some tags which all are necessary for the construction of the table such as table for creating table, tr for rows, th for columns, colspan to remove the column or number of column where a column should span and border to create border.




       
<html>
<head>
<Title>
Creating Table
</Title>
</head>
<body>
<center>
<h><hr>
<font size="5">
Task 1<hr></font>
</h>
<table border="5">
<tr>
<th colspan="2">Table Title</th></tr>
<tr>
<th>Column1</th>
<th>Column2</th>
</tr>
<tr>
<td>Date1</td>
<td>Date2</td>
</tr>
<tr>
<td>Date3</td>
<td>Date4</td>
</tr>
<tr>
<td>Date5</td>
<td>Date6</td>
</tr>
</table>
<br><br>
</body>
</html>

Comments

Popular posts from this blog

Multiple inheritance,friend function and multiple file in oop(object oriented programming)

Concepts of OOP (object oriented programming)

Concepts in c++........