Login | Register | FAQ
Anonymous

Lesson 8: Link to heading on another page

+ Post a reply

4 posts Page 1 of 1


Lesson 8: Link to heading on another page

by goodfly » Wed Nov 02, 2011 1:50 pm

Hello,

I'm trying to create a link to a heading on another page. But somehow I'm not getting it.

Link on page1:
Code: Select all
<a href=".../page2.html/#heading5">go to heading5</a>


Heading5 on page2:
Code: Select all
<h1 id="heading5">Heading Five</h1>


How do I get it right?

Cheers,
goodfly
User avatar

goodfly

  • Posts: 82
  • Joined: Fri Nov 26, 2010 7:20 am

Re: Lesson 8: Link to heading on another page

by goodfly » Wed Nov 02, 2011 2:16 pm

Sorry, I have been searching for the answer in the web, but didn't find it. And just after I posted the above I found it. Here it goes..

Link on page1:
<a href=".../page2.html#heading5">go to heading5</a>



Heading5 on page2:
<h1><a name="heading5">Heading Five</a></h1>
User avatar

goodfly

  • Posts: 82
  • Joined: Fri Nov 26, 2010 7:20 am

Re: Lesson 8: Link to heading on another page

by atik » Wed Nov 02, 2011 3:09 pm

That sounds good. Just keep practicing more and learn more from the tutorials of the site. And if any further problem arises just share with us.
User avatar

atik

  • Posts: 472
  • Joined: Mon Oct 17, 2011 4:55 pm

Re: Lesson 8: Link to heading on another page

by akashtablet » Sat Feb 11, 2012 5:33 pm

(I have been searching for the answer in the web, but didn't find it. And just after I posted the above I found it.)

lolz questioning and answering by himself looks like a one man army:)
User avatar

akashtablet

  • Posts: 50
  • Joined: Fri Jan 27, 2012 8:24 pm
  • Location: India
--
The computing and fun with click for Micromax fun book


+ Post a reply

Page 1 of 1