Jump to content

links

- - - - -

  • Please log in to reply
7 replies to this topic

#1
dcord

dcord

    Newbie

  • Members
  • PipPip
  • 25 posts
ok this is going to sound weird but I cant seem to link my pages together
here is what I have
<!DOCTYPE html

PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN "

" [URL]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/URL] ">

 

<html xmlns="[url=http://www.w3.org/1999/xhtml]XHTML namespace[/url]" xml:lang="en " lang="en ">

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

<title>WS201</title>

<style type="text/css"> 

<!--

body    {background-color: transparent;

     color: black}

h1,h2,h,h3,p  {text-align: left}

 

a     {color: black}

 

-->

</style>

</head>

 

<body background="horse.jpg">

<h2>| <a href="index.html">Home</a> | <a href="ws201.html">WS201</a> | <a href="pj202">PJ202</a> | <a href="pd203">PD203</a> | <a href="pm202">PM202</a> |</h2>

 

<h1>Welcome to Daniel Cordaro's Homework Page for WS201</h1>

<p>This page is designed to allow you to check my blood,sweat and tears.</p>

<h3>| <a href="ws201-Chapter2.html">Chapter2</a> | <a href="ws201-chapter3.html">Chapter3</a> | <a href="ws201-chapter4">Chapter4</a> |</h3>

<p>

    <a href="[url=http://validator.w3.org/check?uri=referer"><img]Validation Results - W3C Markup Validator[/url]

        src="[URL]http://www.w3.org/Icons/valid-xhtml10[/URL]"

        alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>

  </p>

  

 

</body>

</html>

Linked page is


<!DOCTYPE html

PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN "

" [URL]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/URL] ">

 

<html xmlns="[url=http://www.w3.org/1999/xhtml]XHTML namespace[/url]" xml:lang="en " lang="en ">

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

<title>WS201-chapter2</title>

<style type="text/css"> 

<!--

body    {background-color: transparent;

     color: black}

h1,h2,h3,p  {text-align: left}

 

a     {color: black}

ul     {list-style-type: decimal}

-->

</style>

</head>

 

<body background="horse.jpg">

<h3>| <a href="index.html">Home</a> | <a href="ws201.html">WS201</a> | <a href="pj202">PJ202</a> | <a href="pd203">PD203</a> | <a href="pm202">PM202</a> |</h3>

<h3> WS201: | <a href="chapter2.html">Chapter2</a> | <a href="ws201-chapter3.html">Chapter3 </a> | <a href="ws201-chapter4">Chapter 4</a> | </h3>

 

<h1>Chapter 2</h1>

<h2>Homework:</h2>

<ul>

 <li><a href="worldhunger.html">In chapter assignment</a></li>

 <li><a href="apply2-1 solution.html">Apply Your Knowledge</a></li>

 <li><a href="Chapter 02-1solution EYK.html">Extend Your Knowledge</a></li>

 <li><a href="Chapter 02-1solution MIR.html">Make It Right</a></li>

 <li><a href="ITL 2-1 solution.html">Lab 1</a></li>

 <li><a href="ITL 2-1 additional.html">Lab 1</a></li>

 <li><a href="ITL2-2solution.DOCX">Lab 2</a></li>

 <li><a href="ITL2-3Solution.html">Lab 3</a></li>

 <li><a href="case2-1solution.html">Case 1</a></li>

 <li><a href="chap2 CandP 2-2.html">Case 2</a></li>

 <li><a href="chap2 CandP4.html">Case 4</a></li>

 <li><a href="case2-5solution.html">Case 5</a></li>

 

</ul>

<p>

    <a href="[url=http://jigsaw.w3.org/css-validator/check/referer]W3C CSS Validator results for http://jigsaw.w3.org/ (CSS level 2.1)[/url]">

        <img style="border:0;width:88px;height:31px"

            src="[URL]http://jigsaw.w3.org/css-validator/images/vcss[/URL]"

            alt="Valid CSS!" />

    </a>

</p>

            

</body>

</html> 
so can anyone tell me why these two pages won't link together? help please it's for an assignment that is over due

Edited by John, 17 October 2010 - 03:35 PM.


#2
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
  • Location:New York, NY
Since we have no idea what your file names are, or what links aren't working, it will be pretty difficult for us to help. Also please use HTML, CODE and PHP tags to highlight your code where appropriated.

#3
dcord

dcord

    Newbie

  • Members
  • PipPip
  • 25 posts
ok so I am very confused. I cant find a thing wrong with this code the files are correct the code is correct but they wont link together
home page works WS201 works but chapter2 wont. if you can , go here and see if you dont see something in the source code that I am missing.

thanks
Daniel Cordaro's landing page

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
Note on chapter two URL you capitalize the first "WS" in "ws201". The uncapitalized version works:
http://srv13.fountai...1-Chapter2.html

Please make sure you check for spelling mistakes before assuming it just does not work!
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#5
PETTE

PETTE

    Learning Programmer

  • Members
  • PipPipPip
  • 50 posts
Are the files in the same directory? What kind of error do you get when you click on the link? What host/server is it? Apache? Why don't you try to enter the full url first. I experience very simple problems like these all the time, but as the above poster it would be better to get an idea of the file hierarchies/names.

#6
ethikz

ethikz

    Programmer

  • Members
  • PipPipPipPip
  • 112 posts
well I clicked on ws201 and it took me to the Chapter 2 page, from there I couldn't navigate to chapter 3 or 4..after looking at the code it is either spelled differently than what the file on the server is spelled for chapter 3...chapter 4 has no file type designation..


<a href="ws201-chapter3.html">Chapter3 </a> | <a href="ws201-chapter4">Chapter 4</a> | </h3>


looking in chapter 2 area for source code you are again missing file type designations
<li><a href="ITL2-2solution">Lab 2</a></li>

okay now looking at the main page of your "landing area" once again you're missing file type designations
<a href="pj202">PJ202</a> | <a href="pd203">PD203</a>

your coding is very ummm lacking detail..missing a lot of file types, spelling errors possibly

you should really look at your code some more and make sure nothing is mispelled like nullw0rm said and also check to make sure the files are uploaded to the server

#7
dcord

dcord

    Newbie

  • Members
  • PipPip
  • 25 posts
Thank you all for your replies and help.
As you can probably assume by now I have fixed the problem and know a lot more about this than I did when I posted. the designation issues seems to have been a large problem. When I forget the .html" it's not going anywhere. LOL. As I continue learning I am finding it benficial to make sure and spell correct and use the upper and lowercase letters. Also to be very thorough in file structure and placement. Need to be very organized.
thanks again and I shall return Hahahaha

#8
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
Misspellings are likely the largest cause of bugs or errors in nearly every language, it will get easier to spot them when you go a long, try to visualize what is doing what and where it is supposed to go and problems will become clearer. :)
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users