Tech Study

How to define define a table in HTML

Introduction

How to define define a table in HTML

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>www.techstudy.org</title>
</head>
<body>
<table border="1">  
<caption>First column holds Employee Name and second column holds Branch of the Employee</caption>  
<tr>   
<th>Employee Name </th>  
<th>Branch of Employee </th>  
</tr>  
<tr>   
<td>David</td>  
<td>IT</td>  
</tr>  
<tr>   
<td>John</td>  
<td>CIVIL</td>  
</tr>  
<tr>   
<td>MAYA</td>  
<td>Mechanical</td>  
</tr>  
 
</table
</body>
</html>

Result

How to define define a table in HTML
How to define define a table in HTML

TaggedHow to define define a table in HTML

C String Functions

C String Functions perform certain operations, It provides many useful string functions which can come into action. The <string.h> header …

Read more

Function Pointer in C++

Introduction : Function Pointer in C++ Pointers: In function pointer in c++ are the variables that consist of addresses of …

Read more