Matthew Carter
New member
I'm just beginning HTML and CSS design, and i'm trying to make a link to another webpage from my HTML document. I've used links before, and they've worked fine, but in this one, it doesn't want to work. Here's what happens
1) This is the code i put in...
---------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>According To Dave</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<a href=url"http://www.facebook.com/pages/According-To-Dave/165915036779769">Our Facebook Page</a>
<h1 id="accordingtodave"><u>According To Dave</u></h1>
</body>
</html>
----------------------------------------------------------------------------------------------
2) i load up my page, and when i click on the link, it says that 'This Web Page Is Not Found' along with the address of the URL, but the link isn't the one i coded, it's got a load of stuff from my computer before the address:
No web page was found for the web address: file:///C:/Users/Sony%20UK/Desktop/HTML/url%22http://www.facebook.com/pages/According-To-Dave/165915036779769%22
how do i stop it from going through my computer and just looking for the URL through the internet?
when i get rid of the "url" after "href=" the entire paragraph of text disapears when i open it up in a browser?
-----------------------------------------------------------------------------------------
<ul>
<li><a href="http://http://www.facebook.com/profile.php?id=100001319054186>Matthew Carter</a>,
a new and upcoming <br/> guitarist/songwriter who writes the majority <br/> of the bands songs. Knowing his scales
and <br/> chords well, Matt is known as the theory geek <br/> of the band.
-----------------------------------------------------------------------------------------------------
<ul>
<li><a href="http://http://www.facebook.com/profile.php?id=100001319054186>Matthew Carter</a>,
a new and upcoming <br/> guitarist/songwriter who writes the majority <br/> of the bands songs. Knowing his scales
and <br/> chords well, Matt is known as the theory geek <br/> of the band.
1) This is the code i put in...
---------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>According To Dave</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<a href=url"http://www.facebook.com/pages/According-To-Dave/165915036779769">Our Facebook Page</a>
<h1 id="accordingtodave"><u>According To Dave</u></h1>
</body>
</html>
----------------------------------------------------------------------------------------------
2) i load up my page, and when i click on the link, it says that 'This Web Page Is Not Found' along with the address of the URL, but the link isn't the one i coded, it's got a load of stuff from my computer before the address:
No web page was found for the web address: file:///C:/Users/Sony%20UK/Desktop/HTML/url%22http://www.facebook.com/pages/According-To-Dave/165915036779769%22
how do i stop it from going through my computer and just looking for the URL through the internet?
when i get rid of the "url" after "href=" the entire paragraph of text disapears when i open it up in a browser?
-----------------------------------------------------------------------------------------
<ul>
<li><a href="http://http://www.facebook.com/profile.php?id=100001319054186>Matthew Carter</a>,
a new and upcoming <br/> guitarist/songwriter who writes the majority <br/> of the bands songs. Knowing his scales
and <br/> chords well, Matt is known as the theory geek <br/> of the band.
-----------------------------------------------------------------------------------------------------
<ul>
<li><a href="http://http://www.facebook.com/profile.php?id=100001319054186>Matthew Carter</a>,
a new and upcoming <br/> guitarist/songwriter who writes the majority <br/> of the bands songs. Knowing his scales
and <br/> chords well, Matt is known as the theory geek <br/> of the band.