This is a discussion on "Very basic Links question" within the Web Page Design section. This forum, and the thread "Very basic Links question are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Very basic Links question
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Very basic Links question
I want to put links within a list. I've come up with the following but it doesn't appear to work:
<ul> <li><a href="biography.html>Biography</a></li> <li><a href="gallery.html">Gallery</a></li> </ul> Help Sorry - trying to find my way in using HTML, instead of WYSIWYG packages. Thanks. |
|
|
|
||||
|
Re: Very basic Links question
Looks ok to me, what isn't working exactly? You may just need to add the full URL. Although you should add a title="" to the links as well. Although <li><a href="biography.html>Biography</a></li> is missing a closing quote mark on the link. That would botch things up a bit.
<ul> <li><a href="http://www.foo.com/foo.html" title="This is foo!">Foo Foo!</a></li> </ul>
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
You're a star - thank you! Missing quote was the problem. I've not come across the title bit, will add it in. Ruby |
|
||||
|
Re: Very basic Links question
Its an accessibility thing.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: Very basic Links question
You really only need the title attribute if you are using the URL as the displayed text. The title tag is similiar to the ALT tag and describes the link.
Last edited by mreine; Sep 5th, 2006 at 23:20. |
![]() |
| Tags |
| basic, links, question |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A couple of basic question- please. | dhall | Starting Out | 7 | Aug 17th, 2007 18:41 |
| Basic JS question | klonopin | JavaScript Forum | 1 | Mar 15th, 2007 00:31 |
| basic form question | antonyx | Classic ASP | 1 | Aug 30th, 2006 14:18 |
| Probably very basic CSS question | JonRouston | Web Page Design | 3 | May 18th, 2006 12:08 |
| Basic XML question | fogofogo | Other Programming Languages | 2 | Nov 23rd, 2005 08:58 |