Hey guys, first blog. I’m having some trouble getting my link to work that is pasted on my website. I copied what the textbook said, but I get an error message when i click on it. Anyone have any suggestions as to what i may have done wrong?
Hey guys, first blog. I’m having some trouble getting my link to work that is pasted on my website. I copied what the textbook said, but I get an error message when i click on it. Anyone have any suggestions as to what i may have done wrong?
Hey adam, i dont know exactly what you did wrong but this worked for me:
for linking a website to a text use
text
for linking a picture its almost the same thing
Make sure that everything is spelled correctly…
hope this is the solution you were looking for! good luck!
Comment by rparedes16 — September 7, 2009 @ Monday, September 7, 2009 1:13 am
sorry i made a mistake in my last post… it didnt post the codes
for linking a website to a text use
text)
for linking a picture its almost the same thing
img src = “image.jpg”)
Make sure that everything is spelled correctly…
hope this is the solution you were looking for! good luck!
Comment by rparedes16 — September 7, 2009 @ Monday, September 7, 2009 1:19 am
To link the website on the page, i saved the website into the folder i had my html file in then linked it using href.
Comment by jip — September 7, 2009 @ Monday, September 7, 2009 11:55 am
I guess it would be easier to point out what’s not working if you gave us the html you wrote.
This works for me:
My favorite site
Hope that helps.
Comment by kjansson — September 7, 2009 @ Monday, September 7, 2009 1:48 pm
Annoying. It turned the code I wrote into a link… That’s not helpful!
Comment by kjansson — September 7, 2009 @ Monday, September 7, 2009 1:50 pm
ok, let’s see if this works better.
i removed the first to make the code show up:
with text:
a href=”http://www.example.com”>My site</a
Comment by kjansson — September 7, 2009 @ Monday, September 7, 2009 2:26 pm
I did the same as kjansson did, and it worked perfectly.
Also one more tip.
some of you may already know but after you enter the code for image, like..
” you can adjust the size of the image by adding
object width=”300 (any size you wish)” or object height=”300″
Comment by kanakom — September 7, 2009 @ Monday, September 7, 2009 2:41 pm
If you want to display code on the blog you need to wrap the code in a <code> tag.
Comment by joe — September 7, 2009 @ Monday, September 7, 2009 4:35 pm
wow, sweet gettin a lot of feedback, thank you guys. will let u know in class what the problem was and how i fixed it – i can’t view my code on my PC cuz it’s in TextEdit
Comment by adam — September 7, 2009 @ Monday, September 7, 2009 4:52 pm
so this is what my code says when i open in with notepad:
Comment by adam — September 7, 2009 @ Monday, September 7, 2009 5:00 pm
Hey, sorry for posting here. I don’t see the option to create a new thread.
I also have a question/problem. When I view my HTML file on the PC I worked on, it’s all fine. But when I view the same HTML file on another PC, I can’t view the img.
Do I always need to have the HTML and JPG file in the same location? Or is there a way around it?
Comment by sam_su — September 7, 2009 @ Monday, September 7, 2009 5:03 pm
SAM_SU – not sure whether or not they can be separate, but i have my JPG file and HTML file in the same folder and it works on whichever computer i try it on. not sure if this helps, but its just what i know so far
Comment by adam — September 7, 2009 @ Monday, September 7, 2009 5:06 pm
OK I GOT THE LINK ALL FIGURED OUT THANK YOU ALL FOR THE HELP – I FEEL KINDA SILLY; I FORGOT TO PUT THE http://
=/ go figure, im new to this
Comment by adam — September 7, 2009 @ Monday, September 7, 2009 5:23 pm