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

Java Final keyword

Introduction : java final keyword The final keyword present in Java programming language is generally used for restricting the user. …

Read more

C++ Memory Management: new and delete

C++ Memory Management We know that arrays store contiguous and the same type of memory blocks, so memory is allocated …

Read more