【问题标题】:Path to home page not working, html主页路径不起作用,html
【发布时间】:2015-08-10 16:24:16
【问题描述】:

我应该如何安排我的 public_html 或修复代码,以便人们可以点击 HOME 广告返回主页,而无需我将每个 html 包含在与 index.html 相同的位置,即我的所有内页,如“评论” “新闻”“联系人”都在 index.html 中,我已经读到我应该将我的“评论”“新闻”“联系人”保留在每个文件夹中,但似乎我的代码不起作用,正确的代码应该是什么,这样我就不必将所有 .html 文件与 index.html 放在同一个地方?

【问题讨论】:

    标签: public-html


    【解决方案1】:

    尝试使用base html标签

    <html>
    <head>
    <base href="http://www.w3schools.com/images/" target="_blank">
    </head>
    
    <body>
    <img src="stickman.gif" width="24"height="39" alt="Stickman">
    <a href="http://www.w3schools.com">W3Schools</a>
    

    http://www.allsolution24.com.bd/webdesign/tutorial/tags/tag_base.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-03-28
      • 1970-01-01
      • 1970-01-01
      • 2013-07-06
      • 2020-11-23
      • 2017-03-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多