0% found this document useful (0 votes)
2 views

Assignment 9b

The document is an HTML code snippet that creates a table displaying courses offered at IP University. It categorizes the courses into Graduate and Post Graduate sections, listing specific programs along with their respective enrollment numbers. The table is styled for clarity and visual appeal.

Uploaded by

Aman Girdhar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Assignment 9b

The document is an HTML code snippet that creates a table displaying courses offered at IP University. It categorizes the courses into Graduate and Post Graduate sections, listing specific programs along with their respective enrollment numbers. The table is styled for clarity and visual appeal.

Uploaded by

Aman Girdhar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

ASSIGNMENT – 9 B

Q. Design a table as follows:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IP University Courses</title>
<style>
table {
width: 50%;
border-collapse: collapse;
margin: 20px auto;
text-align: center}
th, td { border: 1px solid black;padding: 10px;}
th {background-color: lightgray;}
</style>
</head>
<body>
<table>
<tr>
<td colspan="6">IP University Courses</td>
</tr>
<tr>
<td colspan="3">Graduate</td>
<td colspan="3">Post Graduate</td>
</tr>
<tr>
<td>BBA</td>
<td>BCA</td>
<td>B. Tech</td>
<td>MBA</td>
<td>MCA</td>
<td>M. Tech</td>
</tr>
<tr>
<td>240</td>
<td>120</td>
<td>100</td>
<td>200</td>
<td>100</td>
<td>80</td>
</tr>
</table>
</body>
</html>

You might also like