Jump to content
xisto Community
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
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.