Reputation: 4826
I have a simple webpage say, index.html
with this kind of anchor tags appearing over and over.
<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>
I have this directory structure.
+-- 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
But when I click on link, webpage not available
error is shown.
I'll be thankful if you can give me a hint as what/where I am not obeying proper HTML syntax.
Upvotes: 0
Views: 100
Reputation: 10113
According to your directory structure :
- 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
This may be work :
<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>
some servers may be confuse with spaces :)
Upvotes: 0
Reputation:
The URL in the href
attribute must be encoded as it cannot have space characters. You can replace the spaces with %20
.
Upvotes: 3
Reputation: 52547
Your URLs in your href attributes are invalid. You can't have spaces in URLs. I suggest renaming your files to be something like: this-is-my-new-file-name.html
.
Upvotes: 1