html links not working, links giving me errors |
html links not working, links giving me errors |
williecicci |
Aug 30 2014, 01:46 PM
Post
#1
|
Group: Members Posts: 3 Joined: 30-August 14 Member No.: 21,480 |
Hey everyone
Im new to html and am doing a class project. So I had to make a table of my favorite movies, sites, etc. which I have already done, but now I need to implement links so that if my professor clicks on my favorite movie i.e. godfather, then it should take him to imdb's godfather page. Im doing this on textedit on my mac and using safari. My site runs fine but when I click on the link it says "safari can't find the file. not file exists at user/williecicci/files/htmlproj/"http://imdb.com"". None of my links are working. I have a link to Facebook in my table for "favorite sites" and it gets the same error. I don't know why it's going through those directories to open the sites. anyone know of a solution? Here is a snippet of my code <a href=“http://www.facebook.com/” target=“_blank”> Facebook </a> thanks |
Christian J |
Aug 30 2014, 02:07 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
Here is a snippet of my code <a href=“http://www.facebook.com/” target=“_blank”> Facebook </a> Looks correct except for the curly quote characters. Don't use those, use ordinary double quotes instead: CODE <a href="http://www.facebook.com/" target="_blank"> Facebook </a> |
williecicci |
Aug 30 2014, 02:13 PM
Post
#3
|
Group: Members Posts: 3 Joined: 30-August 14 Member No.: 21,480 |
Here is a snippet of my code <a href=“http://www.facebook.com/” target=“_blank”> Facebook </a> Looks correct except for the curly quote characters. Don't use those, use ordinary double quotes instead: CODE <a href="http://www.facebook.com/" target="_blank"> Facebook </a> wow this is sad. It turned out to be the quotes. How do I get "regular" quotes and not curly ones?? I didn't know there were 2 kinds. Am i missing something here? |
williecicci |
Aug 30 2014, 02:16 PM
Post
#4
|
Group: Members Posts: 3 Joined: 30-August 14 Member No.: 21,480 |
Here is a snippet of my code <a href=“http://www.facebook.com/” target=“_blank”> Facebook </a> Looks correct except for the curly quote characters. Don't use those, use ordinary double quotes instead: CODE <a href="http://www.facebook.com/" target="_blank"> Facebook </a> wow this is sad. It turned out to be the quotes. How do I get "regular" quotes and not curly ones?? I didn't know there were 2 kinds. Am i missing something here? just saw that shift control " gets different style quotes on the mac. Don't see what the point of this is but I guess we learn something new everyday... |
pandy |
Aug 30 2014, 04:35 PM
Post
#5
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
The best is to use a text editor, not a word processor. I don't know much about the Apple world, but I know the editor to get is TextWrangler (free) or its big brother BBEdit (not free).
http://www.barebones.com/products/textwrangler/ |
in2tech |
Aug 30 2014, 06:44 PM
Post
#6
|
Group: Members Posts: 3 Joined: 30-August 14 Member No.: 21,481 |
I just started learning html and css and I use a MacBook Air and use the free version of Komodo Edit for Mac OSX, to program html, css, and some very light php. It's an excellent programming tool and has a built in browser for a quick look at changes in your code. Can't go wrong as Komodo Edit is free. There is also a pro version I think.
This post has been edited by in2tech: Aug 30 2014, 06:47 PM |
Frederiek |
Aug 31 2014, 03:34 AM
Post
#7
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
In any case, don't use TextEdit for this. We've had discussions about that before. Pandy is right: get TextWrangler.
I couldn't make head or tail of what Komodo Edit actually is and does. Maybe it helps when you're not familiar with writing HTML/CSS coding, but in that case, BBEdit has all you need. It's license fee is acceptable and version updates are usually for free. |
Lo-Fi Version | Time is now: 23rd April 2024 - 11:59 AM |