Reputation: 3478
I am writing a HTML page and my requirements are as follows:
HTML Page contains some email ID's and when clicked on those EmailID's... it should open new page of the outlook.
Page has certains sections and when clicked on that.. it should reach out to the respected paragraph/section. Ex: click to Link to go to the .... section
Thanks in advance...
Upvotes: 3
Views: 2051
Reputation: 5479
Linking to sections:
<a href="#sectionId">Go to X</a>
<h2 id="sectionId">X</h2>
This way you can link to anything that has an ID, be it a header, a paragraph, a DIV or anything else.
Upvotes: 1
Reputation: 382861
This should do it:
<a href="mailto:[email protected]">Email</a>
This should open the new window on your email client (outlook or whatever you have set).
Upvotes: 0
Reputation: 712
Try looking at tag (Anchor). You'll get what you need... mailto will suffice your e-mail needs and hash tags will solve the second one.
Upvotes: 0
Reputation: 176956
For email address link
<a href="mailto:youremailaddress">Email Me</a>
fore link navigation
http://www.w3schools.com/html/html_links.asp
more about navigation with in page : http://www.yourhtmlsource.com/text/internallinks.html
Upvotes: 2