The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Problem with links
cis-java
post 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? huh.gif



Attached thumbnail(s)
Attached Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 7 2018, 10:07 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



You are using weird characters. happy.gif

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. smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cis-java
post 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 smile.gif

I'm not sure why it happened. I'll probably use Bracket from now on.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 7 2018, 07:35 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cis-java
post Mar 7 2018, 07:38 PM
Post #5





Group: Members
Posts: 4
Joined: 7-March 18
Member No.: 26,605



QUOTE(pandy @ Mar 7 2018, 07:35 PM) *

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 smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 7 2018, 10:56 PM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
cis-java
post Mar 8 2018, 04:01 PM
Post #7





Group: Members
Posts: 4
Joined: 7-March 18
Member No.: 26,605



QUOTE(pandy @ Mar 7 2018, 10:56 PM) *

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! smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 8 2018, 05:42 PM
Post #8


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Did it work? Thank google, not me. happy.gif

Hm. Not much one wants to think google for these days. wacko.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 12:22 AM