Name anchor link or some specific section link from an other html file.

Q. I have one index.html page in my  website  and I want to link an other html with some specific section, i.e services.html or name anchor tag call from other html page.
A.  you can use anchor name or div id=”services” use  an other html file. see example below:
For one page website or project i.e “index.html”:

 <a name=”services”></a>

or

<div id=”services”>

For an other  external html page i.e “services.thml” :
 <nav> 

<ul> 

<li><a href="index.html">HOME</a></li> 

<li><a href="index.html#services">ABOUT</a></li> 

<li><a href="#section2">APARTMENTS</a></li> 

<li><a href="index.html#section3">LANDLORDS</a></li> 

<li><a href="contact-us.html">CONTACT</a></li> 

</ul> 

</nav>

2 thoughts on “Linking to an other Page’s with name anchor or link from external html page”

  1. Excellent post. Keep writing such kind of information on your site.

    Im really impressed by it.
    Hello there, You’ve done a great job. I will certainly digg it and individually suggest
    to my friends. I am sure they’ll be benefited from
    this site.

Leave a Reply

Your email address will not be published. Required fields are marked *

*