English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am taking a course in web page design. I am stuck with my homework. I followed the instructions, created the page in notepad put in all the code that was required saved it with the extention html. However when I put in text and press the refresh button on my web page text file on the C drive it shows up totally blank. What is wrong? Thanks so much

2006-10-19 03:50:24 · 10 answers · asked by teplitz39 2 in Computers & Internet Programming & Design

10 answers

I can't tell you what's wrong without seeing the file. Most likely, you have a mismatched "<" or ">" or "/". Try running your file through an html checker, like http://validator.w3.org/

If you put the text below into a file called test.html and open it with your web browser, it should work.



Test

Test text.

2006-10-19 03:55:08 · answer #1 · answered by Jerry 4 · 0 0

If the page is blank, it can't find the file. It doesn't sound like a problem with the file extension or encoding, because if that was the case you'd still see the html code in your browser. All I can suggest is making sure you're opening the right file, and that the file isn't on a removable drive or volatile network resource. To check if the browser is reading the file correctly, you should see it's full path in the address bar.

2006-10-19 03:55:59 · answer #2 · answered by Tim G 2 · 0 0

Go to http://www.htmlvalidator.com/lite/ and use the html tool that it gives to check your code. You will have to upload your code to a webserver of some kind but a lot of times you can use a free webhost like geocities or something for testing purposes.

The problem that I think might be happening here, just based on the level of intellect you displayed in your message (high), is that you may have done something that everybody does at least a thousand times in their life...either missed one little line of code that messes up the rest of the page. Or you're using a code that requires server technology and you may not have that on your local system. The last one kind of depends on what level of coding you're doing. PHP vs XHTML and so forth.

Here are a couple of things that can cause issues:

1. If you're using frames - Frames require a call to another page. They also require dimensions. If you mess up on the spelling of your dimensional calls, or if you don't call your other pages, that might be where you're getting your error.

2. If you're using tables - The biggest mistake that most people make is a closing or tag in a table configuration. Make sure you check, double check and then trouble shoot your code before you pull it up in your browser.

If you would like for me to take a look at your code, just to double check it, send me a message with the code in it and I can take a quick look and hopefully help you out.

Good luck and happy coding.

2006-10-19 04:25:23 · answer #3 · answered by Evolver_dad 2 · 0 0

You might've accidentaly saved the file as 'webpage.html.txt'. Go to the file and make sure that the icon is a Internet Explorer - E icon. If it looks like a text icon, then go to Start, Control Panel, Tools, Folder Options, View Tab, and uncheck 'Hide extentions for know file types'. Then go to the file again, and rename the file and delete '.txt'. Now doubleclick on the file and it should open in Internet Explorer.

2006-10-19 04:21:50 · answer #4 · answered by Gimosuby 2 · 0 0

After you have completed all your code give the document a name such as my page.html, and then save it somewhere as a text file. You will then be able to retrieve it whenever you want. Suggest you use Word instead of Notepad.

I don't know what you mean by "put in text" nor why you are using refresh.

2006-10-19 04:01:41 · answer #5 · answered by ironduke8159 7 · 0 0

It sounds like there is an error in your HTML. Make sure that the text you want to display and the associated tags are in the section. The basic layout should be as follows:



put title here


put all your text and associated tags here



Rawlyn.

2006-10-19 03:55:43 · answer #6 · answered by Anonymous · 0 0

Hello, You must tell the browser that your using html by tags. That seems to be the problem I think your having. You need to have at the top of your page and the at the bottem of your page. tells the browser that everything in between it and the tags are HTML and that it needs to be transalated. Make sure you have those tags.

2006-10-19 03:55:09 · answer #7 · answered by jack 6 · 0 0

See, first of all u dint give the code then how can i say wats wrong. Any way i ll guess.
you might not closed any of the tags; No body tag.
Always u should save it by saying "sample.html"(Note the double quotes). Hope u correct all these.

2006-10-19 06:16:44 · answer #8 · answered by Sudha P 2 · 0 0

One thing to also check,
is there code to change the color of the print?
I saw a similar problem once where the code
said use white print on a white background...

it was there, you just couldn't see it.

2006-10-19 04:00:55 · answer #9 · answered by Anonymous · 0 0

i need more information like what your code says. send me a message.

2006-10-19 03:53:57 · answer #10 · answered by rchilly2000 5 · 0 1

fedest.com, questions and answers