HTML:无法 link 页

HTML: Unable to link pages

我有一个简单的网页说,index.html 这种锚标签一遍又一遍地出现。

<a href="Systems, communication and control laboratory/Amplitude Modulation and Demodulation (Real time experiment)/Amplitude Modulation and Demodulation (Real time experiment) (Introduction).html">
     Amplitude Modulation and Demodulation (Real time experiment)
</a>
<a href="Speech Signal Processing Laboratory/Non-Stationary Nature of Speech Signal/Non-Stationary Nature of Speech Signal (Aim).html">
     Non-Stationary Nature of Speech Signal
</a>


我有这个目录结构。

+-- index.html
+-- Systems, communication and control laboratory
    +-- BPSK Modulation and Demodulation(Real time experiment)
        +-- BPSK Modulation and Demodulation(Real time experiment) (Introduction).html
+-- Speech Signal Processing Laboratory
    +-- Non-Stationary Nature of Speech Signal
        +-- Non-Stationary Nature of Speech Signal (Aim).html

但是当我点击link时,显示webpage not available错误。

如果你能给我一个提示,我将不胜感激,因为 what/where 我没有遵守正确的 HTML 语法。

您的 href 属性中的网址无效。网址中不能有空格。我建议将您的文件重命名为:this-is-my-new-file-name.html.

href 属性中的 URL 必须进行编码,因为它不能包含 space 个字符。您可以将 space 替换为 %20

根据你的目录结构:

- index.html
+-- Systems, communication and control laboratory
    +-- BPSK Modulation and Demodulation(Real time experiment)
        +-- BPSK Modulation and Demodulation(Real time experiment) (Introduction).html
+-- Speech Signal Processing Laboratory
    +-- Non-Stationary Nature of Speech Signal
        +-- Non-Stationary Nature of Speech Signal (Aim).html

这可能是工作:

<a href="Systems, communication and control laboratory/BPSK Modulation and Demodulation(Real time experiment)/BPSK Modulation and Demodulation(Real time experiment) (Introduction).html">
     BPSK Modulation and Demodulation (Real time experiment)
</a>
<a href="Speech Signal Processing Laboratory/Non-Stationary Nature of Speech Signal/Non-Stationary Nature of Speech Signal (Aim).html">
     Non-Stationary Nature of Speech Signal
</a>

有些服务器可能会与空格混淆 :)