Problem with links |
Problem with links |
cis-java |
Mar 7 2018, 02:18 AM
Post
#1
|
Group: Members Posts: 4 Joined: 7-March 18 Member No.: 26,605 |
Hello everyone,
I'm new to this forum. I have an exercise to do and I'm having an issue with all of my links. I can't add the link of the page because it's on the school server but I'm adding screenshots. In this example, the image is not showing up even though it is in the right folder and I am calling it properly. I tried both absolute and relative and it's not showing. Some weird symbols appear "src=“images/garbage.jpgâ€" when I click on View Source. What am I doing wrong? Attached thumbnail(s) |
pandy |
Mar 7 2018, 10:07 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
You are using weird characters.
Those characters should be plain quotations marks. Like so. CODE src="images/garbage.jpg" The characters you see are supposed to be curly quotes, smart quotes. You may have used Word or similar to write the HTML and it has inserted those fancy quotes. If you open a document with such characters in a plain text editor that doesn't support unicode you might see those garbage characters instead, though some might support the curlies too. You may have done something like this and then saved the document. Curly quotes are never allowed in HTML, not even in a unicode document. Even if the text can use unicode characters the HTML part is always strictly restricted to ANSI characters. That basically goes for all computer languages, not only HTML. What you need to do is to open the document in a plain text editor and replace those two garbage strings with straight quotes throughout the document. You can use Find & Replace. Note the garbage strings are different for opening and closing quotes, so you must replace them one by one. You may have other funky characters in the document too. If you can spot them it's good. Otherwise keep this in mind if something else screws up. Don't use Word and the like to write HTML or any kind of code. |
cis-java |
Mar 7 2018, 12:41 PM
Post
#3
|
Group: Members Posts: 4 Joined: 7-March 18 Member No.: 26,605 |
Thank you Pandy!! I used BBedit to type my code. I downloaded Bracket, opened it and I could see the curly quotes. I changed them and now it's working. Thanks so much for your help I'm not sure why it happened. I'll probably use Bracket from now on. |
pandy |
Mar 7 2018, 07:35 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
I'm not a Mac person, so I've never used BBedit, but we hear all the time it's the very best. Maybe there is some setting that's wrong?
|
cis-java |
Mar 7 2018, 07:38 PM
Post
#5
|
Group: Members Posts: 4 Joined: 7-March 18 Member No.: 26,605 |
I'm not a Mac person, so I've never used BBedit, but we hear all the time it's the very best. Maybe there is some setting that's wrong? I used BBedit before and I loved it! I downloaded the last version and maybe indeed I need to change some settings. That being said, Bracket is a great alternative |
pandy |
Mar 7 2018, 10:56 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
Lookie what I found! Have an option called "Use typographer's quotes"? Read the whole thing. Sounds like you can set that preference for each file type.
https://groups.google.com/forum/#!topic...dit/DGTeW1p2EBs |
cis-java |
Mar 8 2018, 04:01 PM
Post
#7
|
Group: Members Posts: 4 Joined: 7-March 18 Member No.: 26,605 |
Lookie what I found! Have an option called "Use typographer's quotes"? Read the whole thing. Sounds like you can set that preference for each file type. https://groups.google.com/forum/#!topic...dit/DGTeW1p2EBs Awesome! Thank you so much! |
pandy |
Mar 8 2018, 05:42 PM
Post
#8
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
Did it work? Thank google, not me.
Hm. Not much one wants to think google for these days. |
Lo-Fi Version | Time is now: 26th April 2024 - 08:57 AM |