1.

Solve : Publishing a web page?

Answer»

Okay, thanks for that KPac.

The information about the web testing servers is great - I'll try it before publishing web pages.

Many thanks. QUOTE from: kpac on July 14, 2009, 08:37:22 AM

XAMPP and WAMP are testing servers. If you create Webpages, it's good to test them out before you upload them and everyone sees them. These programs will simulate a Web server on your own PC.
But, installing XAMPP and WAMP or some other web server emulator on your PC isn't the only way to preview your web pages.  Just create your page(s), open your browser, select File | Open File from the main menu, locate the file, and open it.  In the web address box of your browser, you'll something like: file:///C:/.../index.html.  Thanks Soybean.  I have tested my webpages by using Web Page Preview in Publisher.  It seems to act like it is on the web and all things are funcioning.  However, I don't know if it will work on a web hosting server.  So may try some of the software that KPac has suggested.

Thanks again.Well, again, you can also preview your pages in your browser.  Your browser will recognize any file with a .htm or .html file extension.  Try it with Notepad.  Just create a simple page.  It could be:



My test page

This is just a test page.



Just copy the code above into a Notepad window, save it as testpage.html, and then open it with your browser.  When saving file, MAKE sure it doesn't get saved as testpage.txt or testpage.txt.html.  In other words, when you save the file in Notepad, you need to type the full name, including the file extenstion; otherwise, Notepad will save it as testpage.txt.Hi Soybean

I tried your method and it worked perfectly, thanks so much.  I've noticed that my pictures come up with a red X in a box instead of showing the pictures.  I think this is standard until it is really published on a website, do you think so???

Anyway many thanks for all your help.

Cheers Quote from: Skydove on July 14, 2009, 06:41:29 PM
I've noticed that my pictures come up with a red x in a box instead of showing the pictures.  I think this is standard until it is really published on a website, do you think so???
No, your pictures should appear even when viewing pages in this manner, i.e. from your hard drive. LET's try another test.  To make it simple, PUT your image in the same folder as your html file.  Then, add a line to the test page I previously posted, like this:




My test page

This is just a test page.
<img src="xxxxx.gif">



Where you see the xxxxx, put the name of your image. If the file type for your image is .jpg or .png, rather than .gif, then change that also.  Be sure to have quotation marks around the image name. Quote from: soybean on July 14, 2009, 07:16:08 PM
No, your pictures should appear even when viewing pages in this manner, i.e. from your hard drive. Let's try another test.  To make it simple, put your image in the same folder as your html file.  Then, add a line to the test page I previously posted, like this:


<html>
<head>
<title>My test page</title>
</head>
<body>This is just a test page.
<img src="xxxxx.gif">
</body>
</html>

Where you see the xxxxx, put the name of your image. If the file type for your image is .jpg or .png, rather than .gif, then change that also.  Be sure to have quotation marks around the image name.

Hi Soybean

I tried the above and it worked.  I also re-saved my pictures in Publisher and then opened the Publisher file on the internet and they both work.  Thanks so much as this has saved me a lot of time.

Cheers


Discussion

No Comment Found