Welcome to WebmasterWorld Guest from 54.160.163.163

Forum Moderators: incrediBILL

Message Too Old, No Replies

can't save html or refresh properly

new and need help

     

cindy

7:45 pm on Oct 28, 2008 (gmt 0)

5+ Year Member



Hello WebmasterWorld... I am new at this and I need some help, please.

I have begun creating an html document. I have used Notepad and saved it as bistro.html. As I add tags and make changes to the document I save it. I have opened firefox and open the document through the browser. When I make changes to the document, I refresh the browser, but see no changes. Have I saved or refreshed this incorrectly? I have checked all the tags and they all seem to be correct, to me anyway. I have copied and pasted below. Any idea what I am doing wrong? Thank You!

<html>

<head>

<title>This Business Name</title>

</head>

<body>
<h1>This Business Name</h1>

<h2>Type of Business</h2>
<p>text text text text text text text text text text text text text text text</p>

<h2>Another Side of Business</h2>
<p>Text text text text text text text text text text <em>text text text text text.
</em> Text text text text text text text text text text text text text text text.<p/>

<h2>Location and Hours</h2>
<p>City, State;
Monday through Thursday 11am to 9pm, friday and Saturday, 11am to
midnight<p/>
</body>

<html/>

[edited by: tedster at 8:58 pm (utc) on Oct. 28, 2008]
[edit reason] make business information anonymous [/edit]

lavazza

8:21 pm on Oct 28, 2008 (gmt 0)

5+ Year Member



Some of your closing tags are malformed
e.g
<p/> No
</p> Yes

<html/> No
</html> Yes

However, such malformed tags WON'T prevent Firefox from displaying the file...

Hmmmm...

I wonder if you're editing one file and viewing another file, perhaps both having the same file name (e.g. bistro.html) but located in different directories/folders ? ? ? ?

Maybe you know this... To refresh (on a PC) in Firefox (or IE or Opera):
hit the F5 key
or CTRL + R (simultaneously)

cindy

8:58 pm on Oct 28, 2008 (gmt 0)

5+ Year Member



Yes! Thank you... I was editing one file and viewing a different file with the same name in a different folder. I found it now. Thanks so much for your help.

piatkow

2:28 pm on Oct 29, 2008 (gmt 0)

WebmasterWorld Senior Member piatkow is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



Another thing to watch out for is a text editor adding a .txt extension so the file saves as example.html.txt

lavazza

5:51 pm on Oct 29, 2008 (gmt 0)

5+ Year Member



I can recommend SciTE (the Scintilla Text Editor) for the following reasons

  1. it doesn't append .txt (or any other spurious gunk) to your files
  2. when you hit the F5 key (on a PC), it automagically loads the file (saved as .html) into your default browser
  3. a whole bunch of other reasons
 

Featured Threads

Hot Threads This Week

Hot Threads This Month