1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

HTML Confused....help please?

Discussion in 'Web Development' started by samigirl, Apr 1, 2008.

  1. samigirl

    samigirl New Member

    Hi all..I am in week three of my class and I am supposed to edit html and then post it to my webspace, now, I've done the actual home work but I can't seem to get it all together and upload it correctly to the server. I know I need the to use the index.html file, but how do I get it so my instructor can see it, and since the lessons build upon each other I would like to make the homepage so you can click tabs or links to get to each of my assignments for each week. I know it has to do something with the index file, but I can't figure it out....hope it makes since, if I need to post my code or something let me know =)



    Can anyone help? and I'd like some ideas for my site too...


    Thanks
     
  2. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    post your code so we can help
     
  3. samigirl

    samigirl New Member


    Hi here you go....

    *****************
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Samantha Daniels WebSpace</title>
    </head>

    <body>
    <table width="760" border="1" align="center" cellpadding="10" cellspacing="1">
    <tr align="center">
    <td colspan="2">Samantha Daniels WebSpace</td>
    </tr>
    <tr align="center">
    <!-- Replace folder1 and folder2 below with the names of your folders -->
    <td><a href="/Week1/Problem_fixed1.html">Click here to go to Problem_fixed1.html</a></td>
    <td><a href="Problem_fixed2.html">Click here to go to Problem_fixed2.html</a></td>
    </tr>

    </table>
    </body>
    </html>

    **********

    Thats the index.html file code, then I did my other projects and I put in the folder name so you can click it....week three of class I feel so far behind.
     
  4. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    First of all, you should not use Caps in our commands, file names, or directory names. Always keep them lower case so you never have to remember upper/lower and you stay with the new standards.

    Your typed code --------
    <!-- Replace folder1 and folder2 below with the names of your folders -->
    <td><a href="/Week1/Problem_fixed1.html">Click here to go to Problem_fixed1.html</a></td>
    <td><a href="Problem_fixed2.html">Click here to go to Problem_fixed2.html</a></td>
    </tr>

    If your files are uploaded and reside in the directory named "week1" then your code needs to look like below, since you are calling files from the same directory.

    <!-- Replace folder1 and folder2 below with the names of your folders -->
    <td><a href="problem_fixed1.html">Click here to go to Problem_fixed1.html</a></td>
    <td><a href="problem_fixed2.html">Click here to go to Problem_fixed2.html</a></td>
    </tr>

    You will need to have three files in your directory named:
    index.html
    problem_fixed1.html
    problem_fixed2.html

    Your "index.html" file is always your start file, in it, you have pointers to other files named "problem_fixed1.html" and "problem_fixed2.html" so when you click the link it opens that file.
    But you need a way to move around so,
    Both "fixed" files should also have your menu system in them so you can link back and forth like below;

    <html>
    <!-- Created on: 4/2/2008 -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Samantha Daniels WebSpace</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="author" content="Unregistered User">

    </head>
    <body>
    <table width="760" border="1" align="center" cellpadding="10" cellspacing="1">
    <tr align="center">
    <td colspan="2">Samantha Daniels WebSpace</td>
    </tr>
    <tr align="center">
    <!-- Replace folder1 and folder2 below with the names of your folders -->
    <td><a href="problem_fixed1.html">Click here to go to Problem_fixed1.html</a></td>
    <td><a href="problem_fixed2.html">Click here to go to Problem_fixed2.html</a></td>
    </tr>

    </table>
    <h2> Problem_fixed1 Page</h2>
    <p>Samantha Daniels - This is the first page that is fixed.</P>

    </body>
    </html>

    ****** page 2 below*******

    <html>
    <!-- Created on: 4/2/2008 -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Samantha Daniels WebSpace</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="author" content="Unregistered User">

    </head>
    <body>
    <table width="760" border="1" align="center" cellpadding="10" cellspacing="1">
    <tr align="center">
    <td colspan="2">Samantha Daniels WebSpace</td>
    </tr>
    <tr align="center">
    <!-- Replace folder1 and folder2 below with the names of your folders -->
    <td><a href="problem_fixed1.html">Click here to go to Problem_fixed1.html</a></td>
    <td><a href="problem_fixed2.html">Click here to go to Problem_fixed2.html</a></td>
    </tr>

    </table>
    <h2> Problem_fixed2 Page</h2>
    <p>Samantha Daniels - This is the second page that is fixed. See how it has changed.</P>

    </body>
    </html>

    I hope this helps. Keep up the good work, as it does get easier.
     
  5. samigirl

    samigirl New Member

    Ah sweet thanks, ishkey! I got it to work now!



    Thanks for you time and patience =)

    Sami