更正到主文件的HTML子文件夹链接

更正到主文件的HTML子文件夹链接,html,syntax,structure,Html,Syntax,Structure,我正在创建我的第一个网站,我遇到了一个问题。这是我文件夹中的文件结构 Info.html Blog.html Testimonials.html Contact.html blog (folder) ---> blog-post.html (is inside blog folder) 该网站在所有主页上都有相同的导航,但博客文件夹中的子页面只能访问博客文件夹中的其他文件。这使得我无法将Mywebsite.com/blog/blog post.html链接回信息页面,因为它不在“

我正在创建我的第一个网站,我遇到了一个问题。这是我文件夹中的文件结构

 Info.html
 Blog.html
 Testimonials.html
 Contact.html
blog (folder)
---> blog-post.html (is inside blog folder)
该网站在所有主页上都有相同的导航,但博客文件夹中的子页面只能访问博客文件夹中的其他文件。这使得我无法将
Mywebsite.com/blog/blog post.html
链接回信息页面,因为它不在“blog”中,因为它希望链接来自blog文件夹

我的问题是,如何将博客文章保存在子文件夹中,并且仍然允许博客文章包含指向不在博客文件夹中的页面的链接

现在,我正在构建我的导航:

<nav><ul style="list-style-type:none">
     <li><a href="Info.html">Info</a></li>
</nav>
我想避免重复内容,但我也希望在URL中有博客/博客文章

我是否应该使用某个语法或属性来解决我的问题,或者我是否在构建网站文件时犯了错误?

使用此“/”来指代根文件夹

像这样

<nav><ul style="list-style-type:none">
     <li><a href="/Info.html">Info</a></li>
</nav>