Jump to content
Xisto Corporation
Sign in to follow this  
apurva

A Href Question

Recommended Posts

Okay i've a question!I'm building a site a educational site.Now on my index page there's link for event conducted,under which there will be monthly events.Now the details of this monthly events is supposed to be in event.html file. this even.html file will contain detail of all months event whose link is on index.html.So how in the index.html should i link the event.html so that if july event is clicked it should directly take the user to july event in event.html and not to january event.Thanks in advance folks

Notice from truefusion:
Moved to the HTML, XML etc.. forum

Share this post


Link to post
Share on other sites

I think i understand what you're trying to do. You would have to use the name attribute for the anchor elements.

Example (for event.html):

<a name="July">July</a>

Then when a person clicks on July in the index.html:
<a href="event.html#July">July</a>

It would scroll to where the anchor with the name attribute that has the value of "July" is.

Share this post


Link to post
Share on other sites

Try looking for a website that could tell you about Html. So try looking for something on are top search engine Google. Tell me how that goes for you. <_<

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.