Professional Documents
Culture Documents
Green University of Bangladesh Department of Computer Science and Engineering (CSE)
Green University of Bangladesh Department of Computer Science and Engineering (CSE)
LAB REPORT NO 1
Course Title: Web Programming Lab
Course Code: CSE 302 Section: D4
Lab Experiment Name: Implement of type attribute, definition list and HTML &
CSS responsive Table.
Student Details
Name ID
[For Teachers use only: Don’t Write Anything inside this box]
OBJECTIVES/AIM
After completing this experiment I’m able to implement various type attributes like
Numerical, Small/Capital Alphabet, Small/Capital Roman etc. also I’m going to
implement responsive table.
Secondly, the <dl> tag defines a description list. The <dl> tag is used in
conjunction with <dt> (defines terms/names) and <dd> (describes each
term/name).
Finally, A responsive table will display a horizontal scroll bar if the screen is too
small to display the full content. To create a responsive table, add a container
element with (margin: auto) around the <table>.
IMPLEMENTATION
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lab Report</title>
</head>
<body style="background: slateblue;">
<h1 style=" color: white; text-align: center; "> <u>Lab Report </u></h1>
<h2 style="color: white; text-align: center;"> TASK 1 </h2>
<h3 style="color: white; text-align: center;">Type Attributes</h3>
<br>
<br>
<h3>Ordered List Tag with Type Attribute LoIr Case Alphabets</h3>
<ol type="a"style=" color: white; font-size: 20px;">
<li>Dhaka</li>
<li>Chittagong</li>
<li>Sylhet</li>
<li>Cumilla</li>
<li>Chandpur</li>
<li>Rajshahi</li>
<li>Khulna</li>
<li>Bagherhat</li>
</ol>
<h3>Ordered List Tag with Type Attribute Lower Case Alphabets</h3>
<ol type="A"style=" color: white; font-size: 20px;">
<li>Mango</li>
<li>Jack Fruit</li>
<li>Orange</li>
<li>Guava</li>
<li>Banana</li>
<li>Apple</li>
<li>Dragon Fruit</li>
<li>Grapes</li>
</ol>
<h3>Ordered List Tag with Type Attribute Lower Case Roman</h3>
<ol type="i"style=" color: white; font-size: 20px;">
<li>Poppers</li>
<li>Coca-cola</li>
<li>Pepsi</li>
<li>Casew Nut</li>
<li>Alooz</li>
<li>Dry Fruits</li>
</ol>
<h3>Ordered List Tag with Type Attribute Upper Case Roman</h3>
<ol type="I" style=" color: white; font-size: 20px;">
<li>Dhaka Division</li>
<li>Rajshahi Division</li>
<li>Khulna Division</li>
<li>Chittagong Division</li>
<li>Sylhet Division</li>
<li>Barishal Division</li>
<li>Rangpur Division</li>
<li>Mymensingh Division</li>
</ol>
<h3>Ordered List Tag with Type Attribute Numerical</h3>
<ol type="1"style=" color: white; font-size: 20px;">
<li>Dhaka</li>
<li>Chittagong</li>
<li>Sylhet</li>
<li>Cumilla</li>
<li>Chandpur</li>
<li>Rajshahi</li>
<li>Khulna</li>
<li>Bagherhat</li>
</ol>
<h3>This is the demonstration of ordered list where the list items starts with
4</h3>
<ol start="4" style=" color: white; font-size: 20px;">
<li>Dhaka Division</li>
<li>Rajshahi Division</li>
<li>Khulna Division</li>
<li>Chittagong Division</li>
<li>Sylhet Division</li>
<li>Barishal Division</li>
<li>Rangpur Division</li>
<li>Mymensingh Division</li>
</ol>
<br><br><br><br>
<h2 style="color: white; text-align: center;"> TASK 2 </h2>
<h3 style="color: white; text-align: center;">Definition List</h3>
<h3 style="font-size: 20px;">This is the demonstration of definition
List</h3>
<dl style=" color: white; font-size: 20px;">
<dt>AP</dt>
<dd>Dhaka</dd>
<dt>KA</dt>
<dd>Khulna</dd>
<dt>TS</dt>
<dd>Chittagong</dd>
<dt>UP</dt>
<dd>Cox's Bazar</dd>
<dt>RP</dt>
<dd>Rangpur</dd>
</dl>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<h2 style="color: white; text-align: center;"> TASK 3 </h2>
<h3 style="color: white; text-align: center;"> HTML & CSS responsive
table</h3>
<br><br><br><br>
<table border="2" cellpadding="20" style="margin: auto; width: 80%;
border-collapse: collapse; background: white;">
<tr style="background: green; color: white; font-size: 18px;">
<th> Name </th>
<th>Salary</th>
<th>Code</th>
</tr>
<tr style="text-align: right; color: red; font-size: 20px;">
<td>ABC</td>
<td>200</td>
<td>P1</td>
</tr>
<tr style="text-align: right; color: red; font-size: 20px;">
<td>XYZ</td>
<td>700</td>
<td>P2</td>
</tr>
<tr style="text-align: right; color: red; font-size: 20px;">
<td colspan ="3">Total:900</td>
</tr>
</table>
</body>
</html>