Code Monkey home page Code Monkey logo

slot's Introduction

Ex03 Time Table

Date:31.10.2023

AIM

To write a html webpage page to display your slot timetable.

ALGORITHM

STEP 1

Create a Django-admin Interface.

STEP 2

Create a static folder and inert HTML code.

STEP 3

Create a simple table using <table> tag in html.

STEP 4

Add header row using <th> tag.

STEP 5

Add your timetable using <td> tag.

STEP 6

Execute the program using runserver command.

PROGRAM

   <title>title</title>
       <body>
        <center>
            <img src="/static/logo.png" height="100" width="540" >
          <table border="6" cellspacing="4" cellpadding="4">
              <caption>MY TIME TABLE</caption>

                  <tr>
                    <th bgcolor="sky blue" align="center">day/time</th>
                    <th bgcolor="sky blue" align="center">8:9 am</th>
                    <th bgcolor="sky blue" align="center">9:10 am</th>
                    <th bgcolor="sky blue" align="center">10:11 am</th>
                    <th bgcolor="sky blue" align="center">11:12 am</th>
                    <th bgcolor="sky blue" align="center">12:1 pm</th>
                    <th bgcolor="sky blue" align="center">1:2 pm</th>
                    <th bgcolor="sky blue" align="center">2:3 pm</th>
                    <th bgcolor="sky blue" align="center">3:4 pm</th>
                    <th bgcolor="sky blue" align="center">4:5 pm</th>
                 </tr>

                  <tr>
                    <th bgcolor="sky blue" align="center" bgcolor="orange">MONDAY</th>
                    <td colspan="2" align="center" bgcolor="orange">communicative english</td> 
                    <td colspan="2" align="center" bgcolor="orange">chemistry</td>
                    <td align="center" bgcolor="orange">LUNCH</td>
                    <th colspan="4" align="center" bgcolor="orange">free</th>                   
                    </tr>
                    <tr>
                     <th bgcolor="sky blue" align="center" >TUESDAY</th>
                     <td colspan="2" align="center" bgcolor="orange">communicative english</td>
                     <td colspan="2" align="center" bgcolor="orange">python</td>
                     <td align="center" bgcolor="orange">mentor meet</td>
                     <td colspan="2" align="center" bgcolor="orange">edm</td>
                     <th colspan="2" align="center" bgcolor="orange">free</th>
                     </tr>
 
                   <tr>
                     <th bgcolor="sky blue" align="center">WEDNESDAY</th>
                     <td colspan="2" align="center" bgcolor="orange">web application</td>
                     <th colspan="2" align="center" bgcolor="orange">free</th>                    
                     <td align="center" bgcolor="orange">LUNCH</td>
                     <th colspan="2" align="center" bgcolor="orange">free</th>                    
                     <td colspan="2" align="center" bgcolor="orange">python</td>                    
                  </tr>
 
                   <tr>
                     <th bgcolor="sky blue" align="center">THURSDAY</th>
                     <td colspan="2" align="center" bgcolor="orange">edm</td>
                     <td colspan="2" align="center" bgcolor="orange">web application</td>                    
                     <td align="center" bgcolor="orange">LUNCH</td>                    
                     <th colspan="2" align="center" bgcolor="orange">free</th>
                     <td colspan="2" align="center" bgcolor="orange">python</td>                                        
                  </tr>
                  <th bgcolor="sky blue" align="center">FRIDAY</th>
                  <td colspan="2" align="center" bgcolor="orange">python</td>            
                  <th align="center" colspan="2" bgcolor="orange">free</th>
                  <td align="center" bgcolor="orange">LUNCH</td>
                  <td colspan="2" align="center" bgcolor="orange">web application</td>                    
                  <td align="center" colspan="2" bgcolor="orange">chemistry</td>
                  
               </tr>

        </table>
        <table border="4" cellspacing="4" cellpadding="4">

<caption>SUBJECT AND THEIR RESPECTIVE SUBJECT CODES </caption>
                   <tr>
                  <th align="center" bgcolor="blue">S.NO</th>
                  <th align="center" bgcolor="blue">Subject Code</th>
                  <th align="center" bgcolor="blue">Subject Name</th>
                  </tr>

                   <tr>
                  <td align="center" bgcolor="blue">1.</td>
                  <td align="center" bgcolor="yellow">19AI414</td>
                  <td align="center" bgcolor="gold">Fundamentals Of Web Application Development (web application)</td>
                  </tr>

                   <tr>
                  <th align="center" bgcolor="blue">2.</th>
                  <td align="center" bgcolor="yellow">19AI301</th>
                  <td align="center" bgcolor="gold">Python Programming (python)</th>
                  </tr>

                  <tr>
                     <th align="center" bgcolor="blue">3.</th>
                     <td align="center" bgcolor="yellow">19CS305</th>
                     <td align="center" bgcolor="gold">Computer Architecture</th>
                     </tr>
 
                      <tr>
                     <th align="center" bgcolor=" blue">4.</th>
                     <td align="center" bgcolor="yellow">19EY701</th>
                     <td align="center" bgcolor="gold"> Soft Skills </th>
                     </tr>
 
                      <tr>
                     <th align="center" bgcolor="blue">5.</th>
                     <td align="center" bgcolor="yellow">19MA222</th>
                     <td align="center" bgcolor="gold">Probablity And Queing Models (Maths)</th>
                     </tr>
 
                      <tr>
                     <th align="center" bgcolor="blue">6.</th>
                     <td align="center" bgcolor="yellow">19PH214</th>
                     <td align="center" bgcolor="gold">Physics For Qantum Computing (physics)</th>
                     </tr>
 
           </table>    
       </body>
 </html>


OUTPUT

Alt text

RESULT

The program for creating slot timetable using basic HTML tags is executed successfully.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.