38 users online (2 members and 36 guests)  


  Results 1 to 2 of 2

Related

  1. Creating Pages in HTML    Forum: HTML Forum
    Replies: 1
  2. CGI only accessed by certain HTML pages??    Forum: CGI Perl Forum
    Replies: 1
  3. HTML For Links    Forum: HTML Forum
    Replies: 1
  4. generating Html pages and HREF    Forum: CGI Perl Forum
    Replies: 8
  1. #1
    antihero's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2007
    Posts
    1

    links to html pages do not work

    this is my html page

    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <!--The above line tells the browser what type of html to use.-->
    
    <html>
    
        <head>
            <title>Toronto Maple Leaf Fan Site</title>
            <link rel="stylesheet" href="mystyle.css" type="text/css" />
    
    
    
        </head>
    
        <body>
    
            <!-- THIS DIV TAG IS RESPONSIBLE FOR LAYOUT, DON'T REMOVE IT UNLESS YOU WANT YOUR LAYOUT TO ME MESSED UP.-->
            <div class="container">
    
    
    
    
    
                <div class="header">
                    
                    Toronto Maple Leafs
                </div>
    
                <div class="links">
                    Links to other sections of my site:<br><br>
    
                    <a HREF="index.html";> Homepage</a><br>
                    <a href="company.html"> Link to 2nd part</a><br>
                    <a href="fantasy.html"> Link 3rd part</a><br><br>
                    Below are a few useful sites regarding the Toronto Maple Leafs:<br><br>
    
                    <a href="http://www.mapleleafs.com">Toronto Maple Leaf's Official site</a><br>
                    <a href="http://www.tsn.ca"> TSN website</a><br>
                    <a href="http://www.sportsnet.ca/hockey/index.jsp">Sportsnet's Hockey Section</a><br>
    
                </div>
    
    
                <div class="maintext">
                    <!-- EDIT THIS SECTION. Code between <div id="maintext"> and </div> will go in the main part of the page-->
                    
                    <h1>Heading 1 in the main section of this page.......</h1>
    
                    <p>This is some paragraph text in the main section of the page.</p>
    
                    <p>This is some paragraph text in the main section of the page.</p>
                    <body background="blue">
                </div>
    
    
    
    
    
    
    
    
                <!-- THIS DIV TAG IS RESPONSIBLE FOR LAYOUT, DON'T REMOVE IT UNLESS YOU WANT YOUR LAYOUT TO ME MESSED UP.-->
                <div class="footer"></div>
            </div>
        </body>
    </html>
    just wonderinf ig anyone could tell me why

    <a HREF="index.html";> Homepage</a><br>
    <a href="company.html"> Link to 2nd part</a><br>
    <a href="fantasy.html"> Link 3rd part</a><br><br>

    dont work, they dont go to the requested page

    thanks,
    William.

  2. #2
    vinyl-junkie's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    721

    Re: links to html pages do not work

    Remove the semi-colon in this statement:

    Code:
    <a HREF="index.html";> Homepage</a><br>
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more



Tags for this Thread