Linking all the entries in a list

V

Vivek

Hi,

Is it possible to link all the entries in a list to different html
pages.
For example,

Food
Fruit
Apple
Grapes
Banana
Vegetable

In the above list, I can link "Apple " to a html file by using "A
ref". But, if I do the same for "Fruit", the link disappears.
Is something like this is possible or not?

Thnaks,
Vivek
 
E

Ed Mullen

Vivek said:
Hi,

Is it possible to link all the entries in a list to different html
pages.
For example,

Food
Fruit
Apple
Grapes
Banana
Vegetable

In the above list, I can link "Apple " to a html file by using "A
ref". But, if I do the same for "Fruit", the link disappears.
Is something like this is possible or not?

Thnaks,
Vivek

It is certainly possible and very straightforward. Post a link to the
page so we can see the code.

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
If man evolved from apes why do we still have apes?
 
V

Vivek

It is certainly possible and very straightforward. Post a link to the
page so we can see the code.

I have copied the code below.
I want to link the "Memory" to a html page and also it should continue
to be a list. The moment I enter " <A href = "index.html"> Memory </
a>" the Memory text disappears.

CODE --

<body>

<ul id="2" class="none">
&nbsp;<br>
&nbsp;
<li><font face="Arial" color="#0074C1">
<span style="font-size: 11pt; font-weight: 700"><a
href="product_new.html">Products</a></span></font></li>
<li>
<span style="font-size: 8pt; font-weight: 700">&nbsp;&nbsp;Memory</
a></span>
<ul id="2" class="none">
<li><font face="Arial" color="#0074C1">
<span style="font-size: 8pt; font-weight: 700">&nbsp;&nbsp;TSMC</
span></font>
<ul class="none">
<li><font face="Arial" color="#0074C1">
<span style="font-size: 8pt; font-weight: 700">&nbsp;&nbsp;
45</a></span></font>
<ul class="none">
<li><font face="Arial" color="#0074C1">
<span style="font-size: 8pt; font-weight:
700">&nbsp;&nbsp;GS</a></span></font>
<ul class="none">
<li><font face="Arial" color="#0074C1">
<span style="font-size: 8pt; font-weight:
700">&nbsp;&nbsp;<a href="TSMC_Memory_45nm_SRAM.html">SRAM </a></
span></font>
</li>
<li><font face="Arial" color="#0074C1">
<span style="font-size: 8pt; font-weight:
700">&nbsp;<a href="TSMC_Memory_45nm_ULL.html">&nbsp;Ultra Low
Leakage</a></span></font>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</body>
 
J

John Hosking

[Ed Mullen's sig snipped for Vivek]
I have copied the code below.

Ed asked for a link to your page, that is, a URL. Nobody wants to see
pasted in code.
I want to link the "Memory" to a html page and also it should continue
to be a list. The moment I enter " <A href = "index.html"> Memory </
a>" the Memory text disappears.

CODE --
[mostly snipped, but...]
<body>

<ul id="2" class="none">
&nbsp;<br>
&nbsp;
<li><font face="Arial" color="#0074C1">
<span style="font-size: 11pt; font-weight: 700"><a
href="product_new.html">Products</a></span></font></li>
<li>
<span style="font-size: 8pt; font-weight: 700">&nbsp;&nbsp;Memory</
a></span>

Even ignoring all the styling spans and &nbsp;-spacing, your code is
faulty. You have link-closing tags without matching link-opening tags.

Based on your original example, I have worked up some code for you.
Replace the foods with memory cards and (after validating) try that.

<ul>
<li><a href="">Food</a></li>
<li>
<ul>
<li><a href="">Fruit</a></li>
<li>
<ul>
<li><a href="">Apple</a></li>
<li><a href="">Grapes</a></li>
<li><a href="">Banana</a></li>
</ul>
</li>
</ul>
</li>
</ul>

GL.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top