To write a html webpage page to display your slot timetable.
Create a Django-admin Interface.
Create a static folder and inert HTML code.
Create a simple table using <table>
tag in html.
Add header row using <th>
tag.
Add your timetable using <td>
tag.
Execute the program using runserver command.
'''
<html>
<head>
<title> Slot timing</title>
</head>
<body>
<center><img src="/static/logo.png" height="300" width="800"></body></html></center>
<center><h1>TIME TABLE</h1></center>
<br>
<table bgcolor="black"
border="20"
align="center">
<tr
bgcolor="white"
cellspace="10">
<TH>DAY/TIME</TH>
<th>MONDAY</th>
<TH>TUESDAY</TH>
<TH>WEDNESDAY</TH>
<TH>THURSDAY</TH>
<TH>FRIDAY</TH>
<TH>SATUARDAY</TH>
</tr>
<tr
bgcolor="white"
cellspace="10">
<TH>8-10</TH>
<th>FWAD</th>
<TH>COMMUNICATIVE ENGLISH</TH>
<TH>CHEMISTRY</TH>
<TH>FREE SLOT</TH>
<TH> FREE SLOT</TH>
<TH>CREATIVE SKILL</TH>
</tr>
<tr
bgcolor="white"
cellspace="10">
<TH>10-12</TH>
<th>EBD</th>
<TH>PYTHON</TH>
<TH>PROBABILITY</TH>
<TH>ROBOTICS</TH>
<TH>FREE SLOT</TH>
<TH>COMMUNICATIVE ENGLISH</TH>
</tr>
<tr
bgcolor="white"
cellspace="10">
<TH>12-1</TH>
<th>LUNCH</th>
<th>LUNCH</th>
<th>LUNCH</th>
<th>LUNCH</th>
<th>LUNCH</th>
<th>LUNCH</th>
</tr>
<tr
bgcolor="white"
cellspace="10">
<TH>1-3</TH>
<th>ROBOTICS</th>
<TH>CHEMISTRY</TH>
<TH>PYTHON</TH>
<TH>FWAD</TH>
<TH>FWAD</TH>
<TH>PROBABILITY</TH>
</tr>
<tr
bgcolor="white"
cellspace="10">
<TH>3-5</TH>
<th>FREE SLOT</th>
<TH>FREE SLOT</TH>
<TH>FREE SLOT</TH>
<TH>EBD</TH>
<TH>FREE SLOT</TH>
<TH>FREE SLOT</TH>
</tr>
</table>
<center><h1>SUBJECTS</h1></center>
<table bgcolor="cyan"
border="10"
align="center">
<tr
bgcolor="white"
cellspace="10">
<th>S.NO</th>
<TH>SUBJECT CODE</TH>
<TH>SUBJECT NAME</TH>
</tr>
<tr
bgcolor="white"
cellspace="10">
<td>1</td>
<td>19AI414</td>
<td>FUNDAMENTALS OF WEB APPLICATION</td>
</tr>
<tr
bgcolor="white"
cellspace="10">
<td>2</td>
<td>19EN101</td>
<td>COMMUNICATIVE ENGLSH</td>
</tr>
<tr
bgcolor="white"
cellspace="10">
<td>3</td>
<td>19AI533</td>
<Td>INTRODUCTION TO ROBOTICS</Td>
</tr>
<tr
bgcolor="white"
cellspace="10">
<td>4</td>
<td>19CY205</Td>
<td>PRINCIPLES OF CHEMISTRY IN ENGINEERING</td>
</tr>
<tr
bgcolor="white"
cellspace="10">
<td>5</td>
<td>19MA222</td>
<td>PROBALITY AND QUEING MODELS</td>
</tr>
<tr
bgcolor="white"
cellspace="10">
<td>6</td>
<td>19CS542</td>
<td>EMBEDDED BOARD DESIGN</td>
</tr>
<tr
bgcolor="white"
cellspace="10">
<td>7</td>
<td>19EY702</td>
<td>CREATIVE SKILL</td>
</tr>
<tr
bgcolor="white"
cellspace="10">
<td>8</td>
<td>19AI301</td>
<td>PYTHON</td>
</tr>
</table>
</body>
</html>
The program for creating slot timetable using basic HTML tags is executed successfully.