我有这个网站,主页和关于页面做了两个HTML页面。在主页上的导航我有href="about.html"这是文件的名字联系在一起的有关页面。然而关于页面还参股<section id="services">"足见其服务的信息。在导航菜单中有一个服务的按钮,需要链接到这个特定部分的有关网页。我会怎么做呢?我试过href="about.html/#services"但这并没有工作。
href="about.html"
<section id="services">"
href="about.html/#services"
你可能会需要使用href="about.html#services"(没有斜杠)。
href="about.html#services"