我有一个简单的网页,比如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但是,当我单击链接时,会显示webpage not available错误。
如果您能给我一个提示,说明我没有遵守适当的HTML语法,我将非常感激。
发布于 2015-04-03 23:17:33
href属性中的URL必须编码,因为它不能有空格字符。您可以用%20替换空格。
发布于 2015-04-03 23:16:54
href属性中的URL无效。你不能在URL中有空格。我建议将您的文件重命名为:this-is-my-new-file-name.html。
发布于 2015-04-03 23:19:40
根据您的目录结构: :
- 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>有些服务器可能与空格混淆:)
https://stackoverflow.com/questions/29440907
复制相似问题