0

I can't add a hyperlink from one page to another. Can anyone help me?

Hey guys! So I created a page, and I want to add the links to other pages on this one. The text is hyperlinked and my browser seems to think it should be directed to: "filename.html" rather than filename.html and I think this is my problem. The code that I have added does so in the form of a table and appears like this: <table border="5"> <tr> <th>The rest of the blog</th> </tr> <tr> <td><a href=”2-MySkills.html” target =”_blank”>My Skills</a></td> </tr> <tr> <td><a href=”3-ALevels.html” target =”_blank”> A Levels</a></td> </tr> <tr> <td><a href=”4-ContactForm.html” target =”_blank”>Contact Form</a></td> </tr> <tr> <td><a href=”5-FollowMe.html” target =”_blank”>Follow Me</a></td> </tr> </table>

17th Sep 2018, 9:45 PM
Yusurf-Doctor Ahmed
Yusurf-Doctor Ahmed - avatar
6 odpowiedzi
+ 1
Those are Unicode / word processing double-quotes (commonly found on Macs and apps like Microsoft Office) and not ASCII double-quotes (used by code editors). Change them to ASCII double quotes ("). *********************** Technical (meta to answer) $ hexdump -C ”2-MySkills.html” target =”_blank” 00: e2 80 9d 32 2d 4d 79 53 6b 69 6c 6c 73 2e 68 74 |...2-MySkills.ht| 10: 6d 6c e2 80 9d 20 74 61 72 67 65 74 20 3d e2 80 |ml... target =..| 20: 9d 5f 62 6c 61 6e 6b e2 80 9d |._blank...| --> e2 80 9d : UTF-8 Unicode Right Double Quotation Mark $ hexdump -C "2-MySkills.html" target="_blank" 00: 22 32 2d 4d 79 53 6b 69 6c 6c 73 2e 68 74 6d 6c |"2-MySkills.html| 10: 22 20 74 61 72 67 65 74 3d 22 5f 62 6c 61 6e 6b |" target="_blank| 20: 22 |" --> 22 = decimal 34 = ASCII double quote
18th Sep 2018, 12:52 AM
Kirk Schafer
Kirk Schafer - avatar
0
Which errors or incorrect behaviours did you see? Also, what is the location of your "N-Something.html" files (relative to the main page)?
18th Sep 2018, 12:30 AM
Emerson Prado
Emerson Prado - avatar
0
They are all in the same folder, and they look and act like hyperlinks, but the result is: "The page cannot be found - it may be deleted or moved."
18th Sep 2018, 12:33 AM
Yusurf-Doctor Ahmed
Yusurf-Doctor Ahmed - avatar
0
Yusurf-Doctor Ahmed Double check the file names. Sometimes we get caught by a letter with different case, a space, etc. Also, compare the browser address bar contents before and after you click on the links, just to make sure it's going to the right files.
18th Sep 2018, 12:42 AM
Emerson Prado
Emerson Prado - avatar
0
It all adds up, all the file names are spelt correctly even counting the cases. The only difference is when I look at the destination, the filename is in speechmarks and I think this is the problem. Even when I don't use speechmarks in the code, my browsers still use them in the destination's name in the hyperlinks.
18th Sep 2018, 12:46 AM
Yusurf-Doctor Ahmed
Yusurf-Doctor Ahmed - avatar
0
Kirk Schafer What a sight! You can be a programmer! :P
18th Sep 2018, 2:23 AM
Emerson Prado
Emerson Prado - avatar