Menu ▼

Previous Next

a (Anchor) :

the Anchor (a) tag will be used to give hyperlinks to other pages, it can be with in the web site or an external page.

Syntax :

<a href="location here...."></a>

Example :



    <title>HTML Tutorial</title>





        <a href="a.aspx">Click here to load the same page</a><br />

        <a href="/">Click here to go to home page of this web site</a><br />

        <a href="select.aspx">Click here to go to select page</a><br />

        <a href="" target="_blank">Click here to open google in new window</a>





Previous Next