homepage Welcome to WebmasterWorld Guest from 23.20.61.85
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
can't save html or refresh properly
new and need help
cindy

5+ Year Member



 
Msg#: 3775275 posted 7:45 pm on Oct 28, 2008 (gmt 0)

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

5+ Year Member



 
Msg#: 3775275 posted 8:21 pm on Oct 28, 2008 (gmt 0)

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

5+ Year Member



 
Msg#: 3775275 posted 8:58 pm on Oct 28, 2008 (gmt 0)

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

WebmasterWorld Senior Member piatkow us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 3775275 posted 2:28 pm on Oct 29, 2008 (gmt 0)

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

lavazza

5+ Year Member



 
Msg#: 3775275 posted 5:51 pm on Oct 29, 2008 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved