Html - links and Anchors


Html-Anchors

To link to sections of your existing page a name must be given to the anchor.

First, the headings of this page contain blank, named anchors. They look like this.

HTML Code:

<h2>HTML Links and Anchors<a name="top"></a></h2>

<h2>HTML Text Links<a name="text"></a></h2>

<h2>HTML Email<a name="email"></a></h2>

Now create the reference links, placing the pound(#) symbol followed by the name of the anchor in the href of the new link.

Anchor Code:

<a href="#top">Go to the Top</a>

<a href="#text">Learn about Text Links</a>

<a href="#email">Learn about Email Links</a>

Html - email links

Creating an email link is simple. If you want somebody to mail you about your site a good way to do it is place an email link with a subject already in place for them.

HTML Code:
<a href="mailto:email@jakir.com?subject=Feedback" >Email@jakir.com</a>
Email Links:
email@jakir.com

In some circumstances it may be necessary to fill in the body of the Email for the user as well.

HTML Code:

<a href="mailto:email@Jakir.com?subject=Feedback&body=Good Artical!">
Email@Jakir.com</a>

Complete Email:
Email@Jakir.com



Thanks,

Jak

Comments

Popular posts from this blog

Understanding Top line and Bottom line?

How to activate PF UAN account

Scrum Master vs Product Owner