Satyagopal Mandal
Department of Mathematics
University of Kansas
Office: 624 Snow Hall  Phone: 785-864-5180
  • e-mail: mandal@math.ku.edu
  • © Copy right Laws Apply. My Students have the permission to copy.

    Trivialities on Internet :
    Starting Your Home Page


    The basics about Internet and HTML will be trivial to you.
    Following are few simple steps to start your Home Page.

    Lesson 1: Starting Your Home Page

    You have to do the following:
    1. You have to create a directory named "htdocs", in your home-directory.
    2. Give the command: chmod 755 htdocs/
    3. Use any editor and inside the htdocs-directory create a file named "index.html" with following as a sample : <html> My Name : Satya Mandal </html>
    4. Now anybody visiting your site (which has URL: http://www.math.ku.edu/~username/) will see this index.html file.
    5. What will be seen on the screen you can guess or see by visiting it.
    6. The bottom line is, until you start doing anything fancy, whatever you write between <html> and </html> will be seen on the screen.

    Lesson 2: Creating Other Files (for example the syllabus)

    1. Any file should be named with an extension .html, like syllabus.html, math116.html. ( .htm extension will also be fine.)
    2. Again like the index-file above, the content of the file should be something like the following : <html> This is My Syllabus. </html>
    3. Give the command: chmod 755 syllabus.html
    4. The URL for this file will be http://www.math.ku.edu/~username/syllabus.html
    5. Anybody visiting this site will see the file. And you can guess what they will see on the screen.

    Lesson 3: Giving Links

    Now that You have created the syllabus, you may like to give a link to the syllabus from your home page (the index file.) You do the following:
    1. Write the fillowing line in the index-file: <a href="http://www.math.ku.edu/~username/syllabus.html"> Link to Syllabus </a>
    2. Now visit your home-page and see what happens.

    Lesson 4: Line breaks and New Paragraph

    1. To give a line break write <br>
    2. To start a new paragraph write <p>

    Lesson 4: Managing Font Size


    You Write the Code You See On the Screen
    <b> This is Bold Letters </b> This is Bold Letters
    <font size=-2> This font size is = -2 </font> This font size is = -2
    <font size=-1> This font size is = -1 </font> This font size is = -1
    This font size is default This font size is default
    <font size=+1> This font size is = 1 </font> This font size is = 1
    <font size=+2> This font size is = 2 </font> This font size is = 2
    <font size=+3> This font size is = 3 </font> This font size is = 3


    Lesson 5: Creating Tables


    You Write the Code You See the TABLE the Screen

    <table align=center border> <tr> <td>a11</td> <td>a12</td> <td>a13</td> </tr> <tr> <td>a21</td> <td>a22</td> <td>a23</td> </tr> <tr> <td>a31</td> <td>a32</td> <td>a33</td> </tr> <tr> <td>a41</td> <td>a42</td> <td>a43</td> </tr> </table>
    a11 a12 a13
    a21 a22 a23
    a31 a32 a33
    a41 a42 a43

    Perhaps, you have already realized that

    <tr> all that </tr> defines a row and <td> all that </td> defines a column inside a row.