Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Registered
 
BlueSideUp's Avatar
 
Join Date: Dec 2004
Location: Irvine, CA
Posts: 1,167
Send a message via AIM to BlueSideUp
How can I test out my HTML without uploading a page?

It's been a long time since I have written any HTML and I'd like to test out my pages before uploading. I seem to remember years ago when taking a class on HTML that I could test out a page using Internet Explorer but I can't remember how.

Is there a way to test out a page using Firefox or IE7? I tried searching on google and on the microsoft site.

__________________
-Jess
Old 12-18-2007, 09:44 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,360
Just open the file in your browser of choice. Of course, fi there is anything server-generated or dynamic (PHP scripting, server side includes, etc) it won't work...
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
Old 12-18-2007, 10:01 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Registered
 
BlueSideUp's Avatar
 
Join Date: Dec 2004
Location: Irvine, CA
Posts: 1,167
Send a message via AIM to BlueSideUp
Thank you for the reply...When I open the htm file in firefox or IE I still see it as I typed in the code with all of the code like this....

HTML

HEAD

BODY BACKGROUND="Jeep Background.jpg"

If I put the <> on my text above it causes problems with my text on the forum but they are there on my original coding.

I know I won't see the hosted items but shouldn't I see things like frames and background color?
__________________
-Jess

Last edited by BlueSideUp; 12-18-2007 at 10:19 AM..
Old 12-18-2007, 10:06 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,360
Yup.

Any chance you are saving it with a .txt extension instead of .htm or .html ? All are plain text files, but the browser will render the HTML in a .html file (or .htm) but in a .txt file it will just display the contents

Also helps to be showing file extensions in windows (there is a setting under "tools" then "folder options" when you double click on "my computer")
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
Old 12-18-2007, 10:25 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
The Unsettler
 
stomachmonkey's Avatar
 
Join Date: Dec 2002
Location: Lantanna TX
Posts: 23,885
Send a message via AIM to stomachmonkey
If you are on a Mac then Apache, SQL and perl are installed already.

For plain old HTML just drop the pages into your Site folder.

url will be localhost://sitename-or-folder/index.html

If you need PHP and SQL they can be enabled but you better be comfortable with a command line

Easiest way to get the full suite up and running in 5 minutes is MAMP, (Mac, Apache, MySql, Perl)
http://www.mamp.info/en/index.php

For a PC find a WAMP installation. (Windows, Apache, MySql, Perl)
__________________
"I want my two dollars"
"Goodbye and thanks for the fish"
"Proud Member and Supporter of the YWL"
"Brandon Won"
Old 12-18-2007, 10:32 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
Registered
 
robs944's Avatar
 
Join Date: Dec 2000
Location: Aiken, SC
Posts: 343
Garage
You need HTML tags <> in your code or all you will see is the text written.
Also you should remove the space in the jpg file (jeepbackground.jpg) or
in your code you need to put the URL encoder %20 were the space is.

< HTML >
< HEAD >
< body background="file:///c:/Jeep%20Background.jpg">

(there is a space between the tags and text above, so it could post and be seen)

Once you have it saved as a htm or html extension as mentioned it should
come up ok.
__________________
Rob
87 944 * 89 951
"When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car."
Old 12-18-2007, 10:42 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
Registered
 
slodave's Avatar
 
Join Date: Sep 2005
Location: Encino Man
Posts: 22,394
Garage
Send a message via Skype™ to slodave
Quote:
Originally Posted by robs944 View Post
You need HTML tags <> in your code or all you will see is the text written.
Also you should remove the space in the jpg file (jeepbackground.jpg) or
in your code you need to put the URL encoder %20 were the space is.

< HTML >
< HEAD >
< body background="file:///c:/Jeep%20Background.jpg">

(there is a space between the tags and text above, so it could post and be seen)

Once you have it saved as a htm or html extension as mentioned it should
come up ok.
He took them out to post the thread .
__________________
Make sure to check out my balls in the Pelican Parts Catalog! 917 inspired shift knobs.

'84 Targa - Arena Red - AX #104
'07 Toyota Camry Hybrid - Yes, I'm that guy...
'01 Toyota Corolla - Urban Camouflage - SOLD
Old 12-18-2007, 11:11 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Registered
 
robs944's Avatar
 
Join Date: Dec 2000
Location: Aiken, SC
Posts: 343
Garage
oops.........helps to read the entire post
__________________
Rob
87 944 * 89 951
"When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car."

Last edited by robs944; 12-18-2007 at 11:19 AM..
Old 12-18-2007, 11:16 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
Registered
 
BlueSideUp's Avatar
 
Join Date: Dec 2004
Location: Irvine, CA
Posts: 1,167
Send a message via AIM to BlueSideUp
Yeah it's weird...if I save someone else's page and look at it offline and then open it the page shows up normally. If I open one of my pages it only shows up as text.

I'll try screwing around with it a little more and then if that doesn't work I'll try a different machine.

The purpose is to allow me to work on my webpages when I'm commuting back and forth to work. Obviously no one is offering internet access on airplanes yet so I can't upload my html files.

BTW- Using the Thread Tools show Printable version feature is great for downloading threads for later reading.
__________________
-Jess
Old 12-18-2007, 02:07 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #9 (permalink)
The Unsettler
 
stomachmonkey's Avatar
 
Join Date: Dec 2002
Location: Lantanna TX
Posts: 23,885
Send a message via AIM to stomachmonkey
Quote:
Originally Posted by BlueSideUp View Post
Yeah it's weird...if I save someone else's page and look at it offline and then open it the page shows up normally. If I open one of my pages it only shows up as text.

I'll try screwing around with it a little more and then if that doesn't work I'll try a different machine.

The purpose is to allow me to work on my webpages when I'm commuting back and forth to work. Obviously no one is offering internet access on airplanes yet so I can't upload my html files.

BTW- Using the Thread Tools show Printable version feature is great for downloading threads for later reading.
I work that way so it's best to have a full server environment on your laptop.

MAMP for the Mac,

WAMP for Windows,

LAMP if you want to go Linux.

Look into it.
__________________
"I want my two dollars"
"Goodbye and thanks for the fish"
"Proud Member and Supporter of the YWL"
"Brandon Won"
Old 12-18-2007, 02:19 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #10 (permalink)
User
 
ikarcuaso's Avatar
 
Join Date: Feb 2006
Location: Oakland
Posts: 940
Use an IDE or HTML editor with source and browse (or preview) modes, like Homesite. There are freeware and shareware programs available, as well. Here's a couple:

http://www.coffeecup.com/free-editor/

http://www.pagebreeze.com/
__________________
82 Targa
Old 12-18-2007, 08:14 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)
Canadian Member
 
911Rob's Avatar
 
Join Date: Nov 2003
Location: Shuswap Lake, BC
Posts: 4,483
Garage
I use Dreamweaver; works easy. ?
__________________
Rob McKibbon
Arena Red 96 993 TT LINK
Contemplate YOUR Success!
Old 12-18-2007, 09:00 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #12 (permalink)
Registered
 
BlueSideUp's Avatar
 
Join Date: Dec 2004
Location: Irvine, CA
Posts: 1,167
Send a message via AIM to BlueSideUp
Thanks for the help. I think I was using Dreamweaver a while back but it was placing banner ads on my site that I didn't want. Of course I could be wrong since it was quite some time ago.

I'll report back once I'm successful.

__________________
-Jess
Old 12-19-2007, 04:12 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #13 (permalink)
Reply


 


All times are GMT -8. The time now is 06:05 AM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.