Zaloguj | Zarejestruj | FAQ
Anonymous

Link Trouble

+ Odpowiedz

Posty: 3 Strona 1 z 1


Link Trouble

przez Peter » Śr lip 27, 2011 7:25 pm

I'm stumped.

I've identified all of my headings in this document. When I had the internal links at the bottom of the page, they worked. Then when I moved them up to the top in order to create a quick reference link table, they stopped working....Is my coding wrong?

Here it is:

<html>

<head>
<title>Page 5 Links</title>
</head>

<body>

<h3><em>Quick Internal Links</em></h3>
<ul>
<li><a href=#"links">Link to Heading 1 (Links)</a>
<li><a href=#"pages">Links to other Pages</a>
<li><a href=#"emails">Links to E-Mails</a>
<li><a href=#"title">Link to a link with a Title</a>
</ul>

<h1 id="links">Links</h1>
<p><strong>This Strong Emphasis text is here to describe this page.<br />This page will show links to different pages.</strong></p>

<h2 id="pages">Links to pages that I have created prior to this page</h2>

<ol>
<li><a href="Page 1 - Basic Template.htm">Page 1 - Basic Template</a>
<li><a href="Page 2 - Elements.htm">Page 2 - Elements</a>
<li><a href="Page 3 - Lists.htm">Page 3 - Lists</a>
<li><a href="Page 4 - Color.htm">Page 4 - Color</a>
</ol>

<h2 id="emails">Link to E-Mail(s)</h2>

<ul>
<li><a href="mailto:pmuttenthaler@gmail.com">Peter: pmuttenthaler@gmail.com</a>
<li><a href="mailto:stylishrain@gmail.com">Tina: stylishrain@gmail.com</a>
</ul>

<h2 id="title">Link with a Title</h2>
<p>When you leave your mouse cursor over this link, its title will display.<br />
<a href="http://www.html.net/" title="Visit HTML.net amd learn HTML">HTML.net</a></p>



</body>

</html>
Avatar użytkownika

Peter

  • Posty: 11
  • Dołączył(a): Cz cze 23, 2011 7:14 pm

Re: Link Trouble

przez HTML.net » Cz lip 28, 2011 1:12 pm

You have # outside the quotation marks:

<a href=#"links">

Should be

<a href="#links">

- Andreas, HTML.net
Avatar użytkownika

HTML.net
Site Admin

  • Posty: 1194
  • Dołączył(a): So wrz 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: Link Trouble

przez Ben Norman » Wt sie 16, 2011 3:07 pm

You may have solved this but you seem to have forgotten to close the list items with </li>. It should work then.
Avatar użytkownika

Ben Norman

  • Posty: 4
  • Dołączył(a): Wt sie 16, 2011 2:42 pm
  • Lokalizacja: UK
--
Ben Norman - SEO Consultant


+ Odpowiedz

Strona 1 z 1