Professional Documents
Culture Documents
Web Engineering Lab 4
Web Engineering Lab 4
Web Engineering Lab 4
LAB 4
2022
Tasks:
1. Create a Following table with 4 columns with proper heading and two
rows. Also make a caption for table.
Objectives:
The objective of this lab task is to learn how to implement the
navigation tab used in webpage.
The objective of this lab task is to learn how to implement the tables
in html.
SOLUTION:-
CODE:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lab 4</title>
<style>
table{
border: 1px solid black;
margin: 30px;
}
table th,table td{
<table>
<tr>
<th>Sr#</th>
<th>Description</th>
<th>Image</th>
</tr>
<tr>
<td>1</td>
<td>Google</td>
<td>
<a href="google.com"> <img src="google.png" alt=""></a>
</td>
</tr>
<tr>
<td>2</td>
<td>Gmail</td>
<td>
<a href="gmail.com"> <img src="gmail.jpg" alt=""></a>
</td>
</tr>
<tr>
<td>3</td>
<td>Facebook</td>
<td>
<a href="facebook.com"> <img src="fb.jpg" alt=""></a>
</td>
</tr>
<tr>
<td>4</td>
<td>Yahoo</td>
<td>
<a href="yahoo.com"><img src="yahoo.png" alt=""></a>
</td>
</tr>
</table>
</body>
</html>
OUTPUT:-