Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Web Development & Graphic Design Problem Solving for Graphic Design, PHP, ASP, Perl, MySQL, SQL, XML, HTML issues

Reply
 
Topic Tools
  #1  
Old September 7th, 2007, 03:12 PM
masternige masternige is offline
Senior Member
 
Join Date: Oct 2005
O/S: Linux
Location: UK
Posts: 298
can't link to my home page learning "html"

Hi folks i am doing a course on "html" all of the links i have created between my pages work but for some reason my links to my home page do not work.I have shown the code below.

<html>
<head>
<title>
susehelptopics.html
</title>
</head>
<body>
<a href=http://www.novell.com><img src="suselogo.jpg"width="155" height="85 align="left"><font size="6"<b><i> welcome to suse help topics for beginners the nige </i></b></font><img src="suselogo1.jpg"width="155" height="85 align="right"></a>
<p>
<P>
<br>
<br>
<b><font size="6"><font color="green"> MENU </b></font>
<br>
<a href="index.htm">HOME</a>
<br>
<a href="nfstutorial.html">NFS how to</a>
<br>
Set a static ip
<br>
Here my song of the day
<embed src="hark.mp3" autostart="true"></embed>
</body>
</html>



Now my home page is called index.htm and all of my pages are in the same folder.Is there any obvious reason why this wont work.Any help would be appreciated.Cheers Nige.
Reply With Quote
  #2  
Old September 7th, 2007, 07:43 PM
rockboy's Avatar
rockboy rockboy is offline
Cyber Tech Help Moderator
 
Join Date: Aug 2002
O/S: Windows 7 64-bit
Location: California, USA
Posts: 3,087
The only thing I can see is that the extension might be html instead of htm.

BTW, you have two font tags and only one end tag here...
Code:
<b><font size="6"><font color="green"> MENU </b></font>
That can mess up things that follow the font tags. You should also check the nesting order of your b tags.
Reply With Quote
  #3  
Old September 7th, 2007, 08:18 PM
masternige masternige is offline
Senior Member
 
Join Date: Oct 2005
O/S: Linux
Location: UK
Posts: 298
Hi rockboy,thanks for your reply i was wandering if i click on to my home page the full address is
C:\Documents and Settings\master1\Desktop\tele2-a6\index.htm.html

is it not supposed to end simply
C:\Documents and Settings\master1\Desktop\tele2-a6\index.htm

why does it have 2 extensions ".htm.html"
Thanks Nige.
Reply With Quote
  #4  
Old September 7th, 2007, 08:30 PM
rockboy's Avatar
rockboy rockboy is offline
Cyber Tech Help Moderator
 
Join Date: Aug 2002
O/S: Windows 7 64-bit
Location: California, USA
Posts: 3,087
You need to rename the index.htm.html file to have only one extension. It should be either index.htm or index.html. The link to that page should match the one you choose.
Reply With Quote
  #5  
Old September 7th, 2007, 08:36 PM
rockboy's Avatar
rockboy rockboy is offline
Cyber Tech Help Moderator
 
Join Date: Aug 2002
O/S: Windows 7 64-bit
Location: California, USA
Posts: 3,087
If you're using Notepad and add the html extension to a file named index.htm you get index.htm.html. You need to rename it to include only the extension you choose not both.
Reply With Quote
  #6  
Old September 7th, 2007, 08:58 PM
masternige masternige is offline
Senior Member
 
Join Date: Oct 2005
O/S: Linux
Location: UK
Posts: 298
Yes it would seem the extension is the problem,but i am only naming the file i save in notepad .htm and when i click on it go in to rename it does only have the extension.htm but when i open it in explorer it has added the .html extension giving me ".htm.html" so now i was wandering if there is some setting maybe in ie7 that is causing this to happen.
Regards Nige.
ps thanks for your help as my deadline is midnight tomoz and im sweating. lol
Reply With Quote
  #7  
Old September 7th, 2007, 09:31 PM
rockboy's Avatar
rockboy rockboy is offline
Cyber Tech Help Moderator
 
Join Date: Aug 2002
O/S: Windows 7 64-bit
Location: California, USA
Posts: 3,087
If you're renaming the file in Notepad make sure you remove the existing file extension when you "save as" with a new extension. If you save index.htm with an .html extension you get index.htm.html. That changes the file extension to .html and it doesn't match your link file name.

If you're renaming the file in Windows Exporer (My Documents) make sure you have it set to show file extensions. If it doesn't you're renaming the file name but not it's extension. If you don't see the actual file extensions as a part of the file name you can change that in Tools/Folder Options. Uncheck "hide file types for known extensions."
Reply With Quote
  #8  
Old September 7th, 2007, 10:29 PM
masternige masternige is offline
Senior Member
 
Join Date: Oct 2005
O/S: Linux
Location: UK
Posts: 298
Hi rockboy,
Just wanted to say a big thankyou it was down to a hidden file extension like you said.I am up and running now.
Thanks again Nige.
Reply With Quote
  #9  
Old September 7th, 2007, 11:15 PM
rockboy's Avatar
rockboy rockboy is offline
Cyber Tech Help Moderator
 
Join Date: Aug 2002
O/S: Windows 7 64-bit
Location: California, USA
Posts: 3,087
Good news.
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Topic Topic Starter Forum Replies Last Post
How to add paypal "add to cart" button to my new site built by "Web Page Maker". nsazari Web Development & Graphic Design 1 January 19th, 2011 04:53 AM
"60 secs shutdown" and "secure.html" problem kristal Malware Removal 30 February 2nd, 2007 05:34 PM
HTML Code for "go to top of page" 47th Ronin Web Development & Graphic Design 3 August 30th, 2005 05:32 PM
IE6 reverts to MSN site as its home page despite "use blank" being selected. jaygee Internet / Browsers 0 September 23rd, 2004 07:36 PM
Help Browser Hijacked "res://SDKEH.DLL/index.html#96676" is now my homepage!!! butchie_t Malware Removal 3 June 25th, 2004 03:55 AM


All times are GMT +1. The time now is 05:22 PM.